{"api_version":"1","generated_at":"2026-12-03T15:43:17+00:00","cve":"CVE-2026-143203","urls":{"html":"https://cve.report/CVE-2026-143203","api":"https://cve.report/api/cve/CVE-2026-143203.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143203","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143203"},"summary":{"title":"tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF\n\nAfter listen() + shutdown(), a TCP socket is moved to the closed\nsection of its reuseport group, while TCP_NEW_SYN_RECV requests\ncan still reference it as rsk_listener.\n\nIf SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket,\nreuseport_attach_prog() calls reuseport_alloc(), which resurrects\nit into the listening section of a new group, even though the\nsocket is still in TCP_CLOSE.\n\nAfter close(), the socket stays in that group and the pending\nrequests keep it allocated. When the final ACK arrives,\nreuseport_migrate_sock() can select this dead socket and\ninet_csk_clone_lock() clones it. With a ULP like espintcp installed\nwhile in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct\nafter tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a\nuse-after-free in espintcp_destruct().\n\nAs done in commit 8cc3aef0cb19 (\"tcp: Do not allow buggy transitions\nbetween ehash and lhash2.\"), deny this transition instead of adding\nchecks to the fast path.\n\nOnly an unhashed former listener is affected. Applications can still\nattach a reuseport prog to a socket that never listened, or to a\nlistener (including one that called listen() again after shutdown()).","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:17:57","updated_at":"2026-12-03 10:17:57"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/040f915bd4e4d6f328eae4ea80ebac7c19ea25fd","name":"https://git.kernel.org/stable/c/040f915bd4e4d6f328eae4ea80ebac7c19ea25fd","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c00971ee9ddbdb73db7b0919c10e60a6526b1723","name":"https://git.kernel.org/stable/c/c00971ee9ddbdb73db7b0919c10e60a6526b1723","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/8c011697f76abf3b2302718a7a1c50e36d849f28","name":"https://git.kernel.org/stable/c/8c011697f76abf3b2302718a7a1c50e36d849f28","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a7953fe27e521a1031de6b92c09229f2e92af9fb","name":"https://git.kernel.org/stable/c/a7953fe27e521a1031de6b92c09229f2e92af9fb","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143203","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143203","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 c00971ee9ddbdb73db7b0919c10e60a6526b1723 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 a7953fe27e521a1031de6b92c09229f2e92af9fb git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 040f915bd4e4d6f328eae4ea80ebac7c19ea25fd git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 8c011697f76abf3b2302718a7a1c50e36d849f28 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/core/sock_reuseport.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"c00971ee9ddbdb73db7b0919c10e60a6526b1723","status":"affected","version":"333bb73f620e1a5f2e0b8df2c0d25300fab36d89","versionType":"git"},{"lessThan":"a7953fe27e521a1031de6b92c09229f2e92af9fb","status":"affected","version":"333bb73f620e1a5f2e0b8df2c0d25300fab36d89","versionType":"git"},{"lessThan":"040f915bd4e4d6f328eae4ea80ebac7c19ea25fd","status":"affected","version":"333bb73f620e1a5f2e0b8df2c0d25300fab36d89","versionType":"git"},{"lessThan":"8c011697f76abf3b2302718a7a1c50e36d849f28","status":"affected","version":"333bb73f620e1a5f2e0b8df2c0d25300fab36d89","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/core/sock_reuseport.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.14"},{"lessThan":"5.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"5.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF\n\nAfter listen() + shutdown(), a TCP socket is moved to the closed\nsection of its reuseport group, while TCP_NEW_SYN_RECV requests\ncan still reference it as rsk_listener.\n\nIf SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket,\nreuseport_attach_prog() calls reuseport_alloc(), which resurrects\nit into the listening section of a new group, even though the\nsocket is still in TCP_CLOSE.\n\nAfter close(), the socket stays in that group and the pending\nrequests keep it allocated. When the final ACK arrives,\nreuseport_migrate_sock() can select this dead socket and\ninet_csk_clone_lock() clones it. With a ULP like espintcp installed\nwhile in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct\nafter tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a\nuse-after-free in espintcp_destruct().\n\nAs done in commit 8cc3aef0cb19 (\"tcp: Do not allow buggy transitions\nbetween ehash and lhash2.\"), deny this transition instead of adding\nchecks to the fast path.\n\nOnly an unhashed former listener is affected. Applications can still\nattach a reuseport prog to a socket that never listened, or to a\nlistener (including one that called listen() again after shutdown())."}],"providerMetadata":{"dateUpdated":"2026-12-03T09:20:27.612Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/c00971ee9ddbdb73db7b0919c10e60a6526b1723"},{"url":"https://git.kernel.org/stable/c/a7953fe27e521a1031de6b92c09229f2e92af9fb"},{"url":"https://git.kernel.org/stable/c/040f915bd4e4d6f328eae4ea80ebac7c19ea25fd"},{"url":"https://git.kernel.org/stable/c/8c011697f76abf3b2302718a7a1c50e36d849f28"}],"title":"tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143203","datePublished":"2026-12-03T09:20:27.612Z","dateReserved":"2026-12-03T03:10:28.359Z","dateUpdated":"2026-12-03T09:20:27.612Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:17:57","lastModifiedDate":"2026-12-03 10:17:57","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143203","Ordinal":"1","Title":"tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT","CVE":"CVE-2026-143203","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143203","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF\n\nAfter listen() + shutdown(), a TCP socket is moved to the closed\nsection of its reuseport group, while TCP_NEW_SYN_RECV requests\ncan still reference it as rsk_listener.\n\nIf SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket,\nreuseport_attach_prog() calls reuseport_alloc(), which resurrects\nit into the listening section of a new group, even though the\nsocket is still in TCP_CLOSE.\n\nAfter close(), the socket stays in that group and the pending\nrequests keep it allocated. When the final ACK arrives,\nreuseport_migrate_sock() can select this dead socket and\ninet_csk_clone_lock() clones it. With a ULP like espintcp installed\nwhile in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct\nafter tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a\nuse-after-free in espintcp_destruct().\n\nAs done in commit 8cc3aef0cb19 (\"tcp: Do not allow buggy transitions\nbetween ehash and lhash2.\"), deny this transition instead of adding\nchecks to the fast path.\n\nOnly an unhashed former listener is affected. Applications can still\nattach a reuseport prog to a socket that never listened, or to a\nlistener (including one that called listen() again after shutdown()).","Type":"Description","Title":"tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT"}]}}}