CVE-2026-139098

HighCVSS 7.8/10Last modified Dec 1, 2026

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]

Metrics

CVSS 3.1 7.8/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Dec 1, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139099In the Linux kernel, the following vulnerability has been resolved: net: bgmac: fix TX DMA unmapping and slot cleanup When mapping a fragmCVE-2026-13915.3The Vzaar Media Management plugin for WordPress is vulnerable to Reflected Cross-Site Scripting in all versions up to, and including, 1.2 duCVE-2026-139106.5Insufficient policy enforcement in WebXR in Google Chrome on Android prior to 150.0.7871.47 allowed a remote attacker to leak cross-origin dCVE-2026-139100In the Linux kernel, the following vulnerability has been resolved: gro: do not GRO GSO packets with inconsistent payload tcp_gro_receive(CVE-2026-139101In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: hand XDP frags over to the copybreak skb With a multi-buffeCVE-2026-139102In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: free XDP frags when xdp_do_redirect() fails When xdp_do_redCVE-2026-1391038.1In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: don't leak buffers when XDP agg buffer allocation fails If CVE-2026-139104In the Linux kernel, the following vulnerability has been resolved: eth: bnxt: recycle agg buffers when Rx head buffer allocation fails bnCVE-2026-139105In the Linux kernel, the following vulnerability has been resolved: netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts netdev_wait_allrefsCVE-2026-139106In the Linux kernel, the following vulnerability has been resolved: apparmor: check connect permission for SCTP SCTP can start an associatCVE-2026-139107In the Linux kernel, the following vulnerability has been resolved: apparmor: convert duplicated dfa transitions to match_char() For histoCVE-2026-1391087.8In the Linux kernel, the following vulnerability has been resolved: apparmor: fix table_size() integer overflow on 32 bit table_size() che
CVE-2026-139098: High severity, CVSS 7.8 | Vulnix