{"id":"CVE-2026-99596","aliases":[],"title":"nvme: wait for SRCU readers before splicing the namespace list","originalDescription":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvme: wait for SRCU readers before splicing the namespace list\n\nReaders walk ctrl->namespaces under ctrl->srcu, and some of them sleep\nthere, e.g. nvme_wait_freeze() waiting for I/O to drain.\n\nnvme_remove_namespaces() moves the list onto its on-stack ns_list with\nlist_splice_init_rcu(), which only waits for RCU readers before\nrelinking the entries. A reader still on the last namespace then follows\nits next pointer to ns_list instead of ctrl->namespaces and treats the\nstack as a namespace. Deleting a controller while a Format NVM\npassthrough waits for a delayed read on the last namespace gives:\n\n  BUG: KASAN: stack-out-of-bounds in nvme_wait_freeze+0x102/0x120\n  Read of size 8 at addr ff110001d2f3fc38 by task nvme/4413\n  Call Trace:\n   nvme_wait_freeze\n   nvme_passthru_start\n   nvme_submit_user_cmd\n   nvme_user_cmd\n   nvme_dev_ioctl\n  BUG: unable to handle page fault for address: ffffffff8af04850\n\nUse list_splice_init_srcu() instead, which waits for the SRCU readers.\nThis also takes the RCU grace period out of every controller deletion.\nDeleting 64 tcp controllers with one namespace each, median of 3 runs on\neach of two boots per kernel:\n\n                                      before        after\n  nvme disconnect-all (ms)            3491 / 3509   2996 / 3165\n  nvme_remove_namespaces() avg (ms)   39.0 / 40.5   31.9 / 34.7","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.002,"percentile":0.10442},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=6.10.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.6.48, <6.6.163","fixed":"6.6.163"},{"ecosystem":"vendor","name":"Linux","range":">=6.6.48, <6.6.163","fixed":"6.6.163"},{"ecosystem":"vendor","name":"Linux","range":">=6.6.48, <6.7","fixed":"6.7"},{"ecosystem":"vendor","name":"Linux","range":">=82f20194bf46d4393fb2c4337e1effbbbe95d9b9, <d2abebe215bddb942f3372f7a964ca46cf21c96d","fixed":"d2abebe215bddb942f3372f7a964ca46cf21c96d"},{"ecosystem":"vendor","name":"Linux","range":">=be647e2c76b27f409cdd520f66c95be888b553a3, <38e604a8271ea9fd4add6669de73cc72da8184ae","fixed":"38e604a8271ea9fd4add6669de73cc72da8184ae"},{"ecosystem":"vendor","name":"Linux","range":">=be647e2c76b27f409cdd520f66c95be888b553a3, <8a0449832b50cd4f99f2d2952cfc1476e5f26d0f","fixed":"8a0449832b50cd4f99f2d2952cfc1476e5f26d0f"},{"ecosystem":"vendor","name":"Linux","range":">=be647e2c76b27f409cdd520f66c95be888b553a3, <a7f566c0c354109ea565ef29afdf23005b2d48dd","fixed":"a7f566c0c354109ea565ef29afdf23005b2d48dd"},{"ecosystem":"vendor","name":"Linux","range":">=be647e2c76b27f409cdd520f66c95be888b553a3, <eec7caddb4d152c72a7b6975c6e3f5589cddbdd4","fixed":"eec7caddb4d152c72a7b6975c6e3f5589cddbdd4"}],"references":[{"url":"https://git.kernel.org/stable/c/a7f566c0c354109ea565ef29afdf23005b2d48dd","type":"other"},{"url":"https://git.kernel.org/stable/c/38e604a8271ea9fd4add6669de73cc72da8184ae","type":"other"},{"url":"https://git.kernel.org/stable/c/eec7caddb4d152c72a7b6975c6e3f5589cddbdd4","type":"other"},{"url":"https://git.kernel.org/stable/c/8a0449832b50cd4f99f2d2952cfc1476e5f26d0f","type":"other"},{"url":"https://git.kernel.org/stable/c/d2abebe215bddb942f3372f7a964ca46cf21c96d","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99596.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99596","type":"advisory"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.445Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99596","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:45.849Z"},{"name":"osv","at":"2026-12-01T11:52:49.457Z","url":"https://osv.dev/vulnerability/CVE-2026-99596","license":"CC-BY 4.0","firstSeenAt":"2026-12-01T11:19:48.892Z"},{"name":"cvelistV5","at":"2026-11-23T21:30:56.667Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99596","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:12.152Z"}],"firstSeenAt":"2026-11-20T06:28:12.152Z","publishedAt":"2026-11-20T05:49:23.162Z","modifiedAt":"2026-12-01T10:42:30.894Z"}