Skip to main content

Linux Kernel EUVDEUVD-2026-53275

| CVE-2026-64581 HIGH
Race Condition (CWE-362)
2026-08-05 Linux GHSA-7q3m-x568-mpcp
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain local shell access
  2. Delivery
    Create user+network namespace as unprivileged user
  3. Exploit
    Open connected UDP socket within namespace
  4. Install
    Race setsockopt(IP_XFRM_POLICY) against concurrent UDP send
  5. C2
    Double dst_release() frees xfrm_dst bundle
  6. Execute
    Exploit slab-use-after-free for kernel privilege escalation
  7. Impact
    Gain root

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the ability to create unprivileged user namespaces (kernel.unprivileged_userns_clone=1), which is the default on Ubuntu 20.04+, Debian 11+, Fedora, and most container-host Linux distributions. Within the namespace, the attacker needs a connected UDP socket and the ability to call setsockopt with IP_XFRM_POLICY - both available to the socket owner without additional privileges. The race requires a concurrent UDP send loop; it is a timing-dependent condition but does not require any special hardware, non-default kernel compilation options, or filesystem access. Limiting factors: exploitation fails on distributions where user namespaces are restricted to root (kernel.unprivileged_userns_clone=0, as on some RHEL/CentOS hardened configurations), or where seccomp or LSM policy blocks the relevant setsockopt calls. Physical or SSH local access is required; network-only access without a shell is not sufficient.

Impact

The CVSS 7.8 score with AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H indicates a locally exploitable, low-privilege flaw with full impact, and is broadly consistent with the vulnerability description - though AC:L may be slightly generous for a race condition requiring timing. The critical real-world escalator is the description's explicit statement that the flaw is 'reachable by an unprivileged user via a user+network namespace,' meaning on Ubuntu, Debian, Fedora, and most containerized Linux environments where unprivileged_userns_clone=1 is the default, this is effectively exploitable by any local user without any special group memberships. EPSS at 0.14% (4th percentile) reflects that kernel race-condition exploits require bespoke tooling and exact kernel version matching, limiting opportunistic exploitation. No CISA KEV listing and no known public exploit lower immediate urgency. However, the KASAN trace shows a confirmed write-to-freed-memory primitive - historically a reliable kernel privilege escalation building block - so remediation should not be deferred in multi-tenant or container-host environments. EPSS low score is consistent with targeted rather than mass exploitation.

Exploit ScenarioDerived

An unprivileged attacker on a multi-tenant Linux host creates a user and network namespace, establishes a connected UDP socket within it, and spawns two concurrent threads: one racing setsockopt(IP_XFRM_POLICY) to trigger xfrm_user_policy() and one repeatedly sending UDP datagrams to drive the fast-path sk_dst_check reset. When the race succeeds, both code paths call dst_release() on the same pointer, freeing the xfrm_dst bundle while still in use and producing a slab-use-after-free primitive suitable for kernel memory manipulation. No public proof-of-concept has been identified at time of analysis, but the KASAN trace included in the kernel commit confirms the scenario is reproducible.

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

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

Alert me

AnalysisAIv1 – Aug 08, 2026

Double-free use-after-free in the Linux kernel's xfrm (IPsec) subsystem allows a low-privileged local user to corrupt kernel heap memory, potentially achieving privilege escalation. The race condition in xfrm_user_policy() between a non-atomic sk_dst_cache reset via setsockopt and the UDP fast-path's atomic xchg() reset causes both code paths to observe the same dst pointer and call dst_release() twice, freeing the xfrm_dst bundle while still in use. Critically, the description confirms this is reachable by an unprivileged user via user and network namespaces, making it exploitable on most modern Linux distributions where user namespaces are enabled by default. No public exploit exists and no KEV listing, but the KASAN-confirmed write-to-freed-memory primitive is a classic kernel privilege escalation vector.

RemediationAI

