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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.20% (percentile 5, 2026-11-28)
- **Published:** 2026-11-20T05:49:05.894Z
- **Modified:** 2026-11-20T06:17:48.093Z

## Who should check

- Anyone running Linux \>= 782373ba27660ba7d330208cf5509ece6feb4545, \< 0af6a8aede3121bc9662111665294731daddb13a; \>= 782373ba27660ba7d330208cf5509ece6feb4545, \< 2eeeaa9c1ff0c429096acc2947c296db6a56f96d; 4f946479b326a3cbb193f2b8368aed9269514c35; 975cb1d2121511584695d0e47fdb90e6782da007; e15cebc1b21856944b387f4abd03b66bd3d4f027; \>= 6.1.118, \< 6.2; \>= 6.6.62, \< 6.7; \>= 6.11.9, \< 6.12
- Anyone running Linux 6.12

## Description

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 kernel\_getsockname() on the
admin queue socket, which can race with the queue teardown during
connection error recovery: a reader can observe NVME\_TCP\_Q\_LIVE set,
then block on the queue lock while nvme\_tcp\_free\_queue() 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 queue\_lock lock
and destroy") moved it back out because the lock itself is destroyed
in nvme\_tcp\_free\_queue(), so a reader arriving late trips
mutex\_destroy().

Check the queue liveness inside the queue lock, and clear queue-\>sock
under the same lock.  The teardown clears NVME\_TCP\_Q\_LIVE 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 NVME\_TCP\_OPT\_NR\_QUEUES() macro from the original
connect options for both initialization and destruction, as reconnects
may shrink ctrl-\>queue\_count.

## Affected and fixed versions

- Linux: \>= 782373ba27660ba7d330208cf5509ece6feb4545, \< 0af6a8aede3121bc9662111665294731daddb13a; \>= 782373ba27660ba7d330208cf5509ece6feb4545, \< 2eeeaa9c1ff0c429096acc2947c296db6a56f96d; 4f946479b326a3cbb193f2b8368aed9269514c35; 975cb1d2121511584695d0e47fdb90e6782da007; e15cebc1b21856944b387f4abd03b66bd3d4f027; \>= 6.1.118, \< 6.2; \>= 6.6.62, \< 6.7; \>= 6.11.9, \< 6.12 (cvelist)
- Linux: 6.12 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 6.12 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99571. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99571.md
Affected: Linux >= 782373ba27660ba7d330208cf5509ece6feb4545, < 0af6a8aede3121bc9662111665294731daddb13a; >= 782373ba27660ba7d330208cf5509ece6feb4545, < 2eeeaa9c1ff0c429096acc2947c296db6a56f96d; 4f946479b326a3cbb193f2b8368aed9269514c35; 975cb1d2121511584695d0e47fdb90e6782da007; e15cebc1b21856944b387f4abd03b66…
Fixed in: Linux 0af6a8aede3121bc9662111665294731daddb13a, Linux 2eeeaa9c1ff0c429096acc2947c296db6a56f96d, Linux 6.2, Linux 6.7, Linux 6.12

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99571 being exploited?

There is no confirmed exploitation: CVE-2026-99571 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.20% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99571?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99571?

Linux \>= 782373ba27660ba7d330208cf5509ece6feb4545, \< 0af6a8aede3121bc9662111665294731daddb13a; \>= 782373ba27660ba7d330208cf5509ece6feb4545, \< 2eeeaa9c1ff0c429096acc2947c296db6a56f96d; 4f946479b326a3cbb193f2b8368aed9269514c35; 975cb1d2121511584695d0e47fdb90e6782da007; e15cebc1b21856944b387f4abd03b66bd3d4f027; \>= 6.1.118, \< 6.2; \>= 6.6.62, \< 6.7; \>= 6.11.9, \< 6.12; Linux 6.12.

### Is there a fix for CVE-2026-99571?

Yes. Fixed in Linux 0af6a8aede3121bc9662111665294731daddb13a, Linux 2eeeaa9c1ff0c429096acc2947c296db6a56f96d, Linux 6.2, Linux 6.7, Linux 6.12. Upgrade Linux to 6.12 or later.

### How do I check if I'm affected by CVE-2026-99571?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/0af6a8aede3121bc9662111665294731daddb13a>
- other: <https://git.kernel.org/stable/c/2eeeaa9c1ff0c429096acc2947c296db6a56f96d>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99571>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99571> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99571>
