PT-2026-167002
CVE-2026-143144
·
Published
2026-12-03
·
Updated
2026-12-03
Description by
Score
N/A
Not availableNo 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: reject routes without an inet6 dev
ip6 route output() and ip6 route lookup() can return an error-free route
whose rt6i idev is NULL. Lowering an external nexthop device's MTU below
IPV6 MIN MTU tears down its inet6 dev, while fib6 ifdown() leaves routes
using nexthop objects in the FIB.
An unprivileged user with CAP NET ADMIN in a private user and network
namespace can construct this state. Consumers which treat a route without
an error as usable can then dereference the NULL rt6i idev. This was
reproduced as a KASAN NULL pointer dereference in ip6 tnl xmit().
An audit of IPv6 route and tunnel users found this unchecked
ip6 dst idev() dereference.
A similar missing inet6 dev check was fixed in commit 1b9b5323725e
("netfilter: ip6t rpfilter: reject routes without inet6 dev"). However,
the route construction path still marks routes without an inet6 dev as
successful, leaving every consumer responsible for the same check.
Acquire the inet6 dev reference before initializing the destination. If a
non-reject route has no inet6 dev, initialize it as RTN UNREACHABLE instead
of a successful route. Explicit reject routes keep their original type and
error. This establishes that ordinary error-free IPv6 routes have an
inet6 dev while retaining the existing defensive checks at callers.
The modified route object builds cleanly with W=1. A full x86 64 KASAN
bzImage build completes; it reports two pre-existing kernel-doc warnings
outside this change.
Tests:
make W=1 net/ipv6/route.o- full x86 64 KASAN
bzImagebuild withW=1 - KASAN QEMU with an unprivileged user and network namespace: after
lowering the MTU, the stale route returned
No route to host, a normal route still resolved, and the collect md trigger completed without KASAN, oops, or panic tools/testing/selftests/net/ip6 tunnel.shin the same KASAN QEMU
Found an issue in the description? Have something to add? Feel free to write us 👾