{"id":"CVE-2026-143199","state":"PUBLISHED","title":"tcp: Drop any segments if DEFER_CONNECT is set.","description":"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]","publishedAt":"2026-12-03T09:20:25.014Z","updatedAt":"2026-12-03T09:20:25.014Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"e2b5c5a848d8f29f5c7bd32aefa5d1f533bcdaea","versionType":"git"},{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"3b07ffb280cf172e9185334c15d91b0c2c96f372","versionType":"git"},{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"ff1dfbb8fd2ba5bdbed637947c52adc5e7208421","versionType":"git"},{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"44809e49177992b15708a150437d9aebc5beea9c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_input.c","net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_input.c","net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]}],"references":["https://git.kernel.org/stable/c/e2b5c5a848d8f29f5c7bd32aefa5d1f533bcdaea","https://git.kernel.org/stable/c/3b07ffb280cf172e9185334c15d91b0c2c96f372","https://git.kernel.org/stable/c/ff1dfbb8fd2ba5bdbed637947c52adc5e7208421","https://git.kernel.org/stable/c/44809e49177992b15708a150437d9aebc5beea9c"],"weaknesses":[],"ingestedAt":"2026-12-03T09:40:06.136Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143199.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143199","state":"PUBLISHED","datePublished":"2026-12-03T09:20:25.014Z","dateUpdated":"2026-12-03T09:20:25.014Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.359Z"},"containers":{"cna":{"title":"tcp: Drop any segments if DEFER_CONNECT is set.","descriptions":[{"lang":"en","value":"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]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"e2b5c5a848d8f29f5c7bd32aefa5d1f533bcdaea","versionType":"git"},{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"3b07ffb280cf172e9185334c15d91b0c2c96f372","versionType":"git"},{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"ff1dfbb8fd2ba5bdbed637947c52adc5e7208421","versionType":"git"},{"version":"19f6d3f3c8422d65b5e3d2162e30ef07c6e21ea2","status":"affected","lessThan":"44809e49177992b15708a150437d9aebc5beea9c","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_input.c","net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.11","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.11","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/ipv4/tcp_input.c","net/ipv4/tcp_ipv4.c","net/ipv6/tcp_ipv6.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e2b5c5a848d8f29f5c7bd32aefa5d1f533bcdaea"},{"url":"https://git.kernel.org/stable/c/3b07ffb280cf172e9185334c15d91b0c2c96f372"},{"url":"https://git.kernel.org/stable/c/ff1dfbb8fd2ba5bdbed637947c52adc5e7208421"},{"url":"https://git.kernel.org/stable/c/44809e49177992b15708a150437d9aebc5beea9c"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:20:25.014Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.11","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}