Skip to main content

Linux Kernel CVE-2026-46120

| EUVDEUVD-2026-32879 HIGH
Use After Free (CWE-416)
2026-05-28 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-92hv-jcvf-rqg6
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 shell on Linux host
  2. Delivery
    unshare user and net namespace
  3. Exploit
    Create ip6erspan tunnel via netlink
  4. Install
    Migrate tunnel with IFLA_NET_NS_FD
  5. C2
    Trigger changelink to corrupt netns hash
  6. Execute
    Destroy original netns to free entry
  7. Impact
    Kernel UAF panic or LPE primitive

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 and the ability to create a user namespace with CAP_NET_ADMIN - practically, the kernel must be built with CONFIG_USER_NS=y and unprivileged user namespaces must not be disabled (kernel.unprivileged_userns_clone=1 / user.max_user_namespaces > 0), which is the default on most mainstream distributions including Ubuntu, Fedora, and Arch but is disabled by default on some hardened/enterprise builds. The IPv6 GRE module (ip6_gre) must be loadable or already loaded, and the attacker must perform the specific sequence of creating an ip6erspan tunnel, migrating it across netns via IFLA_NET_NS_FD, then invoking changelink before the original netns is destroyed. Limiting factors: no network-facing exposure (AV:L), no remote trigger, and the panic/UAF only manifests on netns teardown - hosts that disable unprivileged user namespaces, block the ip6_gre module, or run kernels predating 4.16.12 are not exposed via this path.

Impact

Signals are mixed but lean toward a real local-DoS / potential LPE concern. CVSS 7.8 (AV:L/AC:L/PR:L/UI:N/C:H/I:H/A:H) reflects the local attack surface with low privileges and the high impact of a use-after-free in kernel slab memory. EPSS is very low (0.02%, 5th percentile), and the issue is not in CISA KEV, so widespread or active exploitation is not indicated. The vendor-supplied 'Information Disclosure' tag understates impact - KASAN reports a slab-use-after-free followed by a BUG() at LIST_POISON1, which is at minimum a reliable kernel panic (DoS) and, given UAF on a controllable slab object, a plausible LPE primitive for a skilled exploit developer. Reachability from an unprivileged user namespace (unshare --user --map-root-user --net) significantly broadens the threat model on multi-tenant hosts, container runtimes, and sandboxes that rely on user-namespace isolation. There is no public PoC identified at this time, but the trigger sequence is explicitly described in the commit message, lowering the barrier to producing one.

Exploit ScenarioDerived

A local unprivileged user on a shared Linux host (for example, a CI runner, container host, or multi-tenant server) runs 'unshare --user --map-root-user --net' to gain CAP_NET_ADMIN inside a new user+network namespace, creates an ip6erspan tunnel, migrates it to another netns via IFLA_NET_NS_FD, then issues a changelink that re-hashes the tunnel into the wrong namespace and leaves a stale entry behind. When the original netns is torn down, ip6gre_exit_rtnl_net() walks the freed entry and the kernel panics on a LIST_POISON1 dereference; with additional slab-grooming this UAF could plausibly be steered toward arbitrary kernel write and local privilege escalation. No public exploit identified at time of analysis, though the upstream commit message contains a near-complete reproduction recipe.

This Week Schedule remediation this week. 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

Local privilege escalation and kernel memory corruption in the Linux kernel's IPv6 GRE (ip6_gre) subsystem stem from ip6erspan_changelink() using dev_net(dev) instead of the cached t->net after IFLA_NET_NS_FD migration, causing a tunnel to be re-inserted into the wrong per-netns hash. When the original network namespace is later destroyed, the stale entry triggers a slab-use-after-free (flagged by KASAN) and a kernel BUG at LIST_POISON1, reachable from an unprivileged user namespace. No public exploit identified at time of analysis, though the bug is trivially reachable via unshare and EPSS exploitation probability is low (0.02%).

RemediationAI

