CVE-2026-139152
publishednvmet-tcp: don't read a removed port at Connect time
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 2fdee6626c636690c9803cd44f94daa7546f3a2d · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < c00bba2bc0c7c9a182ab18541afab0bc7e83c191 · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 2e944e2bedf124b13d3eca1daf56491d8c1ffc28 · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 9a7ad8e2d260ddaa16d06bc7131e56b202b15809 · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < e4374587278f09fb3fdfc0137911ab36a08df3bd · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 1f32cb887fa06de515ca7844195ccde137f1bc9a · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 23e3b95e11332ae0a0f16c38be566d0f1300ad05 · 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 3f98ce65a87979e881343dcf082c9595ec90ddc7 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.0 (affected) · 0 to < 5.0 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 2fdee6626c636690c9803cd44f94daa7546f3a2d (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < c00bba2bc0c7c9a182ab18541afab0bc7e83c191 (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 2e944e2bedf124b13d3eca1daf56491d8c1ffc28 (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 9a7ad8e2d260ddaa16d06bc7131e56b202b15809 (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < e4374587278f09fb3fdfc0137911ab36a08df3bd (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 1f32cb887fa06de515ca7844195ccde137f1bc9a (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 23e3b95e11332ae0a0f16c38be566d0f1300ad05 (affected · git)872d26a391da92ed8f0c0f5cb5fef428067b7f30 to < 3f98ce65a87979e881343dcf082c9595ec90ddc7 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.0 (affected)0 to < 5.0 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/1f32cb887fa06de515ca7844195ccde137f1bc9a
- https://git.kernel.org/stable/c/23e3b95e11332ae0a0f16c38be566d0f1300ad05
- https://git.kernel.org/stable/c/2e944e2bedf124b13d3eca1daf56491d8c1ffc28
- https://git.kernel.org/stable/c/2fdee6626c636690c9803cd44f94daa7546f3a2d
- https://git.kernel.org/stable/c/3f98ce65a87979e881343dcf082c9595ec90ddc7
- https://git.kernel.org/stable/c/9a7ad8e2d260ddaa16d06bc7131e56b202b15809
- https://git.kernel.org/stable/c/c00bba2bc0c7c9a182ab18541afab0bc7e83c191
- https://git.kernel.org/stable/c/e4374587278f09fb3fdfc0137911ab36a08df3bd
Provider assertions
1Linux · cna
nvmet-tcp: don't read a removed port at Connect time
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2ba5a2b4abca1c58c8de59c71863862027b7a2d64892a374436b33b52d9df94f
- Ingested
- 30 Nov 2026, 13:42:22 UTC
- Source record
- Official CVE record