CVE-2026-97940
ipv6: fix fib6 walker UAF on seq stop
Reported by linux · Published September 25, 2026
In the Linux kernel, the following vulnerability has been resolved: ipv6: fix fib6 walker UAF on seq stop ipv6_route_iter_active() treats a walker in FWS_U at the table root as already unlinked. fib6_del_route() can move a still-linked walker into that same state when the current leaf is the last route at the root, so ipv6_route_native_seq_stop() skips fib6_walker_unlink(). The seq private object can then be freed while it remains on net->ipv6.fib6_walkers. A later route deletion walks the dangling list and uses the freed walker. Use the list head as membership state and reinitialize it when unlinking. Keep the existing w->node check so a never-started iterator with a zeroed private object is not treated as linked. The same stop helper is used by /proc/net/ipv6_route and by the BPF ipv6_route iterator. The BPF show path only widens the race.
EPSS 0.17% · 6.3th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.12-modules-extra-common | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| Linux | Linux | 9a3f73d62c86271614eda4c43315230896a37018, 63407cddabc5992b5ac03af165559f4a1968a032, 3.13, 05b687ee04f816658f4a9cf586f4d2f129157943 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 |
| Linux | Linux | 3.13, 0, 5.10.271 |
| amazon:2023 | kernel6.12-modules-extra-common | 0 |
| Linux | Linux | 7.3, 6.6.158, 6.1.189 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.1.189-236.399 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| amazon:2023 | kernel | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| linux | linux_kernel | 3.13, 3.13, 3.13 |
…and 19 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (6 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-97940
vulnetix vdb fixes CVE-2026-97940
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-97940/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart