In the Linux kernel, the following vulnerability has been resolved: ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops fib_nlmsg_size() still estimates… (CVE-2026-74657)
A vulnerability in the Linux kernel's IPv4 routing code was resolved that caused incorrect size estimation for route notifications involving IPv6 gateways. This miscalculation could lead to allocation of buffers that are too small, causing failures and potentially triggering kernel panics if panic_on_warn is enabled.
AI Analysis
Technical Summary
The Linux kernel's fib_nlmsg_size() function incorrectly estimated the size needed for route notifications by assuming all gateways were IPv4 RTA_GATEWAY attributes. However, IPv4 routes can include IPv6 gateways encoded as RTA_VIA attributes, which were not properly accounted for. This caused the kernel to allocate insufficient buffer space (skb), leading to fib_dump_info() failures with -EMSGSIZE and triggering WARN_ON() in rtmsg_fib(). When panic_on_warn is set, this results in a kernel panic. The fix involved updating fib_nlmsg_size() to correctly account for IPv6 nexthop gateways (RTA_VIA), the no-header rtnexthop layout inside RTA_MULTIPATH, and RTA_FLOW attributes only when present.
Potential Impact
The vulnerability can cause kernel panics on systems with panic_on_warn enabled due to improper buffer size allocation for route notifications involving IPv6 gateways in IPv4 routes. This may lead to denial of service conditions but does not indicate direct code execution or privilege escalation.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the size estimation in fib_nlmsg_size(). Users should apply the official kernel update that includes this fix. Since no vendor advisory or patch link is provided here, check the Linux kernel mailing lists or official kernel repositories for the patch and update guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops fib_nlmsg_size() still estimates… (CVE-2026-74657)
Description
A vulnerability in the Linux kernel's IPv4 routing code was resolved that caused incorrect size estimation for route notifications involving IPv6 gateways. This miscalculation could lead to allocation of buffers that are too small, causing failures and potentially triggering kernel panics if panic_on_warn is enabled.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's fib_nlmsg_size() function incorrectly estimated the size needed for route notifications by assuming all gateways were IPv4 RTA_GATEWAY attributes. However, IPv4 routes can include IPv6 gateways encoded as RTA_VIA attributes, which were not properly accounted for. This caused the kernel to allocate insufficient buffer space (skb), leading to fib_dump_info() failures with -EMSGSIZE and triggering WARN_ON() in rtmsg_fib(). When panic_on_warn is set, this results in a kernel panic. The fix involved updating fib_nlmsg_size() to correctly account for IPv6 nexthop gateways (RTA_VIA), the no-header rtnexthop layout inside RTA_MULTIPATH, and RTA_FLOW attributes only when present.
Potential Impact
The vulnerability can cause kernel panics on systems with panic_on_warn enabled due to improper buffer size allocation for route notifications involving IPv6 gateways in IPv4 routes. This may lead to denial of service conditions but does not indicate direct code execution or privilege escalation.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to correct the size estimation in fib_nlmsg_size(). Users should apply the official kernel update that includes this fix. Since no vendor advisory or patch link is provided here, check the Linux kernel mailing lists or official kernel repositories for the patch and update guidance. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-9gv9-cg8w-rc25
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74657"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a8a27f1acd9273b499bc7c8
Added to database: 08/22/2026, 22:51:29 UTC
Last enriched: 08/23/2026, 00:09:01 UTC
Last updated: 08/23/2026, 01:12:02 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.