{"id":"CVE-2026-143199","summary":"tcp: Drop any segments if DEFER_CONNECT is set.","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: Drop any segments if DEFER_CONNECT is set.\n\nTCP Fast Open lets a client send data in its SYN. With\nTCP_FASTOPEN_CONNECT and a cached Fast Open cookie, which the server\nsent in the SYN-ACK of an earlier connection, the connection is set up\nin two steps:\n\n- connect() sends nothing, so that the SYN can carry the data of the\n  first write(). It only sets DEFER_CONNECT and inserts the socket into\n  the hash table in SYN_SENT.\n- The first write() calls tcp_connect(), which runs tcp_connect_init()\n  and sends the SYN.\n\nA socket must not accept any segment before it has sent its SYN. But\nnothing on the receive path checks DEFER_CONNECT. So until the write(),\nthe half-initialised socket processes segments like any socket in\nSYN_SENT, and a forged SYN is accepted.\n\nSimilarly, ICMP with seq matching ISN is accepted in the state.\nBefore commit 57889a8f6d49 (\"tcp: initialize send sequence numbers\nbefore deferring TFO\"), even seq 0 message was accepted.\n\nDrop any segments if DEFER_CONNECT is set.\n\n[kuniyu: revised DEFER_CONNECT tests and the commit message]","modified":"2026-12-03T11:01:36.440359129Z","published":"2026-12-03T09:20:25.014Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143199.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3b07ffb280cf172e9185334c15d91b0c2c96f372"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44809e49177992b15708a150437d9aebc5beea9c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e2b5c5a848d8f29f5c7bd32aefa5d1f533bcdaea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ff1dfbb8fd2ba5bdbed637947c52adc5e7208421"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143199.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143199"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2"},{"fixed":"e2b5c5a848d8f29f5c7bd32aefa5d1f533bcdaea"},{"fixed":"3b07ffb280cf172e9185334c15d91b0c2c96f372"},{"fixed":"ff1dfbb8fd2ba5bdbed637947c52adc5e7208421"},{"fixed":"44809e49177992b15708a150437d9aebc5beea9c"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143199.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.11.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143199.json"}}],"schema_version":"1.9.2"}