CVE-2026-97940

Source
https://cve.org/CVERecord?id=CVE-2026-97940
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97940.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-97940
Downstream
Published
2026-09-25T10:22:52Z
Modified
2026-09-26T03:48:27Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
ipv6: fix fib6 walker UAF on seq stop
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/97xxx/CVE-2026-97940.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7
Fixed
0eede1689610e9eeaf729ba86fd1321799eb91a0
Fixed
b89b691dd00bf39b9ba39ab9446f8c62f419fa7b
Fixed
4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02
Fixed
19b4ed644d68098cc62ab612727f40d30f43476c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97940.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.13.0
Fixed
6.12.111
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.53
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.2.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-97940.json"