CVE-2026-139149 nvmet: don't clear sq->ctrl for a Connect with sqsize 0

Published Updated

CVSS score

High

7.5/10

CVSS 3.1 · Scored by the Linux kernel CNA Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Over the network
No login, no user action

What is CVE-2026-139149?

CVE-2026-139149 is a high-severity vulnerability in Linux, published on 30 Nov 2026.

Official 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.

How severe is CVE-2026-139149?

CVE-2026-139149 scores 7.5 out of 10 under CVSS 3.1, which is high severity. It was scored by the Linux kernel CNA.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Which versions are affected by CVE-2026-139149?

How do I fix CVE-2026-139149?

Upgrade to a fixed version.

Is CVE-2026-139149 being exploited?

There is no known exploitation of CVE-2026-139149 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139149, DEBIAN-CVE-2026-139149, GHSA-97rq-9648-9229, UBUNTU-CVE-2026-139149.

Is CVE-2026-139149 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free