VDB

CVE-2026-98598

CVE-2026-98598 PUBLISHED

ipv6: Prevent rt6_insert_exception() for dying fib6_info.

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: ipv6: Prevent rt6_insert_exception() for dying fib6_info. Before the cited commit, fib6_nh_flush_exceptions() always set from->exception_bucket_flushed = 1 under rt6_exception_lock to prevent rt6_insert_exception() from inserting a new exception for a dying fib6_info. The flag was replaced with the FIB6_EXCEPTION_BUCKET_FLUSHED bit stored in nh->rt6i_exception_bucket. The problem is that now the bit is only set when the bucket is not NULL and fib6_nh_flush_exceptions() is called from fib6_nh_release() after fib6_ref has already reached zero. If rt6_insert_exception() is called while the target fib6_info is being removed via fib6_purge_rt(), a new exception could be created successfully because rt6_flush_exceptions() no longer sets the bit. This creates a reference cycle between the fib6_info and the exception route, leaking the fib6_info, its nexthop device, and all per-CPU routes in fib6_nh->rt6i_pcpu, which stalls netdev unregistration. [ 34.680602] unregister_netdevice: waiting for gre6 to become free. Usage count = 68 [ 44.920675] unregister_netdevice: waiting for gre6 to become free. Usage count = 68 [ 55.176582] unregister_netdevice: waiting for gre6 to become free. Usage count = 68 Let's call fib6_drop_pcpu_from() before rt6_flush_exceptions(), to set fib6_destroying before rt6_exception_lock, and check f6i->fib6_destroying in rt6_insert_exception(). Note that FIB6_EXCEPTION_BUCKET_FLUSHED logic is dead and we can clean it up in net-next.

EPSS 0.20% · 9.5th percentile

Fixed versions

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

PackageEcosystemFixed in
LinuxLinux649ffc76ed5483b2caf35ed90d3787538efc4e53, 5.3

Risk scores

EPSS Score
0.20%
9.5th percentile

Affected products

VendorProductVersions
LinuxLinuxcc5c073a693fa6ed7a207b0436114f68cce72434, cc5c073a693fa6ed7a207b0436114f68cce72434, cc5c073a693fa6ed7a207b0436114f68cce72434
LinuxLinux5.3, 0, 6.18.55
LinuxLinux*, 0, 5.3
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023perf6.180
amazon:2023kernel6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.18-headers0
linuxlinux_kernel5.3, 5.3, 5.3
amazon:2023kernel6.18-tools0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-tools-devel0

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98598
vulnetix vdb fixes CVE-2026-98598

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-98598/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 ›