CVE-2026-98569

ip_gre: Reject enabling collect metadata through changelink

Published Oct 18, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

ip_gre: Reject enabling collect metadata through changelink

ipgre_netlink_parms() can enable collect_md on an existing GRE, GRETAP
or ERSPAN device. Unlike newlink, changelink does not enforce metadata
tunnel uniqueness. Converting a non-metadata device can therefore
replace the metadata receive entry for another device of the same type
in the same netns. Deleting either device then clears the shared entry,
breaking metadata receive lookup for the surviving device.

If parameter validation fails after collect_md is set, deleting the
modified device can also clear an entry it never owned.

Reject enabling metadata mode in both changelink callbacks before any
encapsulation or tunnel parameters are modified. Allow requests that
repeat the metadata attribute on an existing metadata device.

Analysis

AI-generated

Technical impact

A netlink changelink request on the Linux kernel’s ip_gre driver can enable the collect_md flag on an existing GRE, GRETAP, or ERSPAN device without enforcing the uniqueness of metadata tunnels. The change may overwrite the metadata receive entry of another device of the same type in the same network namespace. When either device is later deleted, the shared entry is cleared, causing a metadata lookup failure for the remaining device. If parameter validation fails after collect_md is set, deleting the device may also remove an entry it never owned. The result is the loss of proper metadata handling, which can lead to incorrect packet processing and a denial of service for traffic that relies on GRE metadata.

Affected Systems

The flaw affects all Linux kernel implementations that include the ip_gre driver, as indicated by the Linux:Linux vendor string. No specific kernel version is listed, so the issue is present in every kernel revision until the fix is applied.

Risk and Exploitability

The CVSS score is 4.4, indicating moderate severity. The EPSS score is less than 1%, showing a very low yet nonzero probability of exploitation. The vulnerability is not listed in CISA KEV. Based on the description, it is inferred that the attacker must have privileged netlink access to issue changelink commands; therefore, the likely attack vector is a locally privileged user or a compromised process. No publicly known exploits exist, but the potential for service disruption in environments that use GRE metadata makes this a concern. The overall risk is moderate to high for systems with GRE tunnels, unless netlink privileges are tightly contained.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to a kernel revision that implements the patch rejecting collect_md through changelink, as referenced by the kernel commit logs.
  • Restrict netlink administrative operations to privileged users only, preventing unauthorized changelink requests.
  • Until the patch is applied, avoid enabling collect_md on existing GRE, GRETAP, or ERSPAN devices using changelink; use newlink or other benign operations instead.

Generated by OpenCVE AI on October 22, 2026 at 21:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Weaknesses CWE-694
References
Metrics threat_severity

None

cvssV3_1

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

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-20
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ip_gre: Reject enabling collect metadata through changelink ipgre_netlink_parms() can enable collect_md on an existing GRE, GRETAP or ERSPAN device. Unlike newlink, changelink does not enforce metadata tunnel uniqueness. Converting a non-metadata device can therefore replace the metadata receive entry for another device of the same type in the same netns. Deleting either device then clears the shared entry, breaking metadata receive lookup for the surviving device. If parameter validation fails after collect_md is set, deleting the modified device can also clear an entry it never owned. Reject enabling metadata mode in both changelink callbacks before any encapsulation or tunnel parameters are modified. Allow requests that repeat the metadata attribute on an existing metadata device.
Title ip_gre: Reject enabling collect metadata through changelink
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-694

    Use of Multiple Resources with Duplicate Identifier

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:21 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM