Skip to main content

Linux Kernel CVE-2026-46116

| EUVDEUVD-2026-32875 HIGH
Use After Free (CWE-416)
2026-05-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-96hg-7p79-ggx2
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
    Obtain local shell or container foothold
  2. Delivery
    Acquire CAP_NET_ADMIN via user namespace
  3. Exploit
    Open XFRM netlink socket
  4. Install
    Race xfrm_alloc_spi against xfrm_state_delete
  5. C2
    Trigger UAF on byseq/byspi hash chain
  6. Execute
    Reclaim freed slab with controlled object
  7. Impact
    Kernel panic or privilege escalation to root

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

Requires local code execution on the target host with the ability to issue XFRM netlink operations - in practice CAP_NET_ADMIN, which by default means root, but is also reachable from inside an unprivileged user namespace (CONFIG_USER_NS=y with unprivileged_userns_clone=1, the default on most desktop distributions and many container runtimes). The kernel must have CONFIG_XFRM enabled (standard on virtually all distribution kernels because IPsec and several container/VPN features depend on it). No network reachability, no user interaction, and no specific IPsec configuration on the host are required - the attacker triggers SA creation/teardown themselves. Limiting factors: the bug is a race, so successful exploitation requires multi-core scheduling pressure and many concurrent xfrm_state lifecycle operations, and turning the UAF into EoP (versus a DoS panic) requires additional heap-grooming primitives not described in the report.

Impact

CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) indicates a local, low-complexity, low-privilege attack with high impact across all three CIA dimensions - consistent with a kernel UAF that could escalate to code execution. However, EPSS is extremely low at 0.02% (5th percentile), there is no CISA KEV listing, and no public exploit has been identified, suggesting the realistic risk is primarily theoretical kernel-LPE rather than a widely-exploited issue. The 'Denial Of Service' tag and the syzkaller reproduction context imply that DoS via kernel panic is the most accessible outcome, while turning the UAF into reliable privilege escalation would require nontrivial heap-spray and kernel exploit primitives. Conflicting signal worth noting: CVSS rates Confidentiality and Integrity as High, but the report itself is framed defensively (no demonstrated info-leak or EoP primitive), so the 7.8 score reflects worst-case potential rather than a confirmed weaponizable primitive.

Exploit ScenarioDerived

A local low-privileged user (or attacker inside a container with CAP_NET_ADMIN in a user namespace) repeatedly creates and tears down IPsec SAs via the XFRM netlink interface, racing xfrm_alloc_spi() against xfrm_state_delete() across the per-netns cleanup_net workqueue to trigger the double-unhash on byseq/byspi chains. The resulting slab-use-after-free corrupts a kernel heap object, producing at minimum a kernel panic (DoS) and potentially a privilege-escalation primitive if the freed slab is reclaimed by an attacker-controlled object. A syzkaller harness reliably reproduces the UAF, but no weaponized public PoC has been identified at time of analysis.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – May 30, 2026

Use-after-free in the Linux kernel's xfrm (IPsec) state management subsystem allows local attackers with low privileges to trigger memory corruption via concurrent xfrm_state lifecycle operations. The flaw resides in __xfrm_state_delete() where value-based predicates on x->km.seq and x->id.spi can race with xfrm_alloc_spi() outside of xfrm_state_lock, leading to slab-use-after-free writes through LIST_POISON pointers on the byseq/byspi/bydst/bysrc hash chains. No public exploit identified at time of analysis, and EPSS is very low at 0.02% (5th percentile), but a vendor patch is available.

RemediationAI

Vendor-released patch: upgrade to Linux 6.6.140, 6.12.88, 7.0.7, or 7.1-rc3 (or any later stable release on those branches), which switch to hlist_del_init_rcu() and hlist_unhashed() checks so that a second deletion becomes a no-op rather than a write through LIST_POISON. Distribution users should pull the corresponding stable backports referenced at https://git.kernel.org/stable/c/14acf9652e5690de3c7486c6db5fb8dafd0a32a3, https://git.kernel.org/stable/c/26edb0a3c99f9d958c212be68b21f1221614dcf0, https://git.kernel.org/stable/c/4980162de555cb838f1a189ce7d2cbf5d2e7b050, https://git.kernel.org/stable/c/a2e2d08fb070fab4947447171f1c4e3ca5a188e5, and https://git.kernel.org/stable/c/b4a53add2fa8f1b5aa17d4c5686c320785fab182. As a compensating control where patching is blocked, restrict access to AF_KEY/XFRM netlink (PF_KEY_V2 / NETLINK_XFRM) by denying CAP_NET_ADMIN to untrusted user namespaces (sysctl kernel.unprivileged_userns_clone=0) and blacklisting xfrm_user via modprobe - note this will break IPsec/IKEv2 (strongSwan, libreswan, WireGuard-over-IPsec) and any container runtime that creates network namespaces requiring xfrm.

