CVE-2026-99073: ipv4: stop exception dump when nexthop group shrinks
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ipv4: stop exception dump when nexthop group shrinks
Commit 4ce5dc9316de ("inet: switch inet_dump_fib() to RCU protection") allowed IPv4 FIB dumps to run concurrently with nexthop replacement.
fib_dump_info_fnhe() uses fib_info_num_path() as the loop bound, then fib_info_nhc() independently reloads nh->nh_grp. If RTM_NEWNEXTHOP replaces a group with fewer paths between those loads, fib_info_nhc() returns NULL and the dump dereferences it through nhc_flags.
Stop the walk when the indexed path is absent. Nexthop groups are dense, so the current snapshot has no later path.
The Linux kernel CVE team has assigned CVE-2026-99073 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.9 with commit 4ce5dc9316de50e0da84beafe55d1344f829cece and fixed in 6.12.113 with commit f91e472821e32f58b03eb631e20a67157e2b928b Issue introduced in 6.9 with commit 4ce5dc9316de50e0da84beafe55d1344f829cece and fixed in 6.18.57 with commit 21cba134c30c17ae55f468b5809336437df5d7e6 Issue introduced in 6.9 with commit 4ce5dc9316de50e0da84beafe55d1344f829cece and fixed in 7.2.11 with commit b9a30bb7b831e8c5a47fadbdf1760918aaf009cc Issue introduced in 6.9 with commit 4ce5dc9316de50e0da84beafe55d1344f829cece and fixed in 7.3 with commit 4f4afc07dcb2edd4f9afa36595373f8cdb9b58c2
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-99073
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
net/ipv4/route.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/f91e472821e32f58b03eb631e20a67157e2b928b https://git.kernel.org/stable/c/21cba134c30c17ae55f468b5809336437df5d7e6 https://git.kernel.org/stable/c/b9a30bb7b831e8c5a47fadbdf1760918aaf009cc https://git.kernel.org/stable/c/4f4afc07dcb2edd4f9afa36595373f8cdb9b58c2