{"id":"CVE-2026-74562","published":"2026-08-15T12:28:05Z","modified":"2026-10-15T10:09:16Z","title":"nexthop: take nh->lock for f6i_list walks in replace check and notify","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnexthop: take nh->lock for f6i_list walks in replace check and notify\n\nfib6_check_nh_list() and __nexthop_replace_notify() walk nh->f6i_list\nduring an RTNL-serialized nexthop replace without holding nh->lock. IPv6\nRTM_NEWROUTE/RTM_DELROUTE run without RTNL and mutate that list under\nnh->lock (fib6_add_rt2node_nh(), fib6_purge_rt()), so both walks race a\nconcurrent route delete that unlinks and frees a fib6_info:\n\n  BUG: KASAN: slab-use-after-free in rt6_fill_node.isra.0 (net/ipv6/route.c:5799)\n  Read of size 4 at addr ffff888014607e64 by task exploit/143\n   rt6_fill_node.isra.0 (net/ipv6/route.c:5799)\n   fib6_rt_update (net/ipv6/route.c:6412)\n   __nexthop_replace_notify (net/ipv4/nexthop.c:2542)\n   rtm_new_nexthop (net/ipv4/nexthop.c:2554)\n   rtnetlink_rcv_msg (net/core/rtnetlink.c:7076)\n\n  BUG: KASAN: slab-use-after-free in fib6_check_nh_list (net/ipv4/nexthop.c:1605)\n  Read of size 8 at addr ffff888014a7d068 by task exploit/142\n   fib6_check_nh_list (net/ipv4/nexthop.c:1605)\n   rtm_new_nexthop (net/ipv4/nexthop.c:2575)\n   rtnetlink_rcv_msg (net/core/rtnetlink.c:7076)\n\nBoth walks only read the entries and take no tb6_lock, so protect them\nwith nh->lock; fib6_rt_update() uses gfp_any(), which returns GFP_ATOMIC\nunder the lock.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00168,"percentile":0.03512,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/4b296d176580a85ccbc7135ebdf66c42087b23a2","tags":[]},{"url":"https://git.kernel.org/stable/c/bb2b072c619c1f741a6234257050f72005dc63ef","tags":[]},{"url":"https://git.kernel.org/stable/c/072cd1f21819dedd2252e704d255de3b0cfc61a7","tags":[]}],"priority":{"score":6.9,"factors":[{"name":"EPSS percentile","points":0.7},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 081efd18326e353c6fbfdeff903a83edde953f72, < 4b296d176580a85ccbc7135ebdf66c42087b23a2",">= 081efd18326e353c6fbfdeff903a83edde953f72, < bb2b072c619c1f741a6234257050f72005dc63ef",">= 081efd18326e353c6fbfdeff903a83edde953f72, < 072cd1f21819dedd2252e704d255de3b0cfc61a7"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2026-59627","exploited":false,"provenance":"source"}}