Affected VersionsENISA

Linux patch: 6.18.30
Linux 7b4dc3600e4877178ba94c7fbf7e520421378aa6 <a2e2d08fb070fab4947447171f1c4e3ca5a188e5
Linux 7b4dc3600e4877178ba94c7fbf7e520421378aa6 <4980162de555cb838f1a189ce7d2cbf5d2e7b050
Linux patch: 6.6.140
Linux 2.6.19
Linux patch: 6.12.88
Linux 7b4dc3600e4877178ba94c7fbf7e520421378aa6 <14acf9652e5690de3c7486c6db5fb8dafd0a32a3
Linux patch: 7.0.7
Linux 7b4dc3600e4877178ba94c7fbf7e520421378aa6 <26edb0a3c99f9d958c212be68b21f1221614dcf0
Linux patch: 7.1-rc3
Linux patch: 0
Linux 7b4dc3600e4877178ba94c7fbf7e520421378aa6 <b4a53add2fa8f1b5aa17d4c5686c320785fab182

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 vulnerability lies in net/xfrm/xfrm_state.c, the IPsec Security Association (SA) state machine that maintains hash chains (bydst, bysrc, byseq, byspi) for fast lookup of xfrm_state objects. __xfrm_state_delete() used value predicates (if x->km.seq, if x->id.spi) to decide whether to call hlist_del_rcu, rather than the safer hlist_unhashed() check used elsewhere. Because xfrm_alloc_spi() sets x->id.spi inside xfrm_state_lock but other paths observe the field outside the lock, the unhash decision can desync from actual list membership, and double-deletes write through LIST_POISON pprev - a classic CWE-416 (Use After Free) / CWE-362 (race condition) pattern on RCU hash list manipulation. KASAN under syzkaller reproduced nine unique signatures clustering in xfrm_state lifecycle paths including __xfrm_state_lookup, xfrm_alloc_spi, __xfrm_state_insert and __xfrm_state_delete.

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
SUSE HIGH
Red Hat 7.0 HIGH

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
May 30, 2026 - 11:22 NVD
7.8 (HIGH)
Patch available
May 28, 2026 - 12:31 EUVD
CVE Published
May 28, 2026 - 10:16 nvd
UNKNOWN (no severity yet)
CVE Published
May 28, 2026 - 10:16 nvd
HIGH 7.8

DescriptionCVE.org

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

xfrm: defensively unhash xfrm_state lists in __xfrm_state_delete

KASAN reproduces a slab-use-after-free in __xfrm_state_delete()'s hlist_del_rcu calls under syzkaller load on linux-6.12.y stable (reproduced on 6.12.47, also reachable via the same code path on torvalds/master and on the ipsec tree). Nine unique signatures cluster in the xfrm_state lifecycle, the load-bearing one being:

BUG: KASAN: slab-use-after-free in __hlist_del include/linux/list.h:990 [inline] BUG: KASAN: slab-use-after-free in hlist_del_rcu include/linux/rculist.h:516 [inline] BUG: KASAN: slab-use-after-free in __xfrm_state_delete net/xfrm/xfrm_state.c Write of size 8 at addr ffff8881198bcb70 by task kworker/u8:9/435

Workqueue: netns cleanup_net Call Trace: __hlist_del / hlist_del_rcu __xfrm_state_delete xfrm_state_delete xfrm_state_flush xfrm_state_fini ops_exit_list cleanup_net

The other observed signatures hit the same slab object from __xfrm_state_lookup, xfrm_alloc_spi, __xfrm_state_insert and an OOB write variant of __xfrm_state_delete, all on the byseq/byspi hash chains.

__xfrm_state_delete() guards its byseq and byspi unhashes with value-based predicates:

if (x->km.seq) hlist_del_rcu(&x->byseq); if (x->id.spi) hlist_del_rcu(&x->byspi);

while everywhere else in the file (e.g. state_cache, state_cache_input) the safer hlist_unhashed() check is used. xfrm_alloc_spi() sets x->id.spi = newspi inside xfrm_state_lock and then immediately inserts into byspi, but a path that observes x->id.spi != 0 outside of xfrm_state_lock can still skip-or-hit the byspi unhash inconsistently with whether x is actually on the list. The same holds for x->km.seq versus byseq, and the bydst/bysrc unhashes have no predicate at all, so a second __xfrm_state_delete() on the same object writes through LIST_POISON pprev.

The defensive change here:

  • Use hlist_del_init_rcu() instead of hlist_del_rcu() on bydst,

