{"id":"CVE-2026-23179","state":"PUBLISHED","title":"nvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready()\n\nWhen the socket is closed while in TCP_LISTEN a callback is run to\nflush all outstanding packets, which in turns calls\nnvmet_tcp_listen_data_ready() with the sk_callback_lock held.\nSo we need to check if we are in TCP_LISTEN before attempting\nto get the sk_callback_lock() to avoid a deadlock.","publishedAt":"2026-02-14T16:27:10.778Z","updatedAt":"2026-05-11T22:01:51.043Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"675b453e024154dd547921c6e6d5b58747ba7e0e","status":"affected","lessThan":"6e0c7503a5803d568d56a9f9bca662cd94a14908","versionType":"git"},{"version":"675b453e024154dd547921c6e6d5b58747ba7e0e","status":"affected","lessThan":"1c90f930e7b410dd2d75a2a19a85e19c64e98ad5","versionType":"git"},{"version":"675b453e024154dd547921c6e6d5b58747ba7e0e","status":"affected","lessThan":"2fa8961d3a6a1c2395d8d560ffed2c782681bade","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.70","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.10","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"]}],"references":["https://git.kernel.org/stable/c/6e0c7503a5803d568d56a9f9bca662cd94a14908","https://git.kernel.org/stable/c/1c90f930e7b410dd2d75a2a19a85e19c64e98ad5","https://git.kernel.org/stable/c/2fa8961d3a6a1c2395d8d560ffed2c782681bade"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23179.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23179","state":"PUBLISHED","datePublished":"2026-02-14T16:27:10.778Z","dateUpdated":"2026-05-11T22:01:51.043Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-01-13T15:37:45.984Z"},"containers":{"cna":{"title":"nvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: fixup hang in nvmet_tcp_listen_data_ready()\n\nWhen the socket is closed while in TCP_LISTEN a callback is run to\nflush all outstanding packets, which in turns calls\nnvmet_tcp_listen_data_ready() with the sk_callback_lock held.\nSo we need to check if we are in TCP_LISTEN before attempting\nto get the sk_callback_lock() to avoid a deadlock."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"675b453e024154dd547921c6e6d5b58747ba7e0e","status":"affected","lessThan":"6e0c7503a5803d568d56a9f9bca662cd94a14908","versionType":"git"},{"version":"675b453e024154dd547921c6e6d5b58747ba7e0e","status":"affected","lessThan":"1c90f930e7b410dd2d75a2a19a85e19c64e98ad5","versionType":"git"},{"version":"675b453e024154dd547921c6e6d5b58747ba7e0e","status":"affected","lessThan":"2fa8961d3a6a1c2395d8d560ffed2c782681bade","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.70","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.10","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nvme/target/tcp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6e0c7503a5803d568d56a9f9bca662cd94a14908"},{"url":"https://git.kernel.org/stable/c/1c90f930e7b410dd2d75a2a19a85e19c64e98ad5"},{"url":"https://git.kernel.org/stable/c/2fa8961d3a6a1c2395d8d560ffed2c782681bade"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:01:51.043Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.70"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}