CVE-2026-74657

ipv4: Fix fib_nlmsg_size() for RTA_VIA nexthops

No CVSS score yet EPSS 0.18%

Published 22 Aug 2026 Updated 6 Nov 2026 CNA: Linux

Check your servers for CVE-2026-74657

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74657 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.64% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 6 Nov 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 57195f0ab5cfbb5ee0864e5aff15ceb48f5a5e28
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 0f0ca602941d0a81ae9514943ca06c55159c6385
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 5307a53599fa762c06e475ee4a375252074fd324
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 7f80ad373ce4a7af5367ff273cea0f16e91387f3
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 4a5dfbae5179f6574695012a980476254df2d295
affected from d15662682db232da77136cd348f4c9df312ca6f9, before a59edda6eda1252340354322d8ab318b2e9052fb
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 9b22f13524fa0de0d963bbd3002df6c28bae3395
affected from d15662682db232da77136cd348f4c9df312ca6f9, before 4ff9548d84945d2cbf9e4c207288063a200ea397
Other versions: unaffected
Linux
affected 5.2
unaffected before 5.2
unaffected from 5.10.267 up to and including 5.10.*
unaffected from 5.15.216 up to and including 5.15.*
unaffected from 6.1.183 up to and including 6.1.*
unaffected from 6.6.152 up to and including 6.6.*
unaffected from 6.12.104 up to and including 6.12.*
unaffected from 6.18.45 up to and including 6.18.*
unaffected from 7.1.9 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74657 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74657

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74657
trivy image --scanners vuln IMAGE | grep CVE-2026-74657

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74657 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.