Skip to main content
No exploitation reportedFix availableAwaiting NVD analysis

CVE-2026-139098

tcp: avoid double destroy in tcp_abort() of an unaccepted child

No exploitation reported by the sources we read.

  • Published2026-11-30
  • Fixed in7.3.6 · 6.18.65 · 6.12.119 · 6.11 · 6.6.163 · 6.2

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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]

Timeline

dates in UTC
  1. 2026-11-3013:31CVE publishedCNA

Versions per branch

OSV
Linux kernel
BranchAffectedFixed in
7.3≥ 6.19.0, < 7.3.67.3.6
6.x≥ 6.13.0, < 6.18.656.18.65
6.x≥ 6.11.0, < 6.12.1196.12.119
6.x≥ 6.10.8, < 6.116.11
6.6≥ 6.6.84, < 6.6.1636.6.163
6.x≥ 6.1.132, < 6.26.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA2 products

As Linux, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Linuxother versions: not affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • ≥ 372df1f2057c389490d4ae726eef9772a3a4d5f2, < b6bdafd96b74ad0684f09599f9d56695c1854968fixed in b6bdafd96b74ad0684f09599f9d56695c1854968git
    • ≥ bac76cf89816bff06c4ec2f3df97dc34e150a1c4, < 35732ee7c3a78061dea9421d44d382c94f53ff6cfixed in 35732ee7c3a78061dea9421d44d382c94f53ff6cgit
    • ≥ bac76cf89816bff06c4ec2f3df97dc34e150a1c4, < ee9cfcb38b09569c50ce0ab3dabafa201c498ae1fixed in ee9cfcb38b09569c50ce0ab3dabafa201c498ae1git
    • ≥ bac76cf89816bff06c4ec2f3df97dc34e150a1c4, < 92f78b000427f5705171497135fe4f0d202c0a88fixed in 92f78b000427f5705171497135fe4f0d202c0a88git
    • ≥ bac76cf89816bff06c4ec2f3df97dc34e150a1c4, < dbd62ad55a4c898f5a4c9edb20c0c062afb799dffixed in dbd62ad55a4c898f5a4c9edb20c0c062afb799dfgit
    • = b753821e069413d801a7c6df3c0b45cff2b443adno fix statedgit
    • = 1c2ea2326afa066e915b489c4114c5f1944155afno fix statedgit
    • ≥ 6.6.84, < 6.6.163fixed in 6.6.163semver

    2 more version lines in the CVE record.

  • Linuxother versions: affected

    https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

    Affected
    • = 6.11no fix stated

    Not affected < 6.11 · ≥ 6.6.163, ≤ 6.6.* · ≥ 6.12.119, ≤ 6.12.* · ≥ 6.18.65, ≤ 6.18.* · ≥ 7.3.6, ≤ 7.3.* · ≥ 7.4-rc1

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-11-30

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • linuxDebian:14all versions · fixed in 7.3.6-1
  • linuxDebian:13all versions · no fixed version listed
  • linuxDebian:12all versions · no fixed version listed

Full record on NVD

Fix

  1. Update Linux kernel to 7.3.6 · 6.18.65 · 6.12.119 · 6.11 · 6.6.163 · 6.2

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-11-30
  • CNACVSS 3.17.82026-12-01
  • OSVaffected packages—

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2026-11-30
Last modified
2026-11-30
NVD status
Received

Frequently asked questions

What is CVE-2026-139098?

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]

Is CVE-2026-139098 actively exploited?

Active exploitation of CVE-2026-139098 has not been confirmed.

What is the CVSS score for CVE-2026-139098?

CVE-2026-139098 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running Linux kernel? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record