tcp: Do not allow buggy transitions between ehash and lhash2.
- CVE-2026-143204
- GHSA-c25c-3vm9-4v9h
- EUVD-2026-142854
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: Do not allow buggy transitions between ehash and lhash2. The following state transitions have long been a playground for syzbot, and recently AI joined in, reporting a lot more bugs. * listen() + shutdown() + connect() * connect() + connect(AF_UNSPEC) + listen() All the fix attempts would add more code to the fast path, which is not worth it. Instead of playing whack-a-mole with these edge-case bugs, let's disallow these transitions. Note that unhashed_state is placed in the 4-byte hole after icsk_pmtu_cookie. $ pahole -C inet_connection_sock vmlinux struct inet_connection_sock { ... __u32 icsk_pmtu_cookie; /* 1208 4 */ unsigned char unhashed_state; /* 1212 1 */ /* XXX 3 bytes hole, try to pack */
Text from the CVE.org record.
Recommendation
Linux
- If you run a version before 7.3.7update to 7.3.7 or later
- If you run a version before 6.18.66update to 6.18.66 or later
- If you run a version before 6.12.120update to 6.12.120 or later
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
Linux
Affected versions Fixed in before 7.3.7 7.3.7 before 6.18.66 6.18.66 before 6.12.120 6.12.120 from 6.12.120 up to 6.12.*: not affected none stated from 6.18.66 up to 6.18.*: not affected none stated from 7.3.7 up to 7.3.*: not affected none stated from 7.4-rc1 onwards: not affected none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.