An NVMe over Fabrics target creates a controller for each host that connects and binds the host’s queues to it. The kernel CNA record describes a slip in that binding: nvmet_install_queue() “checks sqsize first and jumps to err on zero, where sq->ctrl is set to NULL. Since commit b71df12605ca the cmpxchg() that sets sq->ctrl comes after the checks, so err now undoes a bind that this call never made. Over RDMA a host can send two Connects together and the second is parsed before the first executes, so a second Connect with sqsize 0 clears the sq->ctrl the first one set. The reference it held is never dropped and the controller leaks, with its cntlid, until reboot. The discovery subsystem lets any host do that, 20 connections leak around 10 controllers. A pending AER on such a queue hangs nvmet_sq_destroy() forever, and a queue can keep its “authenticated” mark across a rebind.” The CNA and Red Hat score it 7.5. On a host that exports NVMe-oF over RDMA, upgrade to a kernel at or above 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65 or 7.3.6 and reboot; the leaked controllers and controller ids come back only with the reboot.
CVE-2026-139149 at a glance.
| Component | Linux kernel, NVMe target fabrics commands (drivers/nvme/target/fabrics-cmd.c): nvmet_install_queue() handling a Connect with sqsize 0 |
| Affected versions | from the commit that reordered the bind, b71df12605ca (“nvmet: avoid duplicate qid in connect cmd”, 5.15): 5.15 up to 5.15 before 5.15.226, 6.1 before 6.1.193, 6.6 before 6.6.163, 6.12 before 6.12.119, 6.18 before 6.18.65, 7.3 before 7.3.6 and 7.4 before 7.4-rc1 |
| Fixed in | mainline 7.4-rc1 (commit 89480d13, the one Debian cites) and stable 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6. One file, +1/−2: the sqsize == 0 branch returns NVME_SC_CONNECT_INVALID_PARAM | NVME_STATUS_DNR directly instead of jumping to err, so err is reached only after this call’s own cmpxchg() succeeded |
| Severity | Kernel CNA CVSS 3.1 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H); NVD shows the CNA metric only; Red Hat Important, 7.5 on the same vector (draft, CWE-459), bug 2587270 “Denial of Service via improper error handling in NVMe target queue installation”; Ubuntu Medium, no score |
| Exploited in the wild | Not on the CISA KEV catalogue (2026.11.30). EPSS 0.00718 (55th percentile) on 1 December 2026 |
| Who is exposed | A Linux NVMe-oF target (nvmet with the nvmet-rdma transport) whose port an untrusted host can reach. The discovery subsystem accepts any host, so no allow-list entry is needed to leak controllers; each leaked controller consumes a controller id, and a target has a finite pool. Red Hat: “NVMe target functionality is not enabled by default” and hosts that do not expose NVMe-oF over RDMA are not affected. TCP targets are not named in the record |
| Published | CVE record 30 November 2026 (kernel CNA); this page built 2 December 2026, last updated 2 December 2026 |
What it is
A Fabrics Connect command tells the target to create or join a controller and to attach a submission queue of sqsize entries. nvmet_install_queue() validates the request and then binds the queue to the controller with a cmpxchg() on sq->ctrl, which also guards against two Connects claiming the same queue id. A 5.15 fix moved that cmpxchg() after the validation so a duplicate queue id would be caught first, and it left the shared error label, which clears sq->ctrl, as it was.
The record explains the consequence: a Connect with sqsize 0 fails validation and jumps to that label, which now clears a binding this call never made. Over RDMA the transport can parse a second Connect before the first has executed, so a host sends a valid Connect followed by one with sqsize 0, and the second clears the controller pointer the first just set. The controller’s reference is never dropped, so it, and its controller id, leak until reboot; the record measured roughly ten leaked controllers per twenty connections. Because the discovery subsystem lets any host connect, no configuration shields the target. Two side effects follow: a pending asynchronous event on the orphaned queue makes nvmet_sq_destroy() wait forever, and a queue can carry its “authenticated” flag across a rebind, which touches the in-band authentication that CVE-2026-139155 from the same day also concerns.
The fix, by Chris Mason and committed by Keith Busch, returns the invalid-parameter status directly from the sqsize check, as the two checks after it already do, so the error label that clears sq->ctrl runs only after this call’s own cmpxchg() succeeded. git.kernel.org refuses automated readers, so the commit was read on GitHub.
Who is affected on Linux
Each row is what the distribution’s own security tracker said on 2 December 2026; the link in the row is the tracker page, which will be newer than this one. The target modules are built everywhere but loaded only where an administrator has configured an NVMe-oF export.
| Distribution | Status | Fixed package |
|---|---|---|
| Alpine | Not consulted for this page: the Alpine tracker refused the automated reader on 2 December 2026 | — |
| Debian | bookworm (6.1.176-1, security 6.1.192-3) vulnerable; trixie (6.12.117-1, security 6.12.118-1) vulnerable; fixed in forky and sid (7.3.6-1); no DSA | unstable 7.3.6-1 |
| Ubuntu | Medium, no Ubuntu CVSS; linux needs evaluation in every supported release (26.10, 26.04 LTS, 24.04 LTS, 22.04 LTS, 20.04 LTS and the ESM releases); no USN on 2 December 2026 | nothing released on 2 December 2026 |
| RHEL, Rocky, Alma, CentOS Stream | Important, 7.5 (bug 2587270, CWE-459); kernel affected on RHEL 8, 9 and 10 (and kernel-rt on 8, 9), not affected on RHEL 7 and 6; OpenShift 4 and 5 CoreOS affected; no errata on 2 December 2026 | nothing released on 2 December 2026 |
| openSUSE/SLE | Not consulted: suse.com refused the automated reader on 2 December 2026 (client error) | — |
| Fedora, Arch; self-built kernels | Not consulted; upstream stable versions apply | 5.15.226 / 6.1.193 / 6.6.163 / 6.12.119 / 6.18.65 / 7.3.6 or later |
How to check
Three questions: is the running kernel 5.15 or later and below the fixed version for its series, is this host an NVMe-oF target with the RDMA transport, and can an untrusted host reach the port. A host that is only an NVMe-oF initiator is not in the path.
# 1. the running kernel: affected from 5.15; fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or later
uname -r
# 2. is the target configured, and on which transport
lsmod | grep -E '^nvmet(_rdma|_tcp)?( |$)'
ls /sys/kernel/config/nvmet/ports/ 2>/dev/null
grep -H . /sys/kernel/config/nvmet/ports/*/addr_trtype /sys/kernel/config/nvmet/ports/*/addr_traddr 2>/dev/null
# 3. how many controllers exist now (a rising count with no new hosts is the leak)
ls /sys/kernel/config/nvmet/subsystems/*/allowed_hosts/ 2>/dev/null
cat /sys/class/nvme-fabrics/ctl/*/cntlid 2>/dev/null | wc -lA kernel at or above the fixed version is done; one below 5.15 does not have the reordered bind. No nvmet ports configured means the host is not a target and the page does not apply. A port whose addr_trtype is rdma and whose address is reachable beyond the storage fabric is the exposed case, and the discovery subsystem on that port answers any host. The signature of a hit is controller ids that never come back after hosts disconnect, nvmet: ctrl N lines without a matching teardown, and eventually a hung-task warning in nvmet_sq_destroy.
How to fix it
Install the fixed kernel and reboot; a reboot is also the only way to recover leaked controller ids. Debian forky and sid had 7.3.6-1; bookworm, trixie, Ubuntu and Red Hat had it pending on 2 December. The record lists no mitigation; limiting who can reach the RDMA port is the operational one.
# Debian forky / sid (bookworm and trixie once a security update names this CVE)
apt update && apt install linux-image-amd64 && systemctl reboot# Ubuntu, RHEL family, SUSE: when the pending builds land
apt update && apt full-upgrade && systemctl reboot
dnf update kernel && systemctl reboot
zypper patch && systemctl reboot# Interim: keep the NVMe-oF RDMA port (default 4420) reachable only from known initiators
nft add rule inet filter input tcp dport 4420 ip saddr != { 10.30.0.0/24 } drop
nft add rule inet filter input udp dport 4791 ip saddr != { 10.30.0.0/24 } drop # RoCEv2
# allowed_hosts does not help: the discovery subsystem accepts every hostThe allowed_hosts list on a subsystem does not close this, because the discovery subsystem that every target exposes accepts any NQN and is enough to leak controllers; only network reach limits who can send the Connect pair. What not to do: do not remove the RDMA transport and move initiators to TCP as a “fix” for this CVE on the strength of the record naming RDMA; the record describes the RDMA ordering that makes the race easy, and the fixed kernel is the answer on either transport.
Sources
- CVE-2026-139149 at CVE.org — the kernel CNA record: the “err now undoes a bind that this call never made” and “20 connections leak around 10 controllers” sentences, the 5.15 lower bound, the git ranges, the single file (30 November 2026)
- Fix commit 89480d13 (mainline, 7.4-rc1) and the stable backports in the record; git.kernel.org refuses automated readers, so it was read on GitHub: Chris Mason, committed by Keith Busch,
Fixes:b71df12605ca(“nvmet: avoid duplicate qid in connect cmd”), noCc: stable, one file +1/−2 returning the status directly forsqsize0 - NVD entry — Received on 30 November 2026; shows the CNA’s 7.5 as its only metric, no NVD score or CWE on 2 December
- Distribution trackers: Debian (bookworm and trixie vulnerable, forky and sid fixed in 7.3.6-1) · Ubuntu (Medium, needs evaluation in every release, no USN) · Red Hat (Important 7.5, bug 2587270, RHEL 8-10 affected) · SUSE and Alpine (both refused the automated reader on 2 December)
- CISA KEV catalogue 2026.11.30, not listed · EPSS 0.00718 (percentile 0.551) on 1 December 2026
Related reading
- CVE-2026-139155: Linux kernel NVMe target treats any common-type authentication message naming the current step as a fresh negotiation — the same day’s other NVMe target flaw, in the in-band authentication state machine that this leak also touches
- CVE-2026-139159: Linux kernel NVMe target frees a metadata scatter list twice — the same day’s other NVMe target entry
- CVE-2026-99302: Linux kernel NVMe target over RDMA trusts a short Connect — an earlier remote NVMe-oF target flaw, same transport
- CVE-2026-139114: Linux kernel RNBD server deadlocks on its own lock when a client opens one device under two names — the same batch’s other remote denial of service against an RDMA storage server
- The Kernel — what a Fabrics Connect does and why a shared error label is dangerous
This advisory page was assembled from the primary sources listed above on 2 December 2026 and is updated when they change. The facts are theirs; the checks and the ordering are ours. If a row in the distribution table is out of date, the tracker link in that row is the current word.

