AZL-118331: CVE-2026-143204 affecting package kernel 6.6.161.1-1
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(AFUNSPEC) + 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 unhashedstate is placed in the 4-byte hole after icskpmtucookie.
$ pahole -C inetconnectionsock vmlinux struct inetconnectionsock { ... u32 icskpmtucookie; / 1208 4 / unsigned char unhashedstate; / 1212 1 /
/ XXX 3 bytes hole, try to pack /
Affected Software
Event History
Frequently Asked Questions
What socket operation sequences are involved in this issue?
The issue concerns unusual TCP state transitions involving listen(), shutdown(), and connect(), including listen() followed by shutdown() and connect(), and connect() followed by connect(AF_UNSPEC) and listen().
What does the resolution do to prevent these cases?
The resolution disallows the problematic transitions between ehash and lhash2 rather than adding checks to the TCP fast path. This is intended to prevent the edge-case state changes that have produced repeated bug reports.