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

Summary

CVECVE-2026-139152
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-30 14:18:33 UTC
Updated2026-11-30 14:18:33 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 2fdee6626c636690c9803cd44f94daa7546f3a2d git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 c00bba2bc0c7c9a182ab18541afab0bc7e83c191 git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 2e944e2bedf124b13d3eca1daf56491d8c1ffc28 git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 9a7ad8e2d260ddaa16d06bc7131e56b202b15809 git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 e4374587278f09fb3fdfc0137911ab36a08df3bd git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 1f32cb887fa06de515ca7844195ccde137f1bc9a git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 23e3b95e11332ae0a0f16c38be566d0f1300ad05 git Not specified
CNA Linux Linux affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 3f98ce65a87979e881343dcf082c9595ec90ddc7 git Not specified
CNA Linux Linux affected 5.0 Not specified
CNA Linux Linux unaffected 5.0 semver Not specified
CNA Linux Linux unaffected 5.10.275 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.226 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.193 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.163 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.119 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.65 6.18.* semver Not specified
CNA Linux Linux unaffected 7.3.6 7.3.* semver Not specified
CNA Linux Linux unaffected 7.4-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/c00bba2bc0c7c9a182ab18541afab0bc7e83c191 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2e944e2bedf124b13d3eca1daf56491d8c1ffc28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e4374587278f09fb3fdfc0137911ab36a08df3bd 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/2fdee6626c636690c9803cd44f94daa7546f3a2d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1f32cb887fa06de515ca7844195ccde137f1bc9a 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/9a7ad8e2d260ddaa16d06bc7131e56b202b15809 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/3f98ce65a87979e881343dcf082c9595ec90ddc7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/23e3b95e11332ae0a0f16c38be566d0f1300ad05 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report