CVE-2026-74657
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| bpftool | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel-devel | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.12-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.48-107.148.amzn2023 |
| kernel6.12-tools | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12 | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel6.12-tools-devel | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
| kernel-headers | Amazon Linux | 1:6.1.186-228.374.amzn2023 |
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.110-135.201.amzn2023 |
7 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | d15662682db232da77136cd348f4c9df312ca6f9, d15662682db232da77136cd348f4c9df312ca6f9, d15662682db232da77136cd348f4c9df312ca6f9 |
| Linux | Linux | 5.2, 0, 5.10.267 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| amazon:2023 | kernel-livepatch-6.18.48-107.148 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| amazon:2023 | python3-perf | 0 |
…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