CVE-2026-139149
nvmet: don't clear sq->ctrl for a Connect with sqsize 0
No exploitation reported by the sources we read.
- Published2026-11-30
- Fixed in7.3.6 · 6.18.65 · 6.12.119 · 6.6.163 · 6.1.193 · 5.15.226
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-11-3013:32CVE publishedCNA
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.3 | ≥ 6.19.0, < 7.3.6 | 7.3.6 | OSV |
| 6.x | ≥ 6.13.0, < 6.18.65 | 6.18.65 | OSV |
| 6.x | ≥ 6.7.0, < 6.12.119 | 6.12.119 | OSV |
| 6.x | ≥ 6.2.0, < 6.6.163 | 6.6.163 | OSV |
| 6.1 | ≥ 5.16.0, < 6.1.193 | 6.1.193 | OSV |
| 5.15 | ≥ 5.15.0, < 5.15.226 | 5.15.226 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA2 products
As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Linuxother versions: not affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < 6c6d541fdc556659d6e8d6d608d38fe03bbd82cdfixed in 6c6d541fdc556659d6e8d6d608d38fe03bbd82cdgit
- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < b6c4b529ef42c6995a75c2384a19fbd4f3740bb0fixed in b6c4b529ef42c6995a75c2384a19fbd4f3740bb0git
- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < 24177b0909ed41af78e7b5f73e864bfc116fd806fixed in 24177b0909ed41af78e7b5f73e864bfc116fd806git
- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < 6c28bf6920b09baec6852d3ca58b52778e1464b9fixed in 6c28bf6920b09baec6852d3ca58b52778e1464b9git
- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < 24b9e5fb0e160802950aa0caba19576edcc9094efixed in 24b9e5fb0e160802950aa0caba19576edcc9094egit
- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < 961ff9e3a453665574fa143ea5f496b97350333afixed in 961ff9e3a453665574fa143ea5f496b97350333agit
- ≥ b71df12605cabab47d58bd926badaf4130280e4d, < 89480d137bf0d943a82c64f86ae2407a15276b5efixed in 89480d137bf0d943a82c64f86ae2407a15276b5egit
- Linuxother versions: affected
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Affected- = 5.15no fix stated
Not affected < 5.15 · ≥ 5.15.226, ≤ 5.15.* · ≥ 6.1.193, ≤ 6.1.* · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.119, ≤ 6.12.* · ≥ 6.18.65, ≤ 6.18.* · ≥ 7.3.6, ≤ 7.3.*
1 more version line in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- linuxDebian:14all versions · fixed in 7.3.6-1
- linuxDebian:13all versions · no fixed version listed
- linuxDebian:12all versions · no fixed version listed
Fix
- Update Linux kernel to 7.3.6 · 6.18.65 · 6.12.119 · 6.6.163 · 6.1.193 · 5.15.226
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-01
- Metasploit modules
- none listed Metasploit Framework
Sources
Identifiers
- EUVD-2026-138703same flawENISA EUVD · LicenseRef-ENISA-legal-notice
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2026-11-30
- Last modified
- 2026-11-30
- NVD status
- Received
Frequently asked questions
What is CVE-2026-139149?
Is CVE-2026-139149 actively exploited?
What is the CVSS score for CVE-2026-139149?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served