CVE-2026-99596: nvme: wait for SRCU readers before splicing the namespace list

Published Nov 20, 2026
·
Updated

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. nvmewaitfreeze() waiting for I/O to drain.

nvmeremovenamespaces() moves the list onto its on-stack nslist with listspliceinitrcu(), which only waits for RCU readers before relinking the entries. A reader still on the last namespace then follows its next pointer to nslist 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 nvmewaitfreeze+0x102/0x120 Read of size 8 at addr ff110001d2f3fc38 by task nvme/4413 Call Trace: nvmewaitfreeze nvmepassthrustart nvmesubmitusercmd nvmeusercmd nvmedevioctl BUG: unable to handle page fault for address: ffffffff8af04850

Use listspliceinitsrcu() 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 nvmeremovenamespaces() avg (ms) 39.0 / 40.5 31.9 / 34.7

Affected Software

7 affected componentsFixes available
linux/kernel>=6.6.48<6.7
6.7
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
debian/linux*
debian/linux*
debian/linux<=6.12.107-1, <=6.12.117-1, <=7.3.4-1
6.1.176-16.1.192-27.3.5-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.7
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.118
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.64
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.5
  5. Compensating control

    In nvme_remove_namespaces(), use list_splice_init_srcu() instead of list_splice_init_rcu() when moving the namespace list, so the operation waits for SRCU readers.

Event History

Nov 20, 2026
CVE Published
via MITRE·05:49 AM
Data Sourced
via MITRE·05:49 AM
Description
Data Sourced
via OSV·05:49 AM
DescriptionAffected Software
Data Sourced
via NVD·06:17 AM
Description

Frequently Asked Questions

1

What activity is required to trigger this issue?

A controller must be deleted while an SRCU-protected namespace reader is still active. The described trigger is a Format NVM passthrough operation waiting for delayed I/O on the last namespace while the controller is removed.

2

What is the likely impact if the race occurs?

A reader can follow a namespace list pointer into an on-stack temporary list and interpret stack memory as a namespace. The reported results include a KASAN stack-out-of-bounds read and an invalid-address page fault.

3

How can I tell whether a system has encountered this issue?

Look for kernel reports during NVMe controller removal containing KASAN stack-out-of-bounds errors in nvme_wait_freeze, or page faults associated with nvme_passthru_start, nvme_submit_user_cmd, nvme_user_cmd, or nvme_dev_ioctl.

4

What change fixes the race?

The fix replaces list_splice_init_rcu() with list_splice_init_srcu() when removing namespaces, so namespace-list relinking waits for SRCU readers to finish.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203