Skip to main content

Linux Kernel CVE-2026-72139

| EUVDEUVD-2026-58897 CRITICAL
2026-08-15 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-vw9x-rc5g-h57c
Critical
Disputed · 9.8 Vendor: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
View

Attack ChainAIDerived

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

  1. Access
    Local access with socket/auth-key capability
  2. Delivery
    Configure conflicting MD5 + AO keys on socket
  3. Exploit
    Call connect() to enter TCP_SYN_SENT on ehash
  4. Execution
    Race softirq RX reader against tcp_clear_md5_list free
  5. Persist
    Dereference freed tcp_md5sig_key (UAF)
  6. Impact
    Memory disclosure or corruption

Vulnerability Assessment

Exploitation Conditions

Requires local ability to open a TCP socket and configure BOTH a TCP-MD5 signature key and a TCP-AO key on it (TCP_MD5SIG / TCP-AO setsockopt), then trigger tcp_connect() so the socket is in TCP_SYN_SENT and already inserted into the inet ehash - the specific needs_ao reconciliation branch (needs_ao true, needs_md5 false) must be taken. Exploitation is limited by: (1) it is a race against the softirq RX path, so success needs precise timing and concurrent inbound traffic to the socket; (2) it is local, not packet-triggerable from the network despite the CVSS AV:N; (3) it depends on kernels that support both TCP-MD5 and TCP-AO with the auth reconciliation code present; and (4) setting these auth options typically requires elevated capability (CAP_NET_ADMIN or an unprivileged user namespace granting it). The author notes the demonstrated reproducer lands in the already-fixed needs_md5 branch, so this exact branch has no confirmed working trigger.

Impact

The published CVSS 9.8 (AV:N/AC:L/PR:N/UI:N) substantially overstates real-world risk and reflects the automated scoring commonly applied to kernel CVEs. The vulnerable free executes in the LOCAL tcp_connect() path and requires the attacker to configure MD5 and/or AO keys on a socket and win a tight timing race against concurrent softirq RX processing - this is a local, high-complexity condition, not remote unauthenticated exploitation, so AV:N/AC:L conflicts with the description and should be treated as AV:L/AC:H. Corroborating low-risk signals: EPSS is 0.21% (11th percentile), the CVE is not in CISA KEV, and the author explicitly notes the userns reproducer does NOT even reach this (needs_ao) branch - it lands in the already-fixed needs_md5 branch. Net assessment: a real but niche local memory-corruption bug of interest to kernel hardening, not an emergency internet-facing threat; patch on normal maintenance cadence unless the host exposes untrusted local users/containers that can set TCP auth keys.

Exploit ScenarioDerived

A local user (or a process inside a user namespace with the ability to set TCP auth options) creates a TCP socket, installs conflicting MD5 and AO keys, and issues connect() so the socket enters TCP_SYN_SENT while already in the ehash; simultaneously it drives inbound packets to keep the softirq RX path looking up MD5 keys. Winning the race causes __tcp_md5_do_lookup to dereference a tcp_md5sig_key just freed by tcp_clear_md5_list, yielding slab use-after-free that could be shaped toward information disclosure or memory corruption. No public exploit identified at time of analysis, and the known userns reproducer does not reach this branch, so weaponization would require additional research.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 17, 2026

Use-after-free in the Linux kernel's IPv4 TCP stack (net/ipv4/tcp_output.c) occurs when tcp_connect() reconciles conflicting TCP-MD5 and TCP-AO authentication keys on a socket that is already in TCP_SYN_SENT and hashed into the inet ehash. In the needs_ao branch, tcp_clear_md5_list() frees each tcp_md5sig_key and the md5sig_info container with bare kfree() before the RCU grace period, while softirq RX-path readers (__tcp_md5_do_lookup / __tcp_md5_do_lookup_exact) are still walking the same list under RCU, producing a per-key slab use-after-free. It affects kernels on the 6.18 line (and the described stable range) and is fixed by deferring frees with kfree_rcu; no public exploit identified at time of analysis, and EPSS is low (0.21%, 11th percentile).

RemediationAI

Vendor-released patch: upgrade to Linux 6.18.40 or 7.1.5 (or 7.2-rc2 for the mainline release candidate), which convert the bare kfree() in tcp_connect() to kfree_rcu() and make tcp_clear_md5_list() RCU-safe (hlist_del_rcu + kfree_rcu). The fix commits are at https://git.kernel.org/stable/c/33a1bee413628378fd036a4f2b17ba86b0bc560c, https://git.kernel.org/stable/c/b74cd55038905d5e74c1de109ab78a30b2ea0e1f, and https://git.kernel.org/stable/c/da48b9bf1eb95a9cfd09d615ca58cfc2b03de369; distribution kernels should be updated to the vendor build incorporating these. As a compensating control on hosts that cannot patch immediately, restrict the ability to set TCP-MD5/TCP-AO keys and to create unprivileged user namespaces (sysctl kernel.unprivileged_userns_clone=0 where supported), since the race requires an actor able to configure these socket options; the trade-off is that disabling unprivileged userns can break sandboxed applications and container runtimes that rely on it, and hosts that legitimately use TCP-MD5 for BGP peering cannot simply disable the feature.

Affected VersionsENISA

Linux patch: 7.1.5
Linux patch: 6.18.40
Linux 51e547e8c89c661f6fbede4a28b1d33b13625683 <da48b9bf1eb95a9cfd09d615ca58cfc2b03de369
Linux 6.18
Linux patch: 7.2-rc2
Linux 51e547e8c89c661f6fbede4a28b1d33b13625683 <b74cd55038905d5e74c1de109ab78a30b2ea0e1f
Linux 51e547e8c89c661f6fbede4a28b1d33b13625683 <33a1bee413628378fd036a4f2b17ba86b0bc560c
Linux patch: 0

