ipv4: stop exception dump when nexthop group shrinks
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.113, 6.18.57, 7.2.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- Linux Linux
From 4ce5dc9316de50e0da84beafe55d1344f829cece · fixed in f91e472821e32f58b03eb631e20a67157e2b928b; From 4ce5dc9316de50e0da84beafe55d1344f829cece · fixed in 21cba134c30c17ae55f468b5809336437df5d7e6; From 4ce5dc9316de50e0da84beafe55d1344f829cece · fixed in b9a30bb7b831e8c5a47fadbdf1760918aaf009cc; From 4ce5dc9316de50e0da84beafe55d1344f829cece · fixed in 4f4afc07dcb2edd4f9afa36595373f8cdb9b58c2
- Linux Linux
6.9
- KernelLinux
From 6.9.0 · fixed in 6.12.113; From 6.13.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.2.11