{"id":"CVE-2026-143204","state":"PUBLISHED","title":"tcp: Do not allow buggy transitions between ehash and lhash2.","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: Do not allow buggy transitions between ehash and lhash2.\n\nThe following state transitions have long been a playground for\nsyzbot, and recently AI joined in, reporting a lot more bugs.\n\n  * listen() + shutdown() + connect()\n  * connect() + connect(AF_UNSPEC) + listen()\n\nAll the fix attempts would add more code to the fast path, which\nis not worth it.\n\nInstead of playing whack-a-mole with these edge-case bugs,\nlet's disallow these transitions.\n\nNote that unhashed_state is placed in the 4-byte hole after\nicsk_pmtu_cookie.\n\n  $ pahole -C inet_connection_sock vmlinux\n  struct inet_connection_sock {\n  ...\n\t__u32                      icsk_pmtu_cookie;     /*  1208     4 */\n\tunsigned char              unhashed_state;       /*  1212     1 */\n\n\t/* XXX 3 bytes hole, try to pack */","publishedAt":"2026-12-03T09:20:28.246Z","updatedAt":"2026-12-03T09:20:28.246Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"79dbec9552ea23ac4429626fa608aff520246d1d","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"0b29f696c06a21f8bce84345d57ffbe82a11e11b","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"8cc3aef0cb198049805ecc061a2cc7b79b0ae43e","versionType":"git"},{"version":"0","status":"affected","lessThan":"6.12.120","versionType":"semver"},{"version":"0","status":"affected","lessThan":"6.18.66","versionType":"semver"},{"version":"0","status":"affected","lessThan":"7.3.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/inet_connection_sock.h","net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"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-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/inet_connection_sock.h","net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c"]}],"references":["https://git.kernel.org/stable/c/79dbec9552ea23ac4429626fa608aff520246d1d","https://git.kernel.org/stable/c/7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4","https://git.kernel.org/stable/c/0b29f696c06a21f8bce84345d57ffbe82a11e11b","https://git.kernel.org/stable/c/8cc3aef0cb198049805ecc061a2cc7b79b0ae43e"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143204.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143204","state":"PUBLISHED","datePublished":"2026-12-03T09:20:28.246Z","dateUpdated":"2026-12-03T09:20:28.246Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.359Z"},"containers":{"cna":{"title":"tcp: Do not allow buggy transitions between ehash and lhash2.","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: Do not allow buggy transitions between ehash and lhash2.\n\nThe following state transitions have long been a playground for\nsyzbot, and recently AI joined in, reporting a lot more bugs.\n\n  * listen() + shutdown() + connect()\n  * connect() + connect(AF_UNSPEC) + listen()\n\nAll the fix attempts would add more code to the fast path, which\nis not worth it.\n\nInstead of playing whack-a-mole with these edge-case bugs,\nlet's disallow these transitions.\n\nNote that unhashed_state is placed in the 4-byte hole after\nicsk_pmtu_cookie.\n\n  $ pahole -C inet_connection_sock vmlinux\n  struct inet_connection_sock {\n  ...\n\t__u32                      icsk_pmtu_cookie;     /*  1208     4 */\n\tunsigned char              unhashed_state;       /*  1212     1 */\n\n\t/* XXX 3 bytes hole, try to pack */"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"79dbec9552ea23ac4429626fa608aff520246d1d","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"0b29f696c06a21f8bce84345d57ffbe82a11e11b","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"8cc3aef0cb198049805ecc061a2cc7b79b0ae43e","versionType":"git"},{"version":"0","status":"affected","lessThan":"6.12.120","versionType":"semver"},{"version":"0","status":"affected","lessThan":"6.18.66","versionType":"semver"},{"version":"0","status":"affected","lessThan":"7.3.7","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/inet_connection_sock.h","net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"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-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["include/net/inet_connection_sock.h","net/ipv4/inet_connection_sock.c","net/ipv4/inet_hashtables.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/79dbec9552ea23ac4429626fa608aff520246d1d"},{"url":"https://git.kernel.org/stable/c/7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4"},{"url":"https://git.kernel.org/stable/c/0b29f696c06a21f8bce84345d57ffbe82a11e11b"},{"url":"https://git.kernel.org/stable/c/8cc3aef0cb198049805ecc061a2cc7b79b0ae43e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:28.246Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}