GHSA-wrfx-ch9c-5jj2unknown
In the Linux kernel, the following vulnerability has been resolved: ipv4: stop route...
🔗 CVE IDs covered (1)
📋 Description
In the Linux kernel, the following vulnerability has been resolved:
ipv4: stop route notification sizing when nexthop group shrinks
Commit 680aea08e78c ("net: ipv4: Emit notification when fib hardware flags are changed") added an RCU-only fib_nlmsg_size() call for asynchronous hardware flag notifications.
fib_nlmsg_size() checks fib_info_num_path() before each iteration, 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 fib_nexthop_nlmsg_size() dereferences it.
Stop sizing when the indexed path is absent. Nexthop groups are dense, so the current snapshot has no later path.
🔗 References (9)
- https://nvd.nist.gov/vuln/detail/CVE-2026-99072
- https://git.kernel.org/stable/c/72d9d17092bb37b0717f12042a0817d01a1f9e78
- https://git.kernel.org/stable/c/ad1c9f1b98c92609e9bb2ae8f05916defc3b0a54
- https://git.kernel.org/stable/c/ad2b3a68b8a7d5d27de88e05674e4adb1ce46d88
- https://git.kernel.org/stable/c/c1f48d1c2d5e9efd904dbbc2f2b3d41543e55c49
- https://git.kernel.org/stable/c/d3daa33c7af92e38f2274bbd2576f58bfbaf89e6
- https://git.kernel.org/stable/c/81f0deb02a5b5477f236bbbaed1149b779a8632b
- https://git.kernel.org/stable/c/96f3fbb8575593657c7e80786dc3251d2fe3931b
- https://github.com/advisories/GHSA-wrfx-ch9c-5jj2