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

ip6_gre: remove obsolete ERSPAN PMTU update

A tc tunnel_key action can attach a METADATA_IP_TUNNEL dst to an skb,
and mirred can redirect it to a native ip6erspan device. The legacy PMTU
update in ip6erspan_tunnel_xmit() treats that metadata dst as a route.
Since it has no output device, dst_dev(dst)->mtu dereferences NULL.

On v7.2 with KASAN, an initial UID/GID 65534 process with CapEff 0 used
self-created user and network namespaces to trigger:

KASAN: null-ptr-deref
RIP: ip6erspan_tunnel_xmit+0x10fc/0x2cc0
Kernel panic - not syncing: Fatal exception in interrupt

The update is obsolete. Commit fe1a4ca0a2b7 ("ip6_gre: process toobig
in a better way") changed IPv6 GRE Too Big handling to update the
underlay route and removed the equivalent block from __gre6_xmit().
ip6_tnl_xmit() then propagates the underlay PMTU to the overlay route.

Remove the stale ERSPAN copy and its now-unused dst variable. This
eliminates the metadata-dst dereference and keeps ERSPAN aligned with
IPv6 GRE PMTU handling.
Published: 2026-10-23
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service
Action: Apply Patch
AI Analysis

Impact

The Linux kernel contains a null‑pointer dereference in the ip6erspan_tunnel_xmit function. A tc tunnel_key action can attach a METADATA_IP_TUNNEL destination to a packet buffer, and mirred can redirect it to a native ip6erspan device. The legacy PMTU update treats that metadata destination as a route, but the destination has no output device, causing a dereference of dst_dev(dst)->mtu to NULL. When triggered, the kernel panics and the system reboots, destroying availability without exposing data.

Affected Systems

The vulnerability exists in all Linux kernel builds that have not applied the patch that removed the stale ERSPAN PMTU update. That patch is identified by commit fe1a4ca0a2b7, which was merged into the mainline kernel sometime after v7.2. Any kernel version before this commit, regardless of distribution or patch level, is potentially vulnerable.

Risk and Exploitability

An attacker with local access can create the necessary tc tunnel_key rule and mirred entry to trigger the fault, so the attack vector is local. The EPSS score is <1% and the vulnerability is not listed in the CISA KEV catalog. The CVSS score of 5.5 indicates moderate severity, meaning a single exploit can cause a kernel panic and a local denial of service, rendering the host unusable. No other conditions are required for exploitation.

Generated by OpenCVE AI on October 29, 2026 at 14:52 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes commit fe1a4ca0a2b7 or later
  • If updating the kernel is not immediately possible, rebuild the kernel from source and apply the commit manually to patch the vulnerability
  • Before rebooting, remove or disable any ip6erspan virtual tunnel interfaces and delete tc tunnel_key or mirred rules that redirect packets to an ip6erspan device to avoid triggering the fault

Generated by OpenCVE AI on October 29, 2026 at 14:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 30 Oct 2026 13:00:00 +0000


Thu, 29 Oct 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 23 Oct 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ip6_gre: remove obsolete ERSPAN PMTU update A tc tunnel_key action can attach a METADATA_IP_TUNNEL dst to an skb, and mirred can redirect it to a native ip6erspan device. The legacy PMTU update in ip6erspan_tunnel_xmit() treats that metadata dst as a route. Since it has no output device, dst_dev(dst)->mtu dereferences NULL. On v7.2 with KASAN, an initial UID/GID 65534 process with CapEff 0 used self-created user and network namespaces to trigger: KASAN: null-ptr-deref RIP: ip6erspan_tunnel_xmit+0x10fc/0x2cc0 Kernel panic - not syncing: Fatal exception in interrupt The update is obsolete. Commit fe1a4ca0a2b7 ("ip6_gre: process toobig in a better way") changed IPv6 GRE Too Big handling to update the underlay route and removed the equivalent block from __gre6_xmit(). ip6_tnl_xmit() then propagates the underlay PMTU to the overlay route. Remove the stale ERSPAN copy and its now-unused dst variable. This eliminates the metadata-dst dereference and keeps ERSPAN aligned with IPv6 GRE PMTU handling.
Title ip6_gre: remove obsolete ERSPAN PMTU update
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-30T12:41:14.790Z

Reserved: 2026-09-25T10:25:14.387Z

Link: CVE-2026-99041

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:27.487

Modified: 2026-10-30T13:21:41.327

Link: CVE-2026-99041

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-23T00:00:00Z

Links: CVE-2026-99041 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T15:00:22Z

Weaknesses