Affected Packages

euvd linux no fix

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 flaw lives in the interaction between TCP's two authentication mechanisms - the older TCP-MD5 signature option (TCP_MD5SIG, historically used to protect BGP sessions) and the newer TCP-AO (Authentication Option). Both maintain per-socket auth-info objects (tcp_md5sig_info holding a hlist of tcp_md5sig_key, and tcp_ao_info). These structures are read locklessly on the softirq receive path via RCU (hlist_for_each_entry_rcu), so any teardown must respect an RCU grace period before freeing. The root cause class is a classic Use-After-Free (CWE-416, though the feed lists CWE as N/A): the container was freed with bare kfree() and the per-key list was torn down with hlist_del + kfree in process context, both before readers that captured the objects had exited rcu_read_unlock(). The fix restores the lifecycle invariant the rest of tcp_ipv4.c already follows (kfree_rcu / hlist_del_rcu, as in tcp_md5_do_del and the tcp_md5sig_info_add rollback paths).

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

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

Free occurs in the local connect() path and needs configured auth keys (PR:L) plus a timing race against softirq RX (AV:L, AC:H); UAF can corrupt kernel memory, so C/I/A High.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.0 MEDIUM

vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.

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

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

Lifecycle Timeline

4
CVSS changed
Aug 17, 2026 - 06:22 NVD
9.8 (CRITICAL)
Patch available
Aug 15, 2026 - 07:20 EUVD
CVE Published
Aug 15, 2026 - 06:21 cve.org
CRITICAL 9.8
CVE Published
Aug 15, 2026 - 06:21 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

tcp: defer md5sig_info kfree past RCU grace period in tcp_connect

The md5+ao reconciliation in tcp_connect() (net/ipv4/tcp_output.c) has two symmetric branches:

if (needs_md5) { tcp_ao_destroy_sock(sk, false); } else if (needs_ao) { tcp_clear_md5_list(sk); kfree(rcu_replace_pointer(tp->md5sig_info, NULL, ...)); }

Both branches free a per-socket auth-info object while the socket is in TCP_SYN_SENT and is already on the inet ehash (inserted by inet_hash_connect() in tcp_v4_connect()). Both branches are reachable by softirq RX-path readers that load the corresponding info pointer via implicit RCU before bh_lock_sock_nested() is taken.

The needs_md5 branch is fixed in the prior patch by re-introducing the call_rcu() free in tcp_ao_destroy_sock(): the equivalent per-key loop runs inside tcp_ao_info_free_rcu(), the RCU callback, so by the time it frees each tcp_ao_key all softirq readers that captured the container have already completed rcu_read_unlock().

The needs_ao branch is not symmetric in the same way. The container free can be deferred via kfree_rcu(md5sig, rcu) -- struct tcp_md5sig_info already has the required rcu member (include/net/tcp.h:1999-2002), and the rest of the tree already does this in the tcp_md5sig_info_add() rollback paths (net/ipv4/tcp_ipv4.c:1410, 1436). But the per-key teardown is done by tcp_clear_md5_list() in process context BEFORE the container's RCU grace period: it walks &md5sig->head and frees each tcp_md5sig_key with bare hlist_del + kfree. A concurrent softirq reader in __tcp_md5_do_lookup() / __tcp_md5_do_lookup_exact() (tcp_ipv4.c:1253, 1298) walks the same list via hlist_for_each_entry_rcu() and races with that bare kfree on the keys themselves -- a per-key slab use-after-free of the same class as the TCP-AO bug, on the same race window.

Fix this in two halves:

  1. Convert the bare kfree() in tcp_connect() to kfree_rcu() so the

md5sig_info container joins the rest of the md5sig lifecycle. The local-variable lift is mechanical and required because kfree_rcu() is a macro that expects an lvalue.

  1. Make tcp_clear_md5_list() RCU-safe by replacing hlist_del +

kfree(key) with hlist_del_rcu + kfree_rcu(key, rcu). struct tcp_md5sig_key already carries the rcu member (include/net/tcp.h:1995) and tcp_md5_do_del() (net/ipv4/tcp_ipv4.c:1456) already uses kfree_rcu, so this restores the lifecycle invariant the rest of the file follows rather than introducing a one-off.

The other caller of tcp_clear_md5_list() is tcp_md5_destruct_sock() (net/ipv4/tcp.c:412), which runs from the sock destructor when the socket is already unhashed and unreachable; the extra grace period there is unnecessary but harmless. Making the helper unconditionally RCU-safe is the cleaner contract.

The needs_ao branch is not reachable by the userns reproducer used to demonstrate the AO-side splat (the repro installs both keys but ends up in the needs_md5 branch because the connect peer matches the MD5 key, not the AO key); however the symmetric race exists and a maintainer touching this code should not have to think about which branch escapes RCU and which one does not.

[also credits to Qihang, who found that this races with tcp-diag]

Executive ViewAI

Why It Matters

A critical memory safety vulnerability in the core Linux kernel networking layer (CVE-2026-72139) could cause system crashes on servers running kernel 6.18 and related stable branches, disrupting enterprise services. No active exploitation has been observed, but the technical severity and widespread deployment of affected kernel versions necessitate prompt remediation to maintain system reliability and security posture.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Ubiquitous
Linux kernel networking stack runs on the vast majority of servers and appliances
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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Not-Affected
SUSE Linux Enterprise High Availability Extension 16.0 Affected

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