CVE-2026-139098
Description
In the Linux kernel, the following vulnerability has been resolved: tcp: avoid double destroy in tcp_abort() of an unaccepted child tcp_abort() checks for TCP_CLOSE while only owning the socket lock, then grabs the BH lock before calling tcp_done_with_error(). For a child still sitting in a listener accept queue (which can be reached via SOCK_DESTROY or bpf_sock_destroy()), inet_csk_listen_stop() can run in this window: it only holds the child BH lock, and calls inet_child_forget(), which disconnects, orphans and destroys the child. tcp_abort() then calls tcp_done_with_error() -> tcp_done(), which sees SOCK_DEAD and calls inet_csk_destroy_sock() a second time, leading to a double sock_put() and a use-after-free. Recheck TCP_CLOSE after acquiring the BH lock, unless we just closed a listener ourselves, in which case tcp_done_with_error() must still run to report the error. Note that the WARN_ON(sock_owned_by_user(child)) in inet_csk_listen_stop() can still trigger in this window. [edumazet: recheck TCP_CLOSE under the BH lock instead of moving the test, smaller diff]
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | linux |
Affected | — |
| sid | linux |
Fixed | 7.3.6-1 |
| forky | linux |
Fixed | 7.3.6-1 |
| bookworm | linux |
Affected | — |
References
- https://git.kernel.org/stable/c/35732ee7c3a78061dea9421d44d382c94f53ff6c
- https://git.kernel.org/stable/c/92f78b000427f5705171497135fe4f0d202c0a88
- https://git.kernel.org/stable/c/b6bdafd96b74ad0684f09599f9d56695c1854968
- https://git.kernel.org/stable/c/dbd62ad55a4c898f5a4c9edb20c0c062afb799df
- https://git.kernel.org/stable/c/ee9cfcb38b09569c50ce0ab3dabafa201c498ae1
- https://security-tracker.debian.org/tracker/CVE-2026-139098
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.