bysrc, byseq and byspi so a second deletion is a no-op rather than a write through LIST_POISON pprev. The byseq/byspi nodes are already initialised in xfrm_state_alloc().

  • Test hlist_unhashed() rather than the value predicate for

byseq/byspi, so the unhash decision tracks list state rather than mutable scalar fields.

Empirical verification: applied this patch on top of v6.12.47, rebuilt, and re-ran the same syzkaller harness for 1h16m on a previously-crashy configuration that produced ~100 hits each of slab-use-after-free Read in xfrm_alloc_spi / Read in __xfrm_state_lookup / Write in __xfrm_state_delete. After the patch, 7.1M execs across 32 VMs at ~1550 exec/sec produced zero xfrm_state UAF/OOB hits. /proc/slabinfo confirms the xfrm_state slab is actively allocated and freed during the run (~143 KiB resident), so the fuzzer is still exercising those code paths -- they just no longer crash.

Reproduction:

  • Linux 6.12.47 x86_64 + KASAN_GENERIC + KASAN_INLINE + KCOV
  • syzkaller @ 746545b8b1e4c3a128db8652b340d3df90ce61db
  • 32 QEMU/KVM VMs x 2 vCPU on AWS c5.metal bare metal
  • 9 unique signatures collected in ~9h, all within xfrm_state

lifecycle

Executive ViewAI

Why It Matters

CVE-2026-46116 affects the Linux kernel's IPsec (xfrm) subsystem, enabling unprivileged local users to escalate privileges through memory corruption via concurrent state management operations. No public exploit identified at time of analysis. Organizations operating Linux systems with IPsec enabled face risk of privilege escalation and potential system compromise, with particular impact on infrastructure protecting sensitive network traffic.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
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.0%
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.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

Threat IntelligenceMISP

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

References

Advisories & patches
ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-46116 ADVISORY https://ubuntu.com/security/notices/USN-8566-1 ADVISORY https://ubuntu.com/security/notices/USN-8567-1 ADVISORY https://ubuntu.com/security/notices/USN-8568-1 ADVISORY https://vuldb.com/vuln/366615 REF https://access.redhat.com/errata/RHSA-2026:36018 REF https://access.redhat.com/errata/RHSA-2026:39179 REF https://access.redhat.com/errata/RHSA-2026:39180 REF https://access.redhat.com/errata/RHSA-2026:39371 REF https://access.redhat.com/errata/RHSA-2026:41234 REF https://access.redhat.com/errata/RHSA-2026:41235 REF https://access.redhat.com/errata/RHSA-2026:42919 REF https://access.redhat.com/errata/RHSA-2026:43231 REF https://access.redhat.com/errata/RHSA-2026:44385 REF https://access.redhat.com/errata/RHSA-2026:47632 REF https://access.redhat.com/errata/RHSA-2026:47633 REF https://access.redhat.com/errata/RHSA-2026:47739 REF https://access.redhat.com/errata/RHSA-2026:47869 REF https://access.redhat.com/errata/RHSA-2026:49033 REF https://access.redhat.com/errata/RHSA-2026:59142 REF https://access.redhat.com/errata/RHSA-2026:59143 REF https://access.redhat.com/errata/RHSA-2026:59145 REF https://access.redhat.com/errata/RHSA-2026:59146 REF https://access.redhat.com/errata/RHSA-2026:59147 REF https://access.redhat.com/errata/RHSA-2026:59148 REF https://access.redhat.com/errata/RHSA-2026:59149 REF https://access.redhat.com/security/cve/CVE-2026-46116 REF https://bugzilla.redhat.com/show_bug.cgi?id=2482523 REF https://cert-portal.siemens.com/productcert/html/ssa-019113.html REF https://cert-portal.siemens.com/productcert/html/ssa-457936.html REF https://cert-portal.siemens.com/productcert/html/ssa-784472.html REF https://git.kernel.org/stable/c/14acf9652e5690de3c7486c6db5fb8dafd0a32a3 REF https://git.kernel.org/stable/c/26edb0a3c99f9d958c212be68b21f1221614dcf0 REF https://git.kernel.org/stable/c/2c617848ae6e4f07a3e397f604208c293bbecacc REF https://git.kernel.org/stable/c/3943fcad7694a7d0b15aeabe7d3cc2a2eb8e92e8 REF https://git.kernel.org/stable/c/4980162de555cb838f1a189ce7d2cbf5d2e7b050 REF https://git.kernel.org/stable/c/6b4dc3181b4bfc5f5fc33ab33b1dc6e15759f4b6 REF https://git.kernel.org/stable/c/a2e2d08fb070fab4947447171f1c4e3ca5a188e5 REF https://git.kernel.org/stable/c/b4a53add2fa8f1b5aa17d4c5686c320785fab182 REF https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-46116.json

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