# CVE-2026-74657: ipv4: Fix fib\_nlmsg\_size() for RTA\_VIA nexthops

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-08-22T15:32:31.458Z
- **Modified:** 2026-11-06T17:19:52.760Z

## Who should check

- Anyone running Linux \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 0f0ca602941d0a81ae9514943ca06c55159c6385; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 5307a53599fa762c06e475ee4a375252074fd324; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 7f80ad373ce4a7af5367ff273cea0f16e91387f3; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 4a5dfbae5179f6574695012a980476254df2d295; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< a59edda6eda1252340354322d8ab318b2e9052fb; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 9b22f13524fa0de0d963bbd3002df6c28bae3395; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 4ff9548d84945d2cbf9e4c207288063a200ea397
- Anyone running Linux 5.2

## 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.

## Affected and fixed versions

- Linux: \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 0f0ca602941d0a81ae9514943ca06c55159c6385; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 5307a53599fa762c06e475ee4a375252074fd324; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 7f80ad373ce4a7af5367ff273cea0f16e91387f3; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 4a5dfbae5179f6574695012a980476254df2d295; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< a59edda6eda1252340354322d8ab318b2e9052fb; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 9b22f13524fa0de0d963bbd3002df6c28bae3395; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 4ff9548d84945d2cbf9e4c207288063a200ea397 (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 4ff9548d84945d2cbf9e4c207288063a200ea397 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74657. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74657.md
Affected: Linux >= d15662682db232da77136cd348f4c9df312ca6f9, < 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28; >= d15662682db232da77136cd348f4c9df312ca6f9, < 0f0ca602941d0a81ae9514943ca06c55159c6385; >= d15662682db232da77136cd348f4c9df312ca6f9, < 5307a53599fa762c06e475ee4a375252074fd324; >= d15662682db232da77136cd…
Fixed in: Linux 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28, Linux 0f0ca602941d0a81ae9514943ca06c55159c6385, Linux 5307a53599fa762c06e475ee4a375252074fd324, Linux 7f80ad373ce4a7af5367ff273cea0f16e91387f3, Linux 4a5dfbae5179f6574695012a980476254df2d295, Linux 9b22f13524fa0de0d963bbd3002df6c28bae3395, Linux 4ff95…

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-74657 being exploited?

There is no confirmed exploitation: CVE-2026-74657 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-74657?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-74657?

Linux \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 0f0ca602941d0a81ae9514943ca06c55159c6385; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 5307a53599fa762c06e475ee4a375252074fd324; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 7f80ad373ce4a7af5367ff273cea0f16e91387f3; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 4a5dfbae5179f6574695012a980476254df2d295; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< a59edda6eda1252340354322d8ab318b2e9052fb; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 9b22f13524fa0de0d963bbd3002df6c28bae3395; \>= d15662682db232da77136cd348f4c9df312ca6f9, \< 4ff9548d84945d2cbf9e4c207288063a200ea397; Linux 5.2.

### Is there a fix for CVE-2026-74657?

Yes. Fixed in Linux 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28, Linux 0f0ca602941d0a81ae9514943ca06c55159c6385, Linux 5307a53599fa762c06e475ee4a375252074fd324, Linux 7f80ad373ce4a7af5367ff273cea0f16e91387f3, Linux 4a5dfbae5179f6574695012a980476254df2d295, Linux 9b22f13524fa0de0d963bbd3002df6c28bae3395, Linux 4ff9548d84945d2cbf9e4c207288063a200ea397. Upgrade Linux to 4ff9548d84945d2cbf9e4c207288063a200ea397 or later.

### How do I check if I'm affected by CVE-2026-74657?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28>
- other: <https://git.kernel.org/stable/c/0f0ca602941d0a81ae9514943ca06c55159c6385>
- other: <https://git.kernel.org/stable/c/5307a53599fa762c06e475ee4a375252074fd324>
- other: <https://git.kernel.org/stable/c/7f80ad373ce4a7af5367ff273cea0f16e91387f3>
- other: <https://git.kernel.org/stable/c/4a5dfbae5179f6574695012a980476254df2d295>
- other: <https://git.kernel.org/stable/c/a59edda6eda1252340354322d8ab318b2e9052fb>
- other: <https://git.kernel.org/stable/c/9b22f13524fa0de0d963bbd3002df6c28bae3395>
- other: <https://git.kernel.org/stable/c/4ff9548d84945d2cbf9e4c207288063a200ea397>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74657>

HTML: <https://flawdb.com/CVE-2026-74657> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74657>
