CVE-2026-74657: ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops

Published Aug 22, 2026
·
Updated

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

ipv4: Fix fibnlmsgsize() for RTAVIA nexthops

fibnlmsgsize() still estimates nexthop space as if every gateway is encoded as an IPv4 RTAGATEWAY attribute. IPv4 routes can also carry an IPv6 gateway, which fibnexthopinfo() dumps as RTAVIA.

As a result, route notifications can allocate an skb that is too small. fibdumpinfo() then fails with -EMSGSIZE and rtmsgfib() hits the WARNON() that marks such failures as a fibnlmsgsize() bug. With paniconwarn set, this becomes a kernel panic.

Mirror the actual nexthop dump layout in fibnlmsgsize(): account for IPv6 nexthop gateways dumped as RTAVIA, for the no-header rtnexthop layout used inside RTAMULTIPATH, and for RTAFLOW only when it is actually present.

Affected Software

2 affected componentsFixes available
Linux Linux kernel
Microsoft azl3 kernel 6.6.150.1-1<6.6.152.1-1
6.6.152.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.152.1-1

Event History

Aug 22, 2026
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
Description
Data Sourced
via NVD·04:16 PM
Description
Aug 24, 2026
Data Sourced
via Microsoft·08:10 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:10 AM
Affected Software
Updated
via Microsoft·08:10 AM
DescriptionSeverity

Frequently Asked Questions

1

Which systems are exposed to a kernel panic from this issue?

Systems that process IPv4 route notifications for routes with IPv6 nexthop gateways are exposed to the undersized skb allocation. A kernel panic occurs only if panic_on_warn is enabled, because the resulting -EMSGSIZE condition reaches a WARN_ON().

2

What route configuration triggers the faulty size calculation?

The issue is triggered when an IPv4 route uses an IPv6 gateway, which is emitted as an RTA_VIA attribute rather than an IPv4 RTA_GATEWAY attribute. The affected sizing logic also needs to account correctly for nexthops within RTA_MULTIPATH and for RTA_FLOW only when it is present.

3

How can administrators determine whether an affected failure has occurred?

Affected systems can report a WARN_ON() associated with rtmsg_fib() after fib_dump_info() fails with -EMSGSIZE during route notification handling. On systems with panic_on_warn enabled, the same condition can present as a kernel panic.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203