Linux
ipv6: fix fib6 walker UAF on seq stop
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 9a3f73d62c86271614eda4c43315230896a37018
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 63407cddabc5992b5ac03af165559f4a1968a032
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 05b687ee04f816658f4a9cf586f4d2f129157943
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 14fdaba201fdff92a3e45994e02bccda409cb19d
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 0eede1689610e9eeaf729ba86fd1321799eb91a0
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < b89b691dd00bf39b9ba39ab9446f8c62f419fa7b
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02
- >= 8d2ca1d7b5c3e63b3a8a81ae99015b615c5f2bf7, < 19b4ed644d68098cc62ab612727f40d30f43476c
Fixed in 9a3f73d62c86271614eda4c43315230896a37018, 63407cddabc5992b5ac03af165559f4a1968a032, 05b687ee04f816658f4a9cf586f4d2f129157943, 14fdaba201fdff92a3e45994e02bccda409cb19d, 0eede1689610e9eeaf729ba86fd1321799eb91a0, b89b691dd00bf39b9ba39ab9446f8c62f419fa7b, 4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02, 19b4ed644d68098cc62ab612727f40d30f43476c
- 3.13
Fixed in 0, 5.10.271, 5.15.222, 6.1.189, 6.6.158, 6.12.111, 6.18.53, 7.2.7, 7.3
Mitigation
Upgrade Linux to 9a3f73d62c86271614eda4c43315230896a37018 or 63407cddabc5992b5ac03af165559f4a1968a032 or 05b687ee04f816658f4a9cf586f4d2f129157943 or 14fdaba201fdff92a3e45994e02bccda409cb19d or 0eede1689610e9eeaf729ba86fd1321799eb91a0 or b89b691dd00bf39b9ba39ab9446f8c62f419fa7b or 4553cfafa8d05c4ce20b1d18f79d9bb3b303fc02 or 19b4ed644d68098cc62ab612727f40d30f43476c or later.
Upgrade Linux to 0 or 5.10.271 or 5.15.222 or 6.1.189 or 6.6.158 or 6.12.111 or 6.18.53 or 7.2.7 or 7.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.