CVE-2026-143269: tcp: initialize send sequence numbers before deferring TFO
In the Linux kernel, the following vulnerability has been resolved:
tcp: initialize send sequence numbers before deferring TFO
TCPFASTOPENCONNECT can return from connect() before tcpconnectinit() when a cached cookie or cookieless Fast Open allows deferring the SYN. At this point writeseq contains the initial sequence number, while snduna and sndnxt have not been initialized to that sequence number.
Consequently, inetdiag and /proc/net/tcp{,6} report the initial sequence number as the send queue length despite no SYN or payload being queued.
Initialize snduna and sndnxt to writeseq before marking the connection as deferred. Both sequence-based queue lengths then remain zero until the first write starts the connection and runs tcpconnectinit().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.120 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.66 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.7
Event History
Frequently Asked Questions
Which systems and connections are affected?
Affected connections use TCP_FASTOPEN_CONNECT and defer the SYN because a cached cookie or cookieless TCP Fast Open is available. The issue is in the Linux kernel TCP implementation.
What is the practical impact of this issue?
Before the connection is started by its first write, inet_diag and /proc/net/tcp or /proc/net/tcp6 can report the initial sequence number as the send-queue length even though no SYN or payload has been queued. This can produce incorrect connection and queue telemetry.
How can I identify an affected connection?
Look for a deferred TCP_FASTOPEN_CONNECT connection that has not yet performed its first write, where inet_diag or /proc/net/tcp{,6} shows a nonzero send queue despite no SYN or payload being queued.