CVE-2026-74657

Source
https://cve.org/CVERecord?id=CVE-2026-74657
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74657.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74657
Downstream
Published
2026-08-22T15:32:31.458Z
Modified
2026-08-23T03:53:40.525767143Z
Summary
ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops
Details

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

ipv4: Fix fibnlmsgsize() for RTA_VIA 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 RTA_FLOW only when it is actually present.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74657.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
d15662682db232da77136cd348f4c9df312ca6f9
Fixed
0f0ca602941d0a81ae9514943ca06c55159c6385
Fixed
5307a53599fa762c06e475ee4a375252074fd324
Fixed
7f80ad373ce4a7af5367ff273cea0f16e91387f3
Fixed
4a5dfbae5179f6574695012a980476254df2d295
Fixed
a59edda6eda1252340354322d8ab318b2e9052fb
Fixed
9b22f13524fa0de0d963bbd3002df6c28bae3395
Fixed
4ff9548d84945d2cbf9e4c207288063a200ea397

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74657.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.2.0
Fixed
5.15.216
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.183
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.152
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.104
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.45
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74657.json"