CVE-2026-98240
Description
A flaw was found in the Linux kernel's IP tunnel subsystem. When processing network routes with encapsulation options, the subsystem references tunnel options before their length is initialized. A local user with network configuration privileges can exploit this flaw by adding routes with specific tunnel options, triggering a kernel panic and causing a Denial of Service (DoS).
Statement
A flaw of low impact was found in the Linux kernel's IP tunnel subsystem. When a route with IP encapsulation (encap ip) options such as geneve_opts is configured, the tunnel options length (options_len) is referenced before it is initialized. On kernels built with GCC 15 or later and CONFIG_FORTIFY_SOURCE enabled, the fortified memcpy() detects a zero-sized destination buffer and triggers a kernel BUG, resulting in a kernel panic and a local denial of service. Triggering the flaw requires local access with network configuration privileges (CAP_NET_ADMIN) to add a route with specific tunnel options through the netlink control plane; it is not directly network reachable, and the impact is limited to availability, with no confidentiality or integrity impact.
Although the Red Hat CVSS:3.1 base score is 5.5 (Moderate), this flaw is rated low impact because the demonstrated effect is a deterministic local denial of service on fortified builds rather than an actual out-of-bounds write, use-after-free, information leak, or privilege escalation.
The vulnerable code is present in Red Hat Enterprise Linux 9 (rhel-9.8.z, rhel-9.9, rhel-9.10), Red Hat Enterprise Linux 10 (rhel-10.2.z, rhel-10.3, rhel-10.4), Red Hat In-Vehicle OS 2, and OpenShift Container Platform 4.22, 4.23, 5.0, and 5.1 (ose-rhel-coreos-9), which are therefore affected. Other Red Hat Enterprise Linux and OpenShift Container Platform streams are not affected because the vulnerable code is not present in them. Fixes for the affected streams are currently deferred. Because exploitation requires local privileged access and results only in denial of service, the residual risk of deferring the fix is limited to a local privileged user causing a kernel panic on affected systems.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Common Vulnerability Scoring System (CVSS) Score Details
Info alert:Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).
The following CVSS metrics and score provided are preliminary and subject to review.
CVSS v3 Score Breakdown
| Red Hat | NVD | cve.org | |
|---|---|---|---|
| Base Score | 5.5 | N/A | N/A |
| Attack Vector | Local | N/A | N/A |
| Attack Complexity | Low | N/A | N/A |
| Privileges Required | Low | N/A | N/A |
| User Interaction | None | N/A | N/A |
| Scope | Unchanged | N/A | N/A |
| Confidentiality | None | N/A | N/A |
| Integrity Impact | None | N/A | N/A |
| Availability Impact | High | N/A | N/A |
Vector
Red Hat: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Understanding the Weakness (CWE)
Confidentiality
Technical Impact: Read Memory; Read Application Data
When reusing a resource such as memory or a program variable, the original contents may not have been cleared before it is sent to an untrusted party.
Availability
Technical Impact: DoS: Crash, Exit, or Restart; DoS: Instability
The uninitialized resource may contain values that cause program flow to change in ways that the programmer did not intend, possibly leading to a crash.
Other
Technical Impact: Unexpected State; Varies by Context
The consequences vary depending on the type of resource and how it is used within the product.
Frequently Asked Questions
Not sure what something means? Check out our Security Glossary.
Want to get errata notifications? Sign up here.