CVE-2026-139149: Linux kernel · nvmet: don't clear sq->ctrl for a Connect with sqsize 0
Affects Linux kernelSource CVE Database V5
Not known to be exploited · fixed in b6c4b529ef42c6995a75c2384a19fbd4f3740bb0 : update Linux kernel when convenient.
Data as of 30 Nov 2026, 14:00 UTC
Rated by Threat Radar · CVSS not yet scored by NVD
Thin evidence
One scorer or none- Patch
- Available – fixed in b6c4b529ef42c6995a75c2384a19fbd4f3740bb0, 89480d137bf0d943a82c64f86ae2407a15276b5e, 24177b0909ed41af78e7b5f73e864bfc116fd806 +4
Exploitation evidence
Disclosed: evidence found.
CVE published 30 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
| LinuxLinux | Affected
| Fixed in
|
Description
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.
References
- git.kernel.org/stable/c/6c6d541fdc556659d6e8d6d608d38fe03bbd82cd (opens in a new tab)
- git.kernel.org/stable/c/b6c4b529ef42c6995a75c2384a19fbd4f3740bb0 (opens in a new tab)
- git.kernel.org/stable/c/24177b0909ed41af78e7b5f73e864bfc116fd806 (opens in a new tab)
- git.kernel.org/stable/c/6c28bf6920b09baec6852d3ca58b52778e1464b9 (opens in a new tab)
- git.kernel.org/stable/c/24b9e5fb0e160802950aa0caba19576edcc9094e (opens in a new tab)
- git.kernel.org/stable/c/961ff9e3a453665574fa143ea5f496b97350333a (opens in a new tab)
- git.kernel.org/stable/c/89480d137bf0d943a82c64f86ae2407a15276b5e (opens in a new tab)