Skip to main content

Linux Kernel EUVDEUVD-2026-39330

| CVE-2026-53239 HIGH
Use After Free (CWE-416)
2026-06-25 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-qmj7-fh92-4787
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. Recon
    Gain local CAP_NET_ADMIN in netns
  2. Delivery
    Create inexact XFRM IPsec policy
  3. Exploit
    Spam DELPOLICY and NEWSPDINFO concurrently
  4. Install
    Race frees inexact bin in unlocked window
  5. C2
    Trigger use-after-free on freed bin
  6. Execute
    Corrupt kernel memory / crash
  7. Impact
    Potential privilege escalation

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Memory lifecycle management
MITRE ATT&CK

2 techniques across 2 tactics: Execution, 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 local code execution and the ability to send XFRM/IPsec netlink messages (XFRM_MSG_DELPOLICY and XFRM_MSG_NEWSPDINFO on NETLINK_XFRM), which in turn requires CAP_NET_ADMIN in the relevant network namespace - consistent with PR:L in the CVSS vector. The specific trigger is a concurrency race: a thread deleting an inexact XFRM policy via xfrm_policy_bysel_ctx() must overlap with another thread rebuilding the policy hash via xfrm_hash_rebuild()/__xfrm_policy_inexact_flush() so the inexact bin is kfree_rcu()'d during the brief window after xfrm_policy_lock is released. Limiting factors: the attack is local-only (AV:L, no remote vector), requires the CAP_NET_ADMIN privilege rather than being unauthenticated, depends on inexact (non-exact-hashable) IPsec policies existing, and demands precise timing to win the race - making opportunistic exploitation unreliable despite no user interaction being needed.

Impact

The supplied CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, score 7.8) reflects a local, low-privilege, high-impact memory-corruption flaw, but its complexity is understated: triggering a use-after-free requires winning a tight kernel race between two concurrent netlink operations, which in practice is closer to high attack complexity. Real-world risk signals are modest and consistent: EPSS is only 0.18% (8th percentile), there is no CISA KEV listing, and no public exploit is identified - typical for a stable-tree kernel race fix discovered and patched internally. The vendor tags label this 'Information Disclosure,' which conflicts with the C:H/I:H/A:H integrity/availability emphasis; a UAF of this type is most likely to manifest as a kernel crash (DoS) and potentially privilege escalation, with info-leak being one possible outcome - verify intended impact against the upstream commit. Net: a genuine but not urgent local-only issue, appropriate for routine kernel patching rather than emergency response, especially where untrusted local users or containers can issue XFRM netlink messages (requires CAP_NET_ADMIN in the relevant namespace).

Exploit ScenarioDerived

A local attacker with CAP_NET_ADMIN in a network namespace (for example, a containerized workload or a low-privileged service account) rapidly issues XFRM_MSG_DELPOLICY netlink requests against inexact IPsec policies while concurrently triggering xfrm_hash_rebuild() via XFRM_MSG_NEWSPDINFO, racing to free the inexact bin during the unlocked window. A successful race produces a use-after-free in kernel memory, most likely crashing the host (DoS) and potentially being groomed toward privilege escalation. No public proof-of-concept is identified at time of analysis, and the local-only, high-complexity race makes reliable exploitation non-trivial.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH 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 – Jun 28, 2026

Local privilege escalation via use-after-free in the Linux kernel's XFRM (IPsec) policy subsystem allows a local low-privileged attacker to corrupt kernel memory by racing XFRM_MSG_DELPOLICY and XFRM_MSG_NEWSPDINFO netlink operations. In xfrm_policy_bysel_ctx(), the inexact policy bin was pruned after dropping xfrm_policy_lock, leaving a window where a concurrent xfrm_hash_rebuild() could kfree_rcu() the same bin, leading to a use-after-free. No public exploit identified at time of analysis; EPSS probability is low (0.18%) and it is not listed in CISA KEV.

RemediationAI

