Linux kernel nvmet-tcp reads freed port during Connect
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The nvmet-tcp component of the Linux kernel is affected from 5.0. When a transport port is removed while a Connect is being handled, the kernel reads the freed port for every command of the queue and passes the result to the core. The port is freed without waiting for queues that have no controller yet.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.0 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.0 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1 Patch available CNA
Remediation
Upgrade the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1, depending on the branch in use.
Written with Claude Haiku 5.5 from the sources below · 2026-11-30
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6, 7.4-rc1
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139152
- 2026-11-30 Alias added: GHSA-5329-g3j8-mj5h
References
Other 8
- https://git.kernel.org/stable/c/2fdee6626c636690c9803cd44f94daa7546f3a2d
- https://git.kernel.org/stable/c/c00bba2bc0c7c9a182ab18541afab0bc7e83c191
- https://git.kernel.org/stable/c/2e944e2bedf124b13d3eca1daf56491d8c1ffc28
- https://git.kernel.org/stable/c/9a7ad8e2d260ddaa16d06bc7131e56b202b15809
- https://git.kernel.org/stable/c/e4374587278f09fb3fdfc0137911ab36a08df3bd
- https://git.kernel.org/stable/c/1f32cb887fa06de515ca7844195ccde137f1bc9a
- https://git.kernel.org/stable/c/23e3b95e11332ae0a0f16c38be566d0f1300ad05
- https://git.kernel.org/stable/c/3f98ce65a87979e881343dcf082c9595ec90ddc7
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139152 · CVE Program
- CVE-2026-139152 · NVD
- GHSA-5329-g3j8-mj5h · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences