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

ip6_gre: fix hardware header length for NBMA tunnels

ip6gre_tnl_link_config_route() accumulates the lower device's hardware
header length into dev->hard_header_len whenever header_ops is set. This
is incorrect for both users of header_ops.

ip6gretap and ip6erspan have a fixed Ethernet hardware header length.
For an NBMA ip6gre tunnel, ip6gre_header() creates only the GRE header,
the optional FOU or GUE header, and the outer IPv6 header. The lower
device header is headroom needed later, not part of the tunnel device's
hardware header.

Keep the lower device header in needed_headroom. Set hard_header_len to
the tunnel header length only for ARPHRD_IP6GRE devices with header_ops,
and leave the fixed Ethernet header length unchanged for tap and erspan
devices.
Published: 2026-09-11
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Kernel instability due to incorrect GRE tunnel header length calculation
Action: Patch Immediately
AI Analysis

Impact

The Linux kernel’s ip6gre_tnl_link_config_route routine incorrectly adds the lower device’s hardware header length to the tunnel’s hard_header_len when header_ops is enabled. For NBMA GRE tunnels, ip6gre_header constructs only the GRE header, optional FOU/GUE header, and the outer IPv6 header; the lower device header should remain as needed headroom, not part of the tunnel’s hardware header. The incorrect accumulation could cause the kernel to miscalculate buffer sizes for the tunnel, potentially leading to kernel instability.

Affected Systems

Linux kernel versions released before commit 505b6d296c486ef7d1274f279d4c43a172f63224 that include the ip6gretap or ip6erspan NBMA GRE tunnel code are affected. Distributions shipping newer kernel releases with the fix or custom builds that enable header_ops for ARPHRD_IP6GRE devices are not affected.

Risk and Exploitability

The vulnerability has a CVSS score of 7.8, indicating high severity. The EPSS score is less than 1 %, and the vulnerability is not listed in CISA’s KEV catalog, suggesting a low likelihood of widespread exploitation. The likely attack vector involves an external actor sending malformed GRE packets to a vulnerable interface that is configured for NBMA GRE tunnels; exploitation would require the traffic to reach the host, so systems with restrictive routing or firewall policies may mitigate the risk.

Generated by OpenCVE AI on September 13, 2026 at 11:52 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply a kernel update that includes the hard_header_len fix for NBMA IP6GRE tunnels.
  • If a kernel upgrade is not immediately available, block or rate‑limit GRE traffic on interfaces that use the affected NBMA tunnels using firewall rules.
  • Verify that header_ops is enabled only for ARPHRD_IP6GRE devices and ensure that tap and erspan devices retain their fixed Ethernet hardware header length; adjust configuration if necessary.

Generated by OpenCVE AI on September 13, 2026 at 11:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 13 Sep 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-129

Sun, 13 Sep 2026 08:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-124
CWE-129

Sun, 13 Sep 2026 06:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 12 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-124
CWE-129

Fri, 11 Sep 2026 23:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ip6_gre: fix hardware header length for NBMA tunnels ip6gre_tnl_link_config_route() accumulates the lower device's hardware header length into dev->hard_header_len whenever header_ops is set. This is incorrect for both users of header_ops. ip6gretap and ip6erspan have a fixed Ethernet hardware header length. For an NBMA ip6gre tunnel, ip6gre_header() creates only the GRE header, the optional FOU or GUE header, and the outer IPv6 header. The lower device header is headroom needed later, not part of the tunnel device's hardware header. Keep the lower device header in needed_headroom. Set hard_header_len to the tunnel header length only for ARPHRD_IP6GRE devices with header_ops, and leave the fixed Ethernet header length unchanged for tap and erspan devices.
Title ip6_gre: fix hardware header length for NBMA tunnels
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 Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-09-13T06:31:02.721Z

Reserved: 2026-09-11T19:38:34.725Z

Link: CVE-2026-89562

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-11T20:19:40.063

Modified: 2026-09-13T07:17:22.440

Link: CVE-2026-89562

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-13T12:00:04Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-129

    Improper Validation of Array Index