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 */
Metrics
No CVSS score has been published yet.
Affected software
Source: the vendor's advisory (CNA). NVD analysis pending.
No affected versions have been published.
Timeline
- Published
- Dec 3, 2026
- Last modified
- Dec 3, 2026
- NVD status
- Received