VDB

CVE-2026-74561

CVE-2026-74561 PUBLISHED CVSS 8.8 HIGH

nexthop: avoid unlocked f6i_list walk in nh_rt_cache_flush

Reported by linux · Published August 15, 2026

In the Linux kernel, the following vulnerability has been resolved: nexthop: avoid unlocked f6i_list walk in nh_rt_cache_flush nh_rt_cache_flush() walks nh->f6i_list during an RTNL-serialized nexthop replace without holding nh->lock, racing the unlocked IPv6 route add/delete that mutate the list under nh->lock and free fib6_info entries (nh_rt_cache_flush() is inlined into rtm_new_nexthop()): BUG: KASAN: slab-use-after-free in nh_rt_cache_flush (net/ipv4/nexthop.c:2243) Read of size 8 at addr ffff888012953e18 by task exploit/146 nh_rt_cache_flush (net/ipv4/nexthop.c:2243) replace_nexthop (net/ipv4/nexthop.c:2610) rtm_new_nexthop (net/ipv4/nexthop.c:3323) rtnetlink_rcv_msg (net/core/rtnetlink.c:7076) Unlike the other f6i_list walks, this one bumps each route's sernum via fib6_update_sernum_upto_root(), which needs tb6_lock; taking nh->lock around it would invert the established tb6_lock -> nh->lock order and deadlock. As the only purpose is to invalidate cached dsts, bump the IPv6 sernum for the whole netns with rt_genid_bump_ipv6() instead, mirroring the rt_cache_flush() already done for IPv4 just above.

EPSS 0.12% · 1.6th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LinuxLinux4787a6d2629b4e8c0b6bacab1f75c1660eca44d9, 44f53e4331a30fabc38a411fae7524341b618db3

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS Score
0.12%
1.6th percentile

Affected products

VendorProductVersions
LinuxLinux081efd18326e353c6fbfdeff903a83edde953f72, 081efd18326e353c6fbfdeff903a83edde953f72, 081efd18326e353c6fbfdeff903a83edde953f72
LinuxLinux6.16, 0, 6.18.57
LinuxLinux6.18.57, 7.1.8, 7.2
linuxlinux_kernel6.16, 6.16, 6.16

Timeline

  • Aug 15, 2026 CVE Published
  • Aug 16, 2026 EPSS Score (9 in total, the first dated here)
  • Aug 19, 2026 Security Advisory
  • Oct 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-74561
vulnetix vdb fixes CVE-2026-74561

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-74561/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›