{"id":"CVE-2026-143287","state":"PUBLISHED","title":"nvmet-tcp: ask for the TLS record type on every receive","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: ask for the TLS record type on every receive\n\nnvmet_tcp_alloc_cmd() points recv_msg.msg_control at recv_cbuf once.\nThe first receive that stores a record type there advances msg_control\nand leaves msg_controllen at 0 for the lifetime of the command. From\nthen on nvmet_tcp_try_recv_data() sees the record type of that first\nreceive: if it was an alert, all later data is dropped as alerts and the\nqueue stalls, if it was data, a later alert can't be reported and\ntls_sw_recvmsg() fails with -EIO.\n\nSet up the control buffer before each receive, like the other receive\npaths do.","publishedAt":"2026-12-03T09:21:23.600Z","updatedAt":"2026-12-03T09:21:23.600Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"5da2134d6d82518a68d8682d697cf00a021afc05","versionType":"git"},{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"d1dc307c7e98a0111bf26c947319e32a9e8cb146","versionType":"git"},{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"31bc1461961ceb4a3df33a7560cf4a2c77e9d1ff","versionType":"git"},{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"77f72de389e3774dc95d7cd03a98a73e47013abd","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.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","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/5da2134d6d82518a68d8682d697cf00a021afc05","https://git.kernel.org/stable/c/d1dc307c7e98a0111bf26c947319e32a9e8cb146","https://git.kernel.org/stable/c/31bc1461961ceb4a3df33a7560cf4a2c77e9d1ff","https://git.kernel.org/stable/c/77f72de389e3774dc95d7cd03a98a73e47013abd"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143287.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143287","state":"PUBLISHED","datePublished":"2026-12-03T09:21:23.600Z","dateUpdated":"2026-12-03T09:21:23.600Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.364Z"},"containers":{"cna":{"title":"nvmet-tcp: ask for the TLS record type on every receive","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnvmet-tcp: ask for the TLS record type on every receive\n\nnvmet_tcp_alloc_cmd() points recv_msg.msg_control at recv_cbuf once.\nThe first receive that stores a record type there advances msg_control\nand leaves msg_controllen at 0 for the lifetime of the command. From\nthen on nvmet_tcp_try_recv_data() sees the record type of that first\nreceive: if it was an alert, all later data is dropped as alerts and the\nqueue stalls, if it was data, a later alert can't be reported and\ntls_sw_recvmsg() fails with -EIO.\n\nSet up the control buffer before each receive, like the other receive\npaths do."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"5da2134d6d82518a68d8682d697cf00a021afc05","versionType":"git"},{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"d1dc307c7e98a0111bf26c947319e32a9e8cb146","versionType":"git"},{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"31bc1461961ceb4a3df33a7560cf4a2c77e9d1ff","versionType":"git"},{"version":"a1c5dd8355b172b44a4ff8248fb487006236a918","status":"affected","lessThan":"77f72de389e3774dc95d7cd03a98a73e47013abd","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.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","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/5da2134d6d82518a68d8682d697cf00a021afc05"},{"url":"https://git.kernel.org/stable/c/d1dc307c7e98a0111bf26c947319e32a9e8cb146"},{"url":"https://git.kernel.org/stable/c/31bc1461961ceb4a3df33a7560cf4a2c77e9d1ff"},{"url":"https://git.kernel.org/stable/c/77f72de389e3774dc95d7cd03a98a73e47013abd"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:23.600Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}