{"api_version":"1","generated_at":"2026-08-15T16:26:44+00:00","cve":"CVE-2026-74562","urls":{"html":"https://cve.report/CVE-2026-74562","api":"https://cve.report/api/cve/CVE-2026-74562.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74562","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74562"},"summary":{"title":"nexthop: take nh->lock for f6i_list walks in replace check and notify","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 13:18:01","updated_at":"2026-08-15 13:18:01"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/072cd1f21819dedd2252e704d255de3b0cfc61a7","name":"https://git.kernel.org/stable/c/072cd1f21819dedd2252e704d255de3b0cfc61a7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/bb2b072c619c1f741a6234257050f72005dc63ef","name":"https://git.kernel.org/stable/c/bb2b072c619c1f741a6234257050f72005dc63ef","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74562","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74562","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 081efd18326e353c6fbfdeff903a83edde953f72 bb2b072c619c1f741a6234257050f72005dc63ef git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 081efd18326e353c6fbfdeff903a83edde953f72 072cd1f21819dedd2252e704d255de3b0cfc61a7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.16","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.16 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.8 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc6 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv4/nexthop.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"bb2b072c619c1f741a6234257050f72005dc63ef","status":"affected","version":"081efd18326e353c6fbfdeff903a83edde953f72","versionType":"git"},{"lessThan":"072cd1f21819dedd2252e704d255de3b0cfc61a7","status":"affected","version":"081efd18326e353c6fbfdeff903a83edde953f72","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv4/nexthop.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.16"},{"lessThan":"6.16","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.8","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc6","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.8","versionStartIncluding":"6.16","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc6","versionStartIncluding":"6.16","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-08-15T12:28:05.154Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/bb2b072c619c1f741a6234257050f72005dc63ef"},{"url":"https://git.kernel.org/stable/c/072cd1f21819dedd2252e704d255de3b0cfc61a7"}],"title":"nexthop: take nh->lock for f6i_list walks in replace check and notify","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74562","datePublished":"2026-08-15T12:28:05.154Z","dateReserved":"2026-08-15T05:44:03.916Z","dateUpdated":"2026-08-15T12:28:05.154Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 13:18:01","lastModifiedDate":"2026-08-15 13:18:01","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74562","Ordinal":"1","Title":"nexthop: take nh->lock for f6i_list walks in replace check and n","CVE":"CVE-2026-74562","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74562","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"nexthop: take nh->lock for f6i_list walks in replace check and n"}]}}}