Vendor-released patch: upgrade to a fixed kernel for your branch - 5.10.259, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, or 7.0.13 (or 7.1 mainline) - or apply the corresponding stable commit (e.g., https://git.kernel.org/stable/c/c4c1ea36d83bf3c4569468ca5b8b614fda1bf821) and reboot, or live-patch if your distribution supports it. Where immediate patching is not possible, the realistic compensating control is to restrict who can issue XFRM netlink operations: the DELPOLICY/NEWSPDINFO messages require CAP_NET_ADMIN, so deny that capability to untrusted users, drop it from container/pod security contexts, and avoid granting unprivileged user namespaces network-admin in the host netns - the trade-off is that legitimate IPsec/policy management tooling running as non-root will lose the ability to modify XFRM policies. If IPsec is not used on the host, ensure the xfrm_user functionality is not exposed to untrusted workloads. Track the distribution advisory via the NVD reference https://nvd.nist.gov/vuln/detail/CVE-2026-53239.

Affected VersionsENISA

Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <ec82ea4eb220164d854f8734ca5a35e23e577b94
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <25c8c7fb3b0b9668c7d05e209f58c158d2b020c7
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <c4c1ea36d83bf3c4569468ca5b8b614fda1bf821
Linux 5.0
Linux patch: 0
Linux patch: 6.1.176
Linux patch: 7.1
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <42827d03f8009a6a218bacab153e21f39d6a121c
Linux patch: 5.10.259
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <88697cf980222d5906a37bf47662dac0732e2a0f
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <b5316e2b8614a87d8736941972441cb47bfd4491
Linux patch: 6.6.143
Linux patch: 7.0.13
Linux patch: 5.15.210
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <8fc536e9f6856230f19c7d13e71af064b6a77b22
Linux patch: 6.18.36
Linux patch: 6.12.94
Linux 6be3b0db6db82cf056a72cc18042048edd27f8ee <7f2d76c9c03257c0782afef9d95321fa04096f60

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

XFRM is the Linux kernel framework that implements IPsec (transformation policies and security associations) and is configured from userspace via the PF_KEY and netlink (NETLINK_XFRM) interfaces. Inexact policies that cannot be hashed to an exact bucket are organized into 'inexact bins' managed under the global xfrm_policy_lock. The bug is a classic concurrency root cause (functionally CWE-416 Use-After-Free arising from a CWE-362 race condition, though the input lists CWE as N/A): xfrm_policy_bysel_ctx() unlinked the policy and released xfrm_policy_lock, then called the wrapper xfrm_policy_inexact_prune_bin() on a bin pointer that another CPU running xfrm_hash_rebuild()/__xfrm_policy_inexact_flush() could free via kfree_rcu() in the unlocked window. The fix prunes the bin with __xfrm_policy_inexact_prune_bin() while still holding the lock and removes the now-unused wrapper.

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 CAP_NET_ADMIN netlink access gives PR:L and AV:L; winning a kernel race for the UAF raises complexity to AC:H, with high memory-corruption impact (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:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Red Hat 7.0 MEDIUM

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
Jun 28, 2026 - 08:22 NVD
7.8 (HIGH)
Patch available
Jun 25, 2026 - 10:32 EUVD
CVE Published
Jun 25, 2026 - 09:16 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 25, 2026 - 09:16 cve.org
HIGH 7.8

DescriptionCVE.org

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

xfrm: policy: fix use-after-free on inexact bin in xfrm_policy_bysel_ctx()

Fix the race by pruning the bin while still holding xfrm_policy_lock, before dropping it. Use __xfrm_policy_inexact_prune_bin() directly since the lock is already held. The wrapper xfrm_policy_inexact_prune_bin() becomes unused and is removed.

Race:

CPU0 (XFRM_MSG_DELPOLICY) CPU1 (XFRM_MSG_NEWSPDINFO) ====== ====== xfrm_policy_bysel_ctx(): spin_lock_bh(xfrm_policy_lock) bin = xfrm_policy_inexact_lookup() __xfrm_policy_unlink(pol) spin_unlock_bh(xfrm_policy_lock) xfrm_policy_kill(ret) // wide window, lock not held xfrm_hash_rebuild(): spin_lock_bh(xfrm_policy_lock) __xfrm_policy_inexact_flush(): kfree_rcu(bin) // bin freed spin_unlock_bh(xfrm_policy_lock) xfrm_policy_inexact_prune_bin(bin) // UAF: bin is freed

Executive ViewAI

Why It Matters

CVE-2026-53239 is a local privilege escalation vulnerability in the Linux kernel's IPsec policy subsystem that allows unprivileged users with shell access to gain root-level control. Organizations with Linux servers that permit local user accounts face risk of unauthorized system compromise through insider threat or via a compromised user account. A vendor patch is available and remediation is straightforward.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Ubiquitous
Linux kernel runs on the vast majority of servers, cloud, and containers
Threat Intel
2
1 sources
Data Quality
7 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.2%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH 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
Small
Automatable· derived
No
Human Impact
High

Priority Score

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

Attack Technique

Use-after-free vulnerabilities occur when a program continues to access memory through a pointer after that memory has been deallocated.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

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

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
Image SLES15-SP7-Azure-3P Image SLES15-SP7-Azure-Basic Image SLES15-SP7-Azure-Standard Image SLES15-SP7-HPC-Azure Affected
Image SLES15-SP7-BYOS-Azure Image SLES15-SP7-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-Aliyun Image SLES15-SP7-CHOST-BYOS-Azure Image SLES15-SP7-CHOST-BYOS-EC2 Image SLES15-SP7-CHOST-BYOS-GCE Image SLES15-SP7-CHOST-BYOS-GDC Image SLES15-SP7-CHOST-BYOS-SAP-CCloud Image SLES15-SP7-EC2 Image SLES15-SP7-EC2-ECS-HVM Image SLES15-SP7-GCE Image SLES15-SP7-HPC-BYOS-Azure Image SLES15-SP7-HPC-BYOS-EC2 Image SLES15-SP7-HPC-BYOS-GCE Image SLES15-SP7-Hardened-BYOS-Azure Image SLES15-SP7-Hardened-BYOS-EC2 Image SLES15-SP7-Hardened-BYOS-GCE Image SLES15-SP7-SAPCAL-Azure Image SLES15-SP7-SAPCAL-EC2 Image SLES15-SP7-SAPCAL-GCE Affected
Image SLES15-SP7-SAP-Azure Image SLES15-SP7-SAP-Azure-3P Image SLES15-SP7-SAP-BYOS-Azure Image SLES15-SP7-SAP-BYOS-EC2 Image SLES15-SP7-SAP-BYOS-GCE Image SLES15-SP7-SAP-EC2 Image SLES15-SP7-SAP-GCE Image SLES15-SP7-SAP-Hardened-Azure Image SLES15-SP7-SAP-Hardened-BYOS-Azure Image SLES15-SP7-SAP-Hardened-BYOS-EC2 Image SLES15-SP7-SAP-Hardened-BYOS-GCE Image SLES15-SP7-SAP-Hardened-GCE Affected
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed

Threat IntelligenceMISP

CISA Advisories
Sources: Microsoft MSRC, CISA (public domain)

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