AZL-118187: CVE-2026-143144 affecting package kernel 6.6.161.1-1
In the Linux kernel, the following vulnerability has been resolved:
ipv6: reject routes without an inet6dev
ip6routeoutput() and ip6routelookup() can return an error-free route whose rt6iidev is NULL. Lowering an external nexthop device's MTU below IPV6MINMTU tears down its inet6dev, while fib6ifdown() leaves routes using nexthop objects in the FIB.
An unprivileged user with CAPNETADMIN 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 rt6iidev. This was reproduced as a KASAN NULL pointer dereference in ip6tnlxmit().
An audit of IPv6 route and tunnel users found this unchecked ip6dstidev() dereference.
A similar missing inet6dev check was fixed in commit 1b9b5323725e ("netfilter: ip6trpfilter: reject routes without inet6dev"). However, the route construction path still marks routes without an inet6dev as successful, leaving every consumer responsible for the same check.
Acquire the inet6dev reference before initializing the destination. If a non-reject route has no inet6dev, initialize it as RTNUNREACHABLE instead of a successful route. Explicit reject routes keep their original type and error. This establishes that ordinary error-free IPv6 routes have an inet6dev while retaining the existing defensive checks at callers.
The modified route object builds cleanly with W=1. A full x8664 KASAN bzImage build completes; it reports two pre-existing kernel-doc warnings outside this change.
Tests: - make W=1 net/ipv6/route.o - full x8664 KASAN bzImage build with W=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 collectmd trigger completed without KASAN, oops, or panic - tools/testing/selftests/net/ip6tunnel.sh in the same KASAN QEMU
Affected Software
Event History
Frequently Asked Questions
What level of access is required to trigger the issue?
The issue was reproduced by an unprivileged user who has CAP_NET_ADMIN within a private user and network namespace. The attacker can create the condition by lowering an external nexthop device's MTU below IPV6_MIN_MTU.
What happens after the invalid route is created?
IPv6 route lookup or output can return a route without an error even though its rt6i_idev is NULL. Consumers that treat that route as usable may dereference the NULL pointer; the issue was reproduced in ip6_tnl_xmit() as a KASAN NULL pointer dereference.
What route state indicates exposure to the fault condition?
The relevant condition is a non-reject IPv6 route that has no inet6_dev after the nexthop device's inet6_dev is torn down. Routes using nexthop objects can remain in the FIB after fib6_ifdown() in this state.