CVE-2026-99517
Last modified
CVE-2026-99517 is a vulnerability of currently unknown severity. In the Linux kernel, the following vulnerability has been resolved: nvmet: fix use-after-free of the old registrant in nvmet_pr_preempt() nvmet_pr_preempt() handles a preempt sent by the reservation holder by changing the reservation type with nvmet_pr_update_reg_attr(), unless the reservation is of an All Registrants type. For the holder that helper does not modify the registrant in place: it puts a copy on the registrant list, points pr->holder to the copy and passes the old registrant to kfree_rcu(). If the reservation type changed, nvmet_pr_preempt() then hands ®->hostid of that old registrant to nvmet_pr_resv_released().
Description
In the Linux kernel, the following vulnerability has been resolved: nvmet: fix use-after-free of the old registrant in nvmet_pr_preempt() nvmet_pr_preempt() handles a preempt sent by the reservation holder by changing the reservation type with nvmet_pr_update_reg_attr(), unless the reservation is of an All Registrants type. For the holder that helper does not modify the registrant in place: it puts a copy on the registrant list, points pr->holder to the copy and passes the old registrant to kfree_rcu(). If the reservation type changed, nvmet_pr_preempt() then hands ®->hostid of that old registrant to nvmet_pr_resv_released(). Unless the reservation released notification is masked, that function takes subsys->lock and compares the host id against every controller of the subsystem. The caller only holds pr->pr_sem and is not in an RCU read-side critical section, so nothing keeps the old registrant alive while it is read. The result is a read of 16 freed bytes that decides which controllers get the notification. Found by code inspection. kfree_rcu() defers the free, so it usually happens after the read; when the pending free is forced to run before the read, KASAN reports the host id as freed memory. Pass the host id of the controller that sent the command instead. The registrant was looked up by that host id, and the controller outlives the request.
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= 5a47c2080a7316f184107464e4f76737c0c05186, < 506c066da8fb2cef32210ca84439c7bb9855504f; >= 5a47c2080a7316f184107464e4f76737c0c05186, < fd7843365a9e73f6ee32c30487c21cb62b84c0a2; >= 5a47c2080a7316f184107464e4f76737c0c05186, < f316aa7f018840523939183425394931b373e4d7 |
| Linux | Linux | 6.13 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-99517?
How severe is CVE-2026-99517?
How do I fix CVE-2026-99517?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-99511In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99512In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99513In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-99514In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99515In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99516In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2026-99518In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99519In the Linux kernel, the following vulnerability has been re…
- CVE-2026-9952Use after free in WebAudio in Google Chrome prior to 148.0.7…8.8
- CVE-2026-99520In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99521In the Linux kernel, the following vulnerability has been re…
- CVE-2026-99522In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-99517?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
