Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

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?

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
  1. 2026-11-3013:32CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.67.3.6
6.x≥ 6.13.0, < 6.18.656.18.65
6.x≥ 6.7.0, < 6.12.1196.12.119
6.x≥ 6.2.0, < 6.6.1636.6.163
6.1≥ 5.16.0, < 6.1.1936.1.193
5.15≥ 5.15.0, < 5.15.2265.15.226

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

Full record on NVD

Fix

  1. 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
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-30
  • CNACVSS 3.17.52026-12-01
  • OSVaffected packages—

Identifiers

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?

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.

Is CVE-2026-139149 actively exploited?

Active exploitation of CVE-2026-139149 has not been confirmed.

What is the CVSS score for CVE-2026-139149?

CVE-2026-139149 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

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

Sources for this record