CVE-2026-99571: nvme-tcp: Validate the queue state under the queue lock in the address attribute

Published Nov 20, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nvme-tcp: Validate the queue state under the queue lock in the address attribute

Reading the "address" sysfs attribute calls kernelgetsockname() on the admin queue socket, which can race with the queue teardown during connection error recovery: a reader can observe NVMETCPQLIVE set, then block on the queue lock while nvmetcpfreequeue() releases the socket and clears queue->sock without holding the lock. Once the reader acquires the lock it dereferences the NULL socket pointer.

Commit 76d54bf20cdc ("nvme-tcp: don't access released socket during error recovery") had the queue liveness check inside the lock. Commit 782373ba2766 ("nvme: tcp: avoid race between queuelock lock and destroy") moved it back out because the lock itself is destroyed in nvmetcpfreequeue(), so a reader arriving late trips mutexdestroy().

Check the queue liveness inside the queue lock, and clear queue->sock under the same lock. The teardown clears NVMETCPQLIVE under the lock well before the socket is released, so a reader either sees the bit cleared or a socket that cannot be released while it holds the lock. To also close the lock lifetime race, the queue locks are now owned by the controller: they are initialized with the queue array and only destroyed when the controller is freed, which cannot happen while a sysfs attribute read is still in progress. The queue count is computed by the NVMETCPOPTNRQUEUES() macro from the original connect options for both initialization and destruction, as reconnects may shrink ctrl->queuecount.

Affected Software

8 affected componentsFixes available
linux/kernel>=6.1.118<6.2
6.2
linux/kernel>=6.6.62<6.7
6.7
linux/kernel>=6.11.9<6.12
6.12
linux/kernel>=6.12.0<7.3.5
7.3.5
debian/linux*
debian/linux*
debian/linux*
debian/linux<=6.1.176-1, <=6.1.192-2, <=6.12.107-1, <=6.12.117-1, <=7.3.4-1
7.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.2
  2. Upgrade

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

    Fixed in 6.7
  3. Upgrade

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

    Fixed in 6.12
  4. Upgrade

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

    Fixed in 7.3.5
  5. Upgrade

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

    Fixed in 7.3.5-1

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 conditions are required for the race to occur?

The nvme-tcp admin queue must be undergoing teardown during connection error recovery while the queue's "address" sysfs attribute is being read. The reader can observe the queue as live before waiting on the queue lock, after which teardown may release and clear the socket.

2

Who is exposed to this issue?

Systems using the Linux kernel nvme-tcp driver are exposed when a process reads the affected admin queue sysfs address attribute concurrently with connection-error recovery. The supplied data does not identify affected kernel versions or sysfs permission requirements.

3

What does the fix change?

The fix validates queue liveness while holding the queue lock and clears the queue socket under that same lock. This ensures an attribute reader sees either a non-live queue or a socket that cannot be released while the reader holds the lock.

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