CVE-2026-139098 tcp: avoid double destroy in tcp_abort() of an unaccepted child

Published Updated

CVSS score

High

7.8/10

CVSS 3.1 · Scored by the Linux kernel CNA Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Local or same network
Any signed-in user, no user action

What is CVE-2026-139098?

CVE-2026-139098 is a high-severity vulnerability in Linux, published on 30 Nov 2026.

Official 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]

How severe is CVE-2026-139098?

CVE-2026-139098 scores 7.8 out of 10 under CVSS 3.1, which is high severity. It was scored by the Linux kernel CNA.

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Which versions are affected by CVE-2026-139098?

How do I fix CVE-2026-139098?

Upgrade to a fixed version.

Is CVE-2026-139098 being exploited?

There is no known exploitation of CVE-2026-139098 in the wild and no public exploit code.

Sources

Also known as AZL-117463, BELL-CVE-2026-139098, DEBIAN-CVE-2026-139098, GHSA-fhq6-gwg3-f43j, UBUNTU-CVE-2026-139098.

Is CVE-2026-139098 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free