CVE-2026-74657

Description

A flaw was found in the Linux kernel. The fib_nlmsg_size() function, which estimates the size for network message buffers, incorrectly calculates the required space for nexthops when IPv4 routes contain an IPv6 gateway. This error can lead to the allocation of an undersized buffer for route notifications. As a result, the system may experience a kernel panic, leading to a Denial of Service (DoS).

Statement

A moderate impact flaw was found in the Linux kernel's IPv4 routing (FIB) netlink code. The fib_nlmsg_size() function underestimates the buffer space needed for route notifications when an IPv4 route carries an IPv6 gateway, which is dumped as an RTA_VIA nexthop attribute instead of the expected RTA_GATEWAY form. An undersized skb can therefore be allocated, causing fib_dump_info() to fail with -EMSGSIZE and hit the rtmsg_fib() WARN_ON(); on systems where panic_on_warn is enabled, this results in a kernel panic and a denial of service. Triggering the flaw requires local access with the privileges needed to install or dump the specific route configuration (for example CAP_NET_ADMIN with IPv4 routes using IPv6 nexthop gateways), which limits exposure to availability only. Red Hat Enterprise Linux 9 and Red Hat Enterprise Linux 10 kernel and kernel-rt, and Red Hat In-Vehicle OS kernels, are affected; Red Hat Enterprise Linux 7 and 8 kernel and kernel-rt are not affected because the vulnerable code is not present in those streams. The fix for the affected streams is currently deferred to a future update; the residual risk is a local denial of service by a privileged user able to create the specific IPv4 route configuration.

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 HatNVDcve.org
Base Score5.5N/AN/A
Attack VectorLocalN/AN/A
Attack ComplexityLowN/AN/A
Privileges RequiredLowN/AN/A
User InteractionNoneN/AN/A
ScopeUnchangedN/AN/A
ConfidentialityNoneN/AN/A
Integrity ImpactNoneN/AN/A
Availability ImpactHighN/AN/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)

Integrity

Technical Impact: Modify Memory; Execute Unauthorized Code or Commands

Write operations could cause memory corruption. In some cases, an adversary can modify control data such as return addresses in order to execute unexpected code.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

Attempting to access out-of-range, invalid, or unauthorized memory could cause the product to crash.

Other

Technical Impact: Unexpected State

Subsequent write operations can produce undefined or unexpected results.

Frequently Asked Questions

Want to get errata notifications? Sign up here.