The upstream fix is available via two commits on the Linux stable tree: 96b678d08268b5f5c6fc99d4289d9b7e334fc683 and c283e9ada7fcb7dd4b10592623086b2e6d2f9925 (https://git.kernel.org/stable/c/96b678d08268b5f5c6fc99d4289d9b7e334fc683 and https://git.kernel.org/stable/c/c283e9ada7fcb7dd4b10592623086b2e6d2f9925). The EUVD-reported fixed point is kernel 7.1.6 and 7.2-rc4; distribution maintainers should confirm backport availability for their specific kernel stream. Until a patched kernel is deployed, the primary compensating control for environments where the unprivileged namespace attack path is the concern is to disable unprivileged user namespace creation: execute 'sysctl -w kernel.unprivileged_userns_clone=0' and persist it via /etc/sysctl.d. Trade-off: this breaks rootless container runtimes (Podman, rootless Docker, Flatpak sandboxing) and is therefore unsuitable in developer workstation or container-build environments. An alternative narrow mitigation is restricting setsockopt IP_XFRM_POLICY via seccomp or SELinux/AppArmor policy to limit which processes can trigger the vulnerable code path, at the cost of breaking legitimate IPsec applications.

Affected VersionsENISA

Linux 4.4.163 <4.5
Linux 4.9.89 <4.10
Linux 4.1.52 <4.2
Linux 5eef9b51114fcc65651d671add52f267f91b9451
Linux 9e9fe58a92a46c6d154d2901735bf230d91b8507
Linux 4.4.123 <4.5
Linux c9e82cb34c3c2ee895af01bc899c6ed0bc6eb04a
Linux 3.18.101 <3.19
Linux patch: 0
Linux 2b06cdf3e688b98fcc9945873b5d42792bd4eee0 <96b678d08268b5f5c6fc99d4289d9b7e334fc683
Linux 3.16.52 <3.17
Linux adc1ec6cdc20d430aa01b86497220709b9149466
Linux patch: 7.1.6
Linux 4.14
Linux patch: 7.2-rc4
Linux 72f157be2f81910ae759bfe2e5c2256fc4625645
Linux b54033eb1cfd77aba471269ddd804ed8d3e35dea
Linux 2b06cdf3e688b98fcc9945873b5d42792bd4eee0 <c283e9ada7fcb7dd4b10592623086b2e6d2f9925

Affected Packages

euvd linux fix: 3.17, 3.19, 4.2, 4.5, 4.10

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 xfrm subsystem implements IPsec transform routing in the Linux kernel. Each socket maintains sk_dst_cache, a pointer to a cached dst (destination routing) entry, used to avoid repeated route lookups. The vulnerability arises from a concurrency mismatch: xfrm_user_policy() calls the non-atomic __sk_dst_reset() - which reads the pointer via rcu_dereference_protected(), stores NULL, then calls dst_release() on the old value - while the UDP transmit fast path (udp_sendmsg → sk_dst_check → sk_dst_reset) resets the cache locklessly using an atomic xchg(). When these execute concurrently, both sides can read the same non-NULL old dst before either has written NULL back, resulting in two dst_release() calls on the same object. This drops the reference count below zero, freeing the xfrm_dst bundle while it remains referenced - a classic CWE-415 double-free leading to CWE-416 use-after-free. The fix replaces the non-atomic __sk_dst_reset() with the atomic sk_dst_reset() so only one racing side wins the xchg and releases the pointer. The CPE cpe:2.3:a:linux:linux confirms this is the upstream Linux kernel codebase.

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 (Linux) 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

Race condition requires precise timing (AC:H); user namespace lowers barrier but access remains local with low privilege; full kernel impact on successful exploitation.

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.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Red Hat 4.7 MEDIUM

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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
Aug 08, 2026 - 15:22 NVD
7.8 (HIGH)
Patch available
Aug 05, 2026 - 09:01 EUVD
CVE Published
Aug 05, 2026 - 08:09 cve.org
HIGH 7.8
CVE Published
Aug 05, 2026 - 08:09 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

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

xfrm: fix sk_dst_cache double-free in xfrm_user_policy()

xfrm_user_policy() clears the socket dst cache with __sk_dst_reset(), i.e. the non-atomic __sk_dst_set(sk, NULL): it reads sk_dst_cache with rcu_dereference_protected(), stores NULL and dst_release()s the old dst. That is only safe if no other thread modifies sk_dst_cache concurrently.

For a connected UDP socket that does not hold: the transmit fast path (udp_sendmsg -> sk_dst_check -> sk_dst_reset) resets the cache locklessly with an atomic xchg(). A per-socket policy change racing a send can make both sides observe the same old dst and each dst_release() it, dropping the socket's single reference twice and freeing the xfrm_dst bundle while it is still referenced:

BUG: KASAN: slab-use-after-free in dst_release Write of size 4 at addr ffff88801897b6c0 by task exploit/155 Call Trace: ... dst_release (... ./include/linux/rcuref.h:109) xfrm_user_policy (./include/net/sock.h:2239 ./include/net/sock.h:2256 net/xfrm/xfrm_state.c:3053) do_ip_setsockopt (net/ipv4/ip_sockglue.c:1347) ip_setsockopt (net/ipv4/ip_sockglue.c:1417) do_sock_setsockopt (net/socket.c:2368) __sys_setsockopt (net/socket.c:2393) __x64_sys_setsockopt (net/socket.c:2396) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)

Reachable by an unprivileged user via a user+network namespace.

Use the atomic sk_dst_reset() so the cache is cleared and released with a single xchg(): whichever side wins releases the dst once, the other sees NULL and does nothing. Behaviour is otherwise unchanged.

Executive ViewAI

Why It Matters

A privilege escalation vulnerability in the Linux kernel's IPsec subsystem affects any organization running modern Linux distributions where user namespaces are enabled (the default configuration). Low-privileged users can exploit a memory corruption defect to gain full system access, creating a pathway for insider threats and lateral movement on shared infrastructure, particularly in cloud environments and multi-tenant systems.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Ubiquitous
core OS kernel across cloud, server, embedded, and desktop Linux deployments
Data Quality
6 sources
Confidence: High

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.1%
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

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.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

Severity: Important
Product Status
openSUSE Tumbleweed Fixed
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise Desktop 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected
SUSE Linux Enterprise High Availability Extension 15 SP7 Affected

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