CVE-2026-97940
ipv6: fix fib6 walker UAF on seq stop
Check your servers for CVE-2026-97940
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-97940 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 4.21% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 9a3f73d62c86271614eda4c43315230896a37018 affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 63407cddabc5992b5ac03af165559f4a1968a032 affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 05b687ee04f816658f4a9cf586f4d2f129157943 affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 14fdaba201fdff92a3e45994e02bccda409cb19d affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 0eede1689610e9eeaf729ba86fd1321799eb91a0 affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before b89b691dd00bf39b9ba39ab9446f8c62f419fa7b affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02 affected from 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, before 19b4ed644d68098cc62ab612727f40d30f43476c
Other versions: unaffected
|
| Linux |
affected 3.13 unaffected before 3.13 unaffected from 5.10.271 up to and including 5.10.* unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-97940 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-97940
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-97940
trivy image --scanners vuln IMAGE | grep CVE-2026-97940
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/9a3f73d62c86271614eda4c43315230896a37018 git.kernel.org
- https://git.kernel.org/stable/c/63407cddabc5992b5ac03af165559f4a1968a032 git.kernel.org
- https://git.kernel.org/stable/c/05b687ee04f816658f4a9cf586f4d2f129157943 git.kernel.org
- https://git.kernel.org/stable/c/14fdaba201fdff92a3e45994e02bccda409cb19d git.kernel.org
- https://git.kernel.org/stable/c/0eede1689610e9eeaf729ba86fd1321799eb91a0 git.kernel.org
- https://git.kernel.org/stable/c/b89b691dd00bf39b9ba39ab9446f8c62f419fa7b git.kernel.org
- https://git.kernel.org/stable/c/4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02 git.kernel.org
- https://git.kernel.org/stable/c/19b4ed644d68098cc62ab612727f40d30f43476c git.kernel.org
Source: the record CVE-2026-97940 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse