Skip to main content

Linux Kernel CVE-2026-139098

| EUVDEUVD-2026-138651 HIGH
2026-11-30 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-fhq6-gwg3-f43j
7.8
CVSS 3.1 · Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain CAP_NET_ADMIN or BPF capability
  2. Delivery
    Select child socket in listener accept queue
  3. Exploit
    Race SOCK_DESTROY against listener teardown
  4. Execution
    Trigger double sock_put() use-after-free
  5. Impact
    Corrupt kernel memory toward privilege escalation

Vulnerability Assessment

Exploitation Conditions

Exploitation requires local access plus the privilege to destroy a socket out-of-band: specifically the ability to call SOCK_DESTROY (netlink socket diag destroy, gated by CAP_NET_ADMIN) or bpf_sock_destroy() (BPF program context) against a TCP child socket that is still in a listener's accept queue (i.e., a connection accepted by the stack but not yet accept()'ed by userspace). The attacker must additionally win a race against inet_csk_listen_stop() running concurrently under the child's BH lock. Limiting factors: the required capabilities are not available to a default unprivileged user, the vulnerable state (child in accept queue) is transient, and success is timing-dependent rather than deterministic. No special non-default build configuration is required - the affected tcp_abort() path is standard in affected kernel versions.

Impact

This is a genuine local privilege-escalation-class memory-safety flaw (use-after-free via a double sock_put) in the Linux kernel TCP stack, but the signals converge on moderate rather than emergency urgency. The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N, C:H/I:H/A:H, base 7.8) describes a local, low-privilege attacker achieving full confidentiality/integrity/availability impact - consistent with kernel memory corruption. However, two signals temper this: EPSS is low at 0.32% (27th percentile), and there is no CISA KEV listing and no public exploit reference in the input (the git.kernel.org links are patch commits, not PoCs). I note a discrepancy worth flagging: the official vector uses AC:L, yet the description explicitly describes a narrow race window ('inet_csk_listen_stop() can run in this window'), which argues for higher attack complexity (AC:H) - the bug requires winning a race, not a deterministic trigger. Exploitation also requires the ability to invoke SOCK_DESTROY or bpf_sock_destroy(), which are privileged operations (CAP_NET_ADMIN / BPF), not available to an unprivileged local user by default - so PR:L is appropriate and the 'any local user' reading would overstate reach. The vuln.today 'this_week' decision label aligns with this picture: a real priority to schedule into the current patch cycle, but not an actively-exploited emergency. Treat as a standard kernel-UAF that merits prompt patching, especially on multi-tenant hosts where attackers may hold CAP_NET_ADMIN in a namespace or run BPF.

Exploit ScenarioDerived

A local attacker holding CAP_NET_ADMIN (or BPF privileges) targets a TCP child socket still sitting in a listener's accept queue and issues a SOCK_DESTROY (or bpf_sock_destroy()) call timed to race against the listener's teardown path. If the race is won, tcp_abort() and inet_csk_listen_stop() both destroy the same child, causing a double sock_put() and a use-after-free of the freed socket, which can be leveraged toward kernel memory corruption and privilege escalation. No public exploit identified at time of analysis; the trigger is a timing-dependent race, so reliable exploitation is non-trivial.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 02, 2026

A race condition in the Linux kernel TCP stack allows a local attacker holding CAP_NET_ADMIN (or a BPF program context) to trigger a use-after-free in tcp_abort() when destroying a child socket that still sits in a listener's accept queue. The flaw stems from tcp_abort() checking TCP_CLOSE while holding only the socket lock, then taking the BH lock; inet_csk_listen_stop() can run in that window and destroy the child via inet_child_forget(), after which tcp_done() sees SOCK_DEAD and calls inet_csk_destroy_sock() a second time, causing a double sock_put(). Exploitation requires local access, the ability to invoke SOCK_DESTROY or bpf_sock_destroy(), and winning a timing-dependent race, so despite a high-impact memory-corruption outcome the practical prerequisites keep urgency moderate; no public exploit has been identified at time of analysis and EPSS is low at 0.32%.

RemediationAI

