CVE-2026-143203

Source
https://cve.org/CVERecord?id=CVE-2026-143203
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143203.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143203
Downstream
Published
2026-12-03T09:20:27Z
Modified
2026-12-03T11:01:40Z
Summary
tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF
Details

In the Linux kernel, the following vulnerability has been resolved:

tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF

After listen() + shutdown(), a TCP socket is moved to the closed section of its reuseport group, while TCP_NEW_SYN_RECV requests can still reference it as rsk_listener.

If SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket, reuseport_attach_prog() calls reuseport_alloc(), which resurrects it into the listening section of a new group, even though the socket is still in TCP_CLOSE.

After close(), the socket stays in that group and the pending requests keep it allocated. When the final ACK arrives, reuseport_migrate_sock() can select this dead socket and inet_csk_clone_lock() clones it. With a ULP like espintcp installed while in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct after tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a use-after-free in espintcp_destruct().

As done in commit 8cc3aef0cb19 ("tcp: Do not allow buggy transitions between ehash and lhash2."), deny this transition instead of adding checks to the fast path.

Only an unhashed former listener is affected. Applications can still attach a reuseport prog to a socket that never listened, or to a listener (including one that called listen() again after shutdown()).

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143203.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
333bb73f620e1a5f2e0b8df2c0d25300fab36d89
Fixed
c00971ee9ddbdb73db7b0919c10e60a6526b1723
Fixed
a7953fe27e521a1031de6b92c09229f2e92af9fb
Fixed
040f915bd4e4d6f328eae4ea80ebac7c19ea25fd
Fixed
8c011697f76abf3b2302718a7a1c50e36d849f28

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143203.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.14.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-143203.json"