{"api_version":"1","generated_at":"2026-11-30T15:21:42+00:00","cve":"CVE-2026-139152","urls":{"html":"https://cve.report/CVE-2026-139152","api":"https://cve.report/api/cve/CVE-2026-139152.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139152","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139152"},"summary":{"title":"nvmet-tcp: don't read a removed port at Connect time","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:33","updated_at":"2026-11-30 14:18:33"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/c00bba2bc0c7c9a182ab18541afab0bc7e83c191","name":"https://git.kernel.org/stable/c/c00bba2bc0c7c9a182ab18541afab0bc7e83c191","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2e944e2bedf124b13d3eca1daf56491d8c1ffc28","name":"https://git.kernel.org/stable/c/2e944e2bedf124b13d3eca1daf56491d8c1ffc28","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e4374587278f09fb3fdfc0137911ab36a08df3bd","name":"https://git.kernel.org/stable/c/e4374587278f09fb3fdfc0137911ab36a08df3bd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/2fdee6626c636690c9803cd44f94daa7546f3a2d","name":"https://git.kernel.org/stable/c/2fdee6626c636690c9803cd44f94daa7546f3a2d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f32cb887fa06de515ca7844195ccde137f1bc9a","name":"https://git.kernel.org/stable/c/1f32cb887fa06de515ca7844195ccde137f1bc9a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9a7ad8e2d260ddaa16d06bc7131e56b202b15809","name":"https://git.kernel.org/stable/c/9a7ad8e2d260ddaa16d06bc7131e56b202b15809","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3f98ce65a87979e881343dcf082c9595ec90ddc7","name":"https://git.kernel.org/stable/c/3f98ce65a87979e881343dcf082c9595ec90ddc7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/23e3b95e11332ae0a0f16c38be566d0f1300ad05","name":"https://git.kernel.org/stable/c/23e3b95e11332ae0a0f16c38be566d0f1300ad05","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139152","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139152","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 2fdee6626c636690c9803cd44f94daa7546f3a2d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 c00bba2bc0c7c9a182ab18541afab0bc7e83c191 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 2e944e2bedf124b13d3eca1daf56491d8c1ffc28 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 9a7ad8e2d260ddaa16d06bc7131e56b202b15809 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 e4374587278f09fb3fdfc0137911ab36a08df3bd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 1f32cb887fa06de515ca7844195ccde137f1bc9a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 23e3b95e11332ae0a0f16c38be566d0f1300ad05 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 872d26a391da92ed8f0c0f5cb5fef428067b7f30 3f98ce65a87979e881343dcf082c9595ec90ddc7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.119 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/nvme/target/tcp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"2fdee6626c636690c9803cd44f94daa7546f3a2d","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"c00bba2bc0c7c9a182ab18541afab0bc7e83c191","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"2e944e2bedf124b13d3eca1daf56491d8c1ffc28","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"9a7ad8e2d260ddaa16d06bc7131e56b202b15809","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"e4374587278f09fb3fdfc0137911ab36a08df3bd","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"1f32cb887fa06de515ca7844195ccde137f1bc9a","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"23e3b95e11332ae0a0f16c38be566d0f1300ad05","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"},{"lessThan":"3f98ce65a87979e881343dcf082c9595ec90ddc7","status":"affected","version":"872d26a391da92ed8f0c0f5cb5fef428067b7f30","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/nvme/target/tcp.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.0"},{"lessThan":"5.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.119","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.119","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"5.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"5.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:32:03.651Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"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"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139152","datePublished":"2026-11-30T13:32:03.651Z","dateReserved":"2026-11-30T13:22:15.917Z","dateUpdated":"2026-11-30T13:32:03.651Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:33","lastModifiedDate":"2026-11-30 14:18:33","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139152","Ordinal":"1","Title":"nvmet-tcp: don't read a removed port at Connect time","CVE":"CVE-2026-139152","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139152","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"nvmet-tcp: don't read a removed port at Connect time"}]}}}