Vendor-released patch: upgrade to Linux 6.6.140, 6.12.88, 6.18.30, 7.1-rc3, or later, which apply the fix that makes ip6erspan_changelink() use the cached t->net (mirroring the existing behavior in ip6gre_changelink()). The upstream commits are available at https://git.kernel.org/stable/c/1d324c2f43f70c965f25c58cc3611c779adbe47e, https://git.kernel.org/stable/c/311fdd26eb4443d43b909cc67a10f3a5fd1b21b2, https://git.kernel.org/stable/c/cf7fc624329e76c6394653d12353e1d033adea91, https://git.kernel.org/stable/c/e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82, and https://git.kernel.org/stable/c/eca62bb0569de4d43a4dac06a2092a9d4ca1d702 - distribution users should pick up their vendor's backport (Red Hat, Ubuntu, SUSE, Debian advisories). Until patched, the most effective compensating control is to disable unprivileged user namespaces by setting kernel.unprivileged_userns_clone=0 (Debian/Ubuntu) or user.max_user_namespaces=0, which closes the documented reachability path at the cost of breaking rootless containers (Podman/rootless Docker), Chrome/Firefox sandboxes, and Snap/Flatpak isolation. Alternatively, blacklist the ip6_gre kernel module (echo 'install ip6_gre /bin/true' > /etc/modprobe.d/blacklist-ip6gre.conf) on hosts that do not require IPv6 GRE/ERSPAN tunnels, which removes the vulnerable code path entirely but breaks any monitoring/encapsulation that relies on ERSPAN. On hardened multi-tenant systems, restricting CAP_NET_ADMIN inside user namespaces via seccomp or LSM policy also blunts the trigger.

Affected VersionsENISA

Linux 2d665034f239412927b1e71329f20f001c92da09 <e70cfb40c3a99b232cd42c6a6a10f0d8e039dc82
Linux 2d665034f239412927b1e71329f20f001c92da09 <eca62bb0569de4d43a4dac06a2092a9d4ca1d702
Linux 2d665034f239412927b1e71329f20f001c92da09 <311fdd26eb4443d43b909cc67a10f3a5fd1b21b2
Linux 4.17
Linux patch: 7.0.7
Linux 2d665034f239412927b1e71329f20f001c92da09 <1d324c2f43f70c965f25c58cc3611c779adbe47e
Linux patch: 6.12.88
Linux 2d665034f239412927b1e71329f20f001c92da09 <cf7fc624329e76c6394653d12353e1d033adea91
Linux patch: 0
Linux 4.16.12 <4.17
Linux patch: 6.18.30
Linux patch: 7.1-rc3
Linux c6d72628352c949629af619b77b042e0fb5245e7
Linux patch: 6.6.140

Affected Packages

euvd linux fix: 4.17

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 lives in net/ipv6/ip6_gre.c, the IPv6 GRE and ERSPAN tunnel driver. ERSPAN (Encapsulated Remote SPAN) tunnels are managed through rtnetlink's rtnl_link_ops, which expose newlink/changelink callbacks for tunnel creation and reconfiguration. Commit 5e72ce3e3980 converted ip6erspan_newlink() to resolve the per-netns ip6gre hash via link_net, but ip6erspan_changelink() was not converted and still calls dev_net(dev). After a tunnel is migrated to a new netns via IFLA_NET_NS_FD, dev_net(dev) no longer matches the netns the tunnel was originally hashed into, so changelink re-inserts it into the wrong hash and leaves a dangling reference in the original netns. The root cause is a use-after-free (CWE-416 class) driven by mismatched namespace bookkeeping; no CWE was assigned by NVD. The bug is exposed because Linux permits unprivileged user namespaces to create network namespaces and configure GRE/ERSPAN tunnels via netlink.

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
HIGH 7.8
CVE Published
May 28, 2026 - 10:16 nvd
UNKNOWN (no severity yet)

DescriptionCVE.org

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

ip6_gre: Use cached t->net in ip6erspan_changelink().

After commit 5e72ce3e3980 ("net: ipv6: Use link netns in newlink() of rtnl_link_ops"), ip6erspan_newlink() correctly resolves the per-netns ip6gre hash via link_net. ip6erspan_changelink() was not converted in that series and still uses dev_net(dev), which diverges from the device's creation netns after IFLA_NET_NS_FD migration.

This re-inserts the tunnel into the wrong per-netns hash. The original netns keeps a stale entry. When that netns is later destroyed, ip6gre_exit_rtnl_net() walks the stale entry, producing a slab-use-after-free reported by KASAN, followed by a kernel BUG at net/core/dev.c (LIST_POISON1) in unregister_netdevice_many_notify().

Reachable from an unprivileged user namespace (unshare --user --map-root-user --net).

ip6gre_changelink() earlier in the same file already uses the cached t->net; only ip6erspan_changelink() has the wrong shape.

Executive ViewAI

Why It Matters

The Linux kernel contains a local privilege escalation vulnerability in the IPv6 GRE subsystem that allows unprivileged users to corrupt kernel memory and crash systems, with no public exploit identified at time of analysis. This vulnerability affects Linux deployments across on-premises and cloud environments, creating particular risk for organizations with multi-tenant systems, container platforms, or direct user access. The technical simplicity of triggering this flaw makes it a high-priority remediation target to prevent denial of service and potential privilege escalation attacks.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Threat Intel
1
1 sources
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.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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
Medium

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: 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)

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