CVE-2026-99596
nvme: wait for SRCU readers before splicing the namespace list
- CVSS
- —
- EPSS
- 0.20% (p10)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-12-01
- Product
- Linux Linux
Description
In the Linux kernel, the following vulnerability has been resolved: nvme: wait for SRCU readers before splicing the namespace list Readers walk ctrl->namespaces under ctrl->srcu, and some of them sleep there, e.g. nvme_wait_freeze() waiting for I/O to drain. nvme_remove_namespaces() moves the list onto its on-stack ns_list with list_splice_init_rcu(), which only waits for RCU readers before relinking the entries. A reader still on the last namespace then follows its next pointer to ns_list instead of ctrl->namespaces and treats the stack as a namespace. Deleting a controller while a Format NVM passthrough waits for a delayed read on the last namespace gives: BUG: KASAN: stack-out-of-bounds in nvme_wait_freeze+0x102/0x120 Read of size 8 at addr ff110001d2f3fc38 by task nvme/4413 Call Trace: nvme_wait_freeze nvme_passthru_start nvme_submit_user_cmd nvme_user_cmd nvme_dev_ioctl BUG: unable to handle page fault for address: ffffffff8af04850 Use list_splice_init_srcu() instead, which waits for the SRCU readers. This also takes the RCU grace period out of every controller deletion. Deleting 64 tcp controllers with one namespace each, median of 3 runs on each of two boots per kernel: before after nvme disconnect-all (ms) 3491 / 3509 2996 / 3165 nvme_remove_namespaces() avg (ms) 39.0 / 40.5 31.9 / 34.7
Fixed in
38e604a8271ea9fd4add6669de73cc72da8184ae · 6.12.118 · 6.18.64 · 6.6.163 · 6.7 · 7.3.5 · 8a0449832b50cd4f99f2d2952cfc1476e5f26d0f · a7f566c0c354109ea565ef29afdf23005b2d48dd · d2abebe215bddb942f3372f7a964ca46cf21c96d · eec7caddb4d152c72a7b6975c6e3f5589cddbdd4
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.10.0, <6.12.118 | 6.12.118 |
| Linux | Kernel | >=6.13.0, <6.18.64 | 6.18.64 |
| Linux | Kernel | >=6.19.0, <7.3.5 | 7.3.5 |
| Linux | Kernel | >=6.6.48, <6.6.163 | 6.6.163 |
| vendor | Linux | >=6.6.48, <6.6.163 | 6.6.163 |
| vendor | Linux | >=6.6.48, <6.7 | 6.7 |
| vendor | Linux | >=82f20194bf46d4393fb2c4337e1effbbbe95d9b9, <d2abebe215bddb942f3372f7a964ca46cf21c96d | d2abebe215bddb942f3372f7a964ca46cf21c96d |
| vendor | Linux | >=be647e2c76b27f409cdd520f66c95be888b553a3, <38e604a8271ea9fd4add6669de73cc72da8184ae | 38e604a8271ea9fd4add6669de73cc72da8184ae |
| vendor | Linux | >=be647e2c76b27f409cdd520f66c95be888b553a3, <8a0449832b50cd4f99f2d2952cfc1476e5f26d0f | 8a0449832b50cd4f99f2d2952cfc1476e5f26d0f |
| vendor | Linux | >=be647e2c76b27f409cdd520f66c95be888b553a3, <a7f566c0c354109ea565ef29afdf23005b2d48dd | a7f566c0c354109ea565ef29afdf23005b2d48dd |
| vendor | Linux | >=be647e2c76b27f409cdd520f66c95be888b553a3, <eec7caddb4d152c72a7b6975c6e3f5589cddbdd4 | eec7caddb4d152c72a7b6975c6e3f5589cddbdd4 |
Sources
- NVD · first seen 14d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 14d ago · CVE Terms of Use
References
- https://git.kernel.org/stable/c/a7f566c0c354109ea565ef29afdf23005b2d48dd other
- https://git.kernel.org/stable/c/38e604a8271ea9fd4add6669de73cc72da8184ae other
- https://git.kernel.org/stable/c/eec7caddb4d152c72a7b6975c6e3f5589cddbdd4 other
- https://git.kernel.org/stable/c/8a0449832b50cd4f99f2d2952cfc1476e5f26d0f other
- https://git.kernel.org/stable/c/d2abebe215bddb942f3372f7a964ca46cf21c96d other
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99596.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-99596 advisory
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git package