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

ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops

fib_nlmsg_size() still estimates nexthop space as if every gateway is
encoded as an IPv4 RTA_GATEWAY attribute. IPv4 routes can also carry an
IPv6 gateway, which fib_nexthop_info() dumps as RTA_VIA.

As a result, route notifications can allocate an skb that is too small.
fib_dump_info() then fails with -EMSGSIZE and rtmsg_fib() hits the
WARN_ON() that marks such failures as a fib_nlmsg_size() bug. With
panic_on_warn set, this becomes a kernel panic.

Mirror the actual nexthop dump layout in fib_nlmsg_size(): account for
IPv6 nexthop gateways dumped as RTA_VIA, for the no-header rtnexthop
layout used inside RTA_MULTIPATH, and for RTA_FLOW only when it is
actually present.
Published: 2026-08-22
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via kernel panic
Action: Patch
AI Analysis

Impact

The flaw lies in the kernel’s calculation of the memory needed for route notifications. Because IPv4 routes may carry an IPv6 gateway encoded as RTA_VIA, the size estimator assumes all gateways are IPv4, allocating a buffer that can be too small. When the dumper writes past this bound, the routine fails with –EMSGSIZE, triggers a WARN_ON(), and if the system is configured with panic_on_warn, a full kernel panic occurs. This results in an unprivileged local denial of service where the operating system becomes unreachable until reboot.

Affected Systems

Any Linux kernel instance that processes IPv4 routes containing IPv6 nexthops before the issue is fixed. The affected code exists in Linux kernel releases older than the commit that corrected fib_nlmsg_size(); the vendor product is Linux kernel.

Risk and Exploitability

The CVSS score is 5.5, indicating moderate severity, and the EPSS score is less than 1%, suggesting a low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attacker must influence routing table updates, which typically requires root or kernel‑privileged access, or a misconfigured system that allows unprivileged route modification. If the system runs with panic_on_warn enabled, the failure will lead to a kernel panic, making the impact local but severe (system crash). The exploitability is modest, but the consequences are significant on affected systems.

Generated by OpenCVE AI on August 25, 2026 at 15:17 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release that incorporates the fib_nlmsg_size() fix.
  • Restrict local route modifications to privileged users to prevent unprivileged manipulation of routes that could trigger the bug.
  • Disable panic_on_warn (e.g., sysctl net.core.panic_on_warn=0) or monitor kernel logs for WARN_ON failures to avoid or detect a kernel panic early.

Generated by OpenCVE AI on August 25, 2026 at 15:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Thu, 27 Aug 2026 13:00:00 +0000


Tue, 25 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
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


Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops fib_nlmsg_size() still estimates nexthop space as if every gateway is encoded as an IPv4 RTA_GATEWAY attribute. IPv4 routes can also carry an IPv6 gateway, which fib_nexthop_info() dumps as RTA_VIA. As a result, route notifications can allocate an skb that is too small. fib_dump_info() then fails with -EMSGSIZE and rtmsg_fib() hits the WARN_ON() that marks such failures as a fib_nlmsg_size() bug. With panic_on_warn set, this becomes a kernel panic. Mirror the actual nexthop dump layout in fib_nlmsg_size(): account for IPv6 nexthop gateways dumped as RTA_VIA, for the no-header rtnexthop layout used inside RTA_MULTIPATH, and for RTA_FLOW only when it is actually present.
Title ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops
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-08-27T12:39:57.259Z

Reserved: 2026-08-15T05:44:03.923Z

Link: CVE-2026-74657

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:39.333

Modified: 2026-08-27T13:18:36.153

Link: CVE-2026-74657

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-22T00:00:00Z

Links: CVE-2026-74657 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T15:30:05Z

Weaknesses