VDB

CVE-2026-74657

CVE-2026-74657 PUBLISHED

ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops

Reported by linux · Published August 22, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernelAmazon Linux1:6.1.186-228.374.amzn2023
bpftoolAmazon Linux1:6.1.186-228.374.amzn2023
python3-perf6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel-develAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-develAmazon Linux1:6.12.110-135.201.amzn2023
python3-perf6.12Amazon Linux1:6.12.110-135.201.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.48-107.148.amzn2023
kernel6.12-toolsAmazon Linux1:6.12.110-135.201.amzn2023
kernel6.12Amazon Linux1:6.12.110-135.201.amzn2023
kernel6.12-tools-develAmazon Linux1:6.12.110-135.201.amzn2023
kernel-headersAmazon Linux1:6.1.186-228.374.amzn2023
kernel6.12-modules-extra-commonAmazon Linux1:6.12.110-135.201.amzn2023

7 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
LinuxLinuxd15662682db232da77136cd348f4c9df312ca6f9, d15662682db232da77136cd348f4c9df312ca6f9, d15662682db232da77136cd348f4c9df312ca6f9
LinuxLinux5.2, 0, 5.10.267
amazon:2023kernel0
amazon:2023bpftool0
amazon:2023python3-perf6.180
amazon:2023kernel-devel0
amazon:2023kernel6.12-devel0
amazon:2023python3-perf6.120
amazon:2023microvm-kernel6.180
amazon:2023kernel6.12-tools0
amazon:2023kernel6.120
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel-headers0
amazon:2023kernel6.12-modules-extra-common0
amazon:2023kernel-livepatch-6.18.48-107.1480
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023python3-perf0

…and 18 more

Timeline

  • Aug 22, 2026 Coalition ESS Score
  • Aug 22, 2026 CVE Published
  • Aug 23, 2026 EPSS Score (14 in total, the first dated here)
  • Sep 3, 2026 Security Advisory
  • Nov 6, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74657
vulnetix vdb fixes CVE-2026-74657

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74657/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›