Controller leak in Linux kernel NVMe target Connect handling
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA.
Summary
The Linux kernel from 5.15 is affected in its nvmet NVMe target code. A Connect with sqsize 0 clears the controller pointer that a concurrent Connect had set, so the controller reference is never dropped and the controller leaks until reboot. A remote host without privileges can trigger this over RDMA by sending two Connects together, and the discovery subsystem allows any host to do so.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: nvmet: don't clear sq->ctrl for a Connect with sqsize 0 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. Return the status directly, as the two checks after it do, so err is only reached after this call's cmpxchg() succeeded.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
Remediation
Update the Linux kernel to 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, or a later release of the same branch.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139149
- 2026-11-30 Alias added: GHSA-97rq-9648-9229
- 2026-12-01 CVSS score added · CNA
References
Other 7
- https://git.kernel.org/stable/c/6c6d541fdc556659d6e8d6d608d38fe03bbd82cd
- https://git.kernel.org/stable/c/b6c4b529ef42c6995a75c2384a19fbd4f3740bb0
- https://git.kernel.org/stable/c/24177b0909ed41af78e7b5f73e864bfc116fd806
- https://git.kernel.org/stable/c/6c28bf6920b09baec6852d3ca58b52778e1464b9
- https://git.kernel.org/stable/c/24b9e5fb0e160802950aa0caba19576edcc9094e
- https://git.kernel.org/stable/c/961ff9e3a453665574fa143ea5f496b97350333a
- https://git.kernel.org/stable/c/89480d137bf0d943a82c64f86ae2407a15276b5e
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139149 · CVE Program
- CVE-2026-139149 · NVD
- GHSA-97rq-9648-9229 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences