PT-2026-167206
CVE-2026-143348
·
Publicado
2026-12-03
·
Atualizado
2026-12-03
Descrição por
Pontuação
N/A
Não disponívelNão há classificações de severidade ou métricas disponíveis. Quando houver, atualizaremos as informações correspondentes na página.
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:
- link failure fn sernum = -1
- dump pauses on route R
- replace R fn sernum changed, R freed
- link failure fn sernum = -1
- 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.
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