PT-2026-167206

CVE-2026-143348

·

Published

2026-12-03

·

Updated

2026-12-03

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
ipv6: fix fib6 walker UAF on NLM F REPLACE
fib6 walker uses w->leaf to remember the next fib6 info to dump, so an RTM GETROUTE dump can continue there on the next recvmsg(). This assumes that whoever removes a route from the tree also updates the walkers pointing at it. fib6 del route() does: it moves w->leaf to the next route. The NLM F REPLACE branch of fib6 add rt2node() does not: it removes the old route, fib6 add() frees it, and w->leaf keeps pointing at the freed object.
The fn sernum version check in fib6 dump table() normally protects against resuming on a stale w->leaf, but it can be bypassed: ip6 link failure() resets fn sernum to -1 when the default route fails, which an unprivileged user in a user+net namespace can cause:
  1. link failure fn sernum = -1
  2. dump pauses on route R
  3. replace R fn sernum changed, R freed
  4. link failure fn sernum = -1
  5. dump resumes -1 == -1, reads freed R <- UAF
BUG: KASAN: slab-use-after-free in rt6 fill node+0x1c22/0x2cd0 Read of size 4 at addr ff11000011fa0064 by task poc/101 rt6 fill node <- rt6 dump route
Fix by adjusting walkers separately for replacement and deletion. For replacement, add fib6 walkers replace leaf() points w->leaf at the new route. For deletion and ECMP sibling removal, fib6 walkers skip rt() calls fib6 walkers replace leaf() with the next route. Reset w->skip in node when updating w->leaf, and set w->state to FWS U when no next route remains.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