{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-139152","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.917Z","datePublished":"2026-11-30T13:32:03.651Z","dateUpdated":"2026-11-30T13:32:03.651Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:32:03.651Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: don't read a removed port at Connect time\n\nnvmet_tcp_alloc_cmd() takes the nvmet port of a command from\nqueue->port, and the commands of a queue are allocated from the io work\nwhen the Connect arrives. nvmet_tcp_remove_port() shuts down the queues\nthat have no controller yet and frees the port without waiting for\nthem, they're released later from a work. An io work handling a Connect\nat that moment reads the freed port for every command of the queue and\nhands the result to the core.\n\nNote the nvmet port in the queue at allocation. It outlives the\ntransport port."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"],"versions":[{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"2fdee6626c636690c9803cd44f94daa7546f3a2d","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"c00bba2bc0c7c9a182ab18541afab0bc7e83c191","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"2e944e2bedf124b13d3eca1daf56491d8c1ffc28","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"9a7ad8e2d260ddaa16d06bc7131e56b202b15809","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"e4374587278f09fb3fdfc0137911ab36a08df3bd","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"1f32cb887fa06de515ca7844195ccde137f1bc9a","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"23e3b95e11332ae0a0f16c38be566d0f1300ad05","status":"affected","versionType":"git"},{"version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","lessThan":"3f98ce65a87979e881343dcf082c9595ec90ddc7","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"],"versions":[{"version":"5.0","status":"affected"},{"version":"0","lessThan":"5.0","status":"unaffected","versionType":"semver"},{"version":"5.10.275","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.226","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.193","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.163","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.119","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.65","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.3.6","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.10.275"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.15.226"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.1.193"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.6.163"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.12.119"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.18.65"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"7.3.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/2fdee6626c636690c9803cd44f94daa7546f3a2d"},{"url":"https://git.kernel.org/stable/c/c00bba2bc0c7c9a182ab18541afab0bc7e83c191"},{"url":"https://git.kernel.org/stable/c/2e944e2bedf124b13d3eca1daf56491d8c1ffc28"},{"url":"https://git.kernel.org/stable/c/9a7ad8e2d260ddaa16d06bc7131e56b202b15809"},{"url":"https://git.kernel.org/stable/c/e4374587278f09fb3fdfc0137911ab36a08df3bd"},{"url":"https://git.kernel.org/stable/c/1f32cb887fa06de515ca7844195ccde137f1bc9a"},{"url":"https://git.kernel.org/stable/c/23e3b95e11332ae0a0f16c38be566d0f1300ad05"},{"url":"https://git.kernel.org/stable/c/3f98ce65a87979e881343dcf082c9595ec90ddc7"}],"title":"nvmet-tcp: don't read a removed port at Connect time","x_generator":{"engine":"bippy-1.2.0"}}}}