CVE-2026-143199
Description
In the Linux kernel, the following vulnerability has been resolved:
tcp: Drop any segments if DEFER_CONNECT is set.
TCP Fast Open lets a client send data in its SYN. With TCP_FASTOPEN_CONNECT and a cached Fast Open cookie, which the server sent in the SYN-ACK of an earlier connection, the connection is set up in two steps:
- connect() sends nothing, so that the SYN can carry the data of the first write(). It only sets DEFER_CONNECT and inserts the socket into the hash table in SYN_SENT. - The first write() calls tcp_connect(), which runs tcp_connect_init() and sends the SYN.
A socket must not accept any segment before it has sent its SYN. But nothing on the receive path checks DEFER_CONNECT. So until the write(), the half-initialised socket processes segments like any socket in SYN_SENT, and a forged SYN is accepted.
Similarly, ICMP with seq matching ISN is accepted in the state. Before commit 57889a8f6d49 ("tcp: initialize send sequence numbers before deferring TFO"), even seq 0 message was accepted.
Drop any segments if DEFER_CONNECT is set.
[kuniyu: revised DEFER_CONNECT tests and the commit message]
Affected products
1Patches
Vulnerability mechanics
References
4News mentions
0No linked articles in our index yet.