CVE-2026-139152 nvmet-tcp: don't read a removed port at Connect time

Published Updated

CVSS score

Not scored

No CVSS score published yet
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
Not stated

What is CVE-2026-139152?

CVE-2026-139152 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

nvmet-tcp: don't read a removed port at Connect time

nvmet_tcp_alloc_cmd() takes the nvmet port of a command from queue->port, and the commands of a queue are allocated from the io work when the Connect arrives. nvmet_tcp_remove_port() shuts down the queues that have no controller yet and frees the port without waiting for them, they're released later from a work. An io work handling a Connect at that moment reads the freed port for every command of the queue and hands the result to the core.

Note the nvmet port in the queue at allocation. It outlives the transport port.

Which versions are affected by CVE-2026-139152?

How do I fix CVE-2026-139152?

Upgrade to a fixed version.

Is CVE-2026-139152 being exploited?

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

Sources

Also known as BELL-CVE-2026-139152, DEBIAN-CVE-2026-139152, GHSA-5329-g3j8-mj5h, UBUNTU-CVE-2026-139152.

Is CVE-2026-139152 in your software?

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

Check your SBOMs for free