CVE-2026-139152

Source
https://cve.org/CVERecord?id=CVE-2026-139152
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139152.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139152
Downstream
Published
2026-11-30T13:32:03Z
Modified
2026-11-30T15:02:27Z
Summary
nvmet-tcp: don't read a removed port at Connect time
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139152.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
872d26a391da92ed8f0c0f5cb5fef428067b7f30
Fixed
2fdee6626c636690c9803cd44f94daa7546f3a2d
Fixed
c00bba2bc0c7c9a182ab18541afab0bc7e83c191
Fixed
2e944e2bedf124b13d3eca1daf56491d8c1ffc28
Fixed
9a7ad8e2d260ddaa16d06bc7131e56b202b15809
Fixed
e4374587278f09fb3fdfc0137911ab36a08df3bd
Fixed
1f32cb887fa06de515ca7844195ccde137f1bc9a
Fixed
23e3b95e11332ae0a0f16c38be566d0f1300ad05
Fixed
3f98ce65a87979e881343dcf082c9595ec90ddc7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139152.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.0.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139152.json"