Apply the vendor-released kernel updates: 6.6.163 for the 6.6 branch, 6.12.119 for the 6.12 branch, 6.18.65 for the 6.18 branch and 7.3.6 for the 7.x line, or pick up the corresponding stable commits (35732ee7c3a78061dea9421d44d382c94f53ff6c, 92f78b000427f5705171497135fe4f0d202c0a88, b6bdafd96b74ad0684f09599f9d56695c1854968, dbd62ad55a4c898f5a4c9edb20c0c062afb799df, ee9cfcb38b09569c50ce0ab3dabafa201c498ae1) referenced in the NVD record at https://nvd.nist.gov/vuln/detail/CVE-2026-139098. Because the vulnerable path is reached only by callers with CAP_NET_ADMIN or a BPF program able to call bpf_sock_destroy(), restricting that capability to trusted administrative workloads and auditing BPF program attachment limits exposure until the kernel can be updated; the trade-off is loss of legitimate socket-diag destroy tooling and reduced BPF flexibility for restricted users. No other vendor-specific workaround is documented in the available sources.

Affected VersionsENISA

Linux patch: 7.4-rc1
Linux bac76cf89816bff06c4ec2f3df97dc34e150a1c4 <ee9cfcb38b09569c50ce0ab3dabafa201c498ae1
Linux 6.11
Linux 372df1f2057c389490d4ae726eef9772a3a4d5f2 <b6bdafd96b74ad0684f09599f9d56695c1854968
Linux patch: 0
Linux patch: 6.18.65
Linux 6.6.84 <6.6.163
Linux bac76cf89816bff06c4ec2f3df97dc34e150a1c4 <35732ee7c3a78061dea9421d44d382c94f53ff6c
Linux bac76cf89816bff06c4ec2f3df97dc34e150a1c4 <92f78b000427f5705171497135fe4f0d202c0a88
Linux patch: 6.12.119
Linux patch: 7.3.6
Linux 6.10.8 <6.11
Linux 6.1.132 <6.2
Linux patch: 6.6.163
Linux bac76cf89816bff06c4ec2f3df97dc34e150a1c4 <dbd62ad55a4c898f5a4c9edb20c0c062afb799df
Linux b753821e069413d801a7c6df3c0b45cff2b443ad
Linux 1c2ea2326afa066e915b489c4114c5f1944155af

Affected Packages

euvd linux fix: 6.2, 6.6.163, 6.11

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code is the Linux kernel networking subsystem, specifically tcp_abort() in the TCP socket teardown path. tcp_abort() first tests for TCP_CLOSE while holding only the socket lock, then acquires the bottom-half (BH) lock before calling tcp_done_with_error(). A child socket created by an incoming connection can reside in a listener's accept queue, reachable for out-of-band destruction through SOCK_DESTROY (netlink sock_diag, gated by CAP_NET_ADMIN) or bpf_sock_destroy(). In the window between the TCP_CLOSE check and BH lock acquisition, inet_csk_listen_stop() may execute holding only the child's BH lock and invoke inet_child_forget(), which disconnects, orphans and destroys the child. When tcp_abort() subsequently reaches tcp_done_with_error() -> tcp_done(), the socket already carries SOCK_DEAD, so inet_csk_destroy_sock() runs a second time, producing a double sock_put() and a use-after-free. The upstream fix rechecks TCP_CLOSE after acquiring the BH lock, except when a listener was just closed by the caller, in which case tcp_done_with_error() must still run to report the error. The advisory notes that the WARN_ON(sock_owned_by_user(child)) in inet_csk_listen_stop() can still trigger in this window. Root cause class: concurrency/lifecycle flaw leading to double-free and use-after-free.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Local only (AV:L); the described race window makes the trigger timing-dependent (AC:H); SOCK_DESTROY/bpf_sock_destroy require CAP_NET_ADMIN/BPF, not full root (PR:L); UAF enables kernel memory corruption (C/I/A:H).

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (416baaa9-dc9f-4396-8d5f-8c081fb06d67).

CVSS VectorVendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

4
CVSS changed
Dec 01, 2026 - 06:22 NVD
7.8 (HIGH)
Patch available
Nov 30, 2026 - 15:04 EUVD
CVE Published
Nov 30, 2026 - 14:18 cve.org
HIGH 7.8
CVE Published
Nov 30, 2026 - 14:18 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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]

Executive ViewAI

Why It Matters

A high-severity race condition in the Linux kernel's TCP stack (CVE-2026-139098) can be exploited by a local attacker with CAP_NET_ADMIN or BPF privileges to cause a use-after-free, leading to potential system crashes or privilege escalation. This affects any Linux-based systems where such privileges are granted to untrusted users, and while exploitation requires local access and winning a timing-dependent race, the impact could be severe for affected environments. Leadership should prioritize patching because the vulnerability is remotely exploitable? No, locally exploitable and could lead to full system compromise if successfully triggered.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 73% exploitable
Prevalence
Ubiquitous
core Linux kernel TCP stack, present in nearly all deployments
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +39
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy