Re: [PATCH net v3] ipv6: reject routes without an inet6_dev

From: patchwork-bot+netdevbpf

Date: Wed Nov 11 2026 - 17:02:59 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 9 Nov 2026 16:29:40 +0800 you wrote:
> 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().
>
> [...]

Here is the summary with links:
- [net,v3] ipv6: reject routes without an inet6_dev
https://git.kernel.org/netdev/net/c/08a1eb7a634f

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html