ipv6: fix fib6 walker UAF on seq stop (Linux Linux)

CVE-2026-97940
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 < 9a3f73d62c86271614eda4c43315230896a37018 ; affected 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 < 63407cddabc5992b5ac03af165559f4a1968a032 ; affected 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 < 05b687ee04f816658f4a9cf586f4d2f129157943 ; affected 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 < 14fdaba201fdff92a3e45994e02bccda409cb19d ; affected 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 < 0eede1689610e9eeaf729ba86fd1321799eb91a0 ; affected 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7 < b89b691dd00bf39b9ba39ab9446f8c62f419fa7b
Linux · Linuxaffected 3.13 ; unaffected 0 < 3.13 ; unaffected 5.10.271 ≤ 5.10.* ; unaffected 5.15.222 ≤ 5.15.* ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD