Re: [PATCH net v3] ipv6: add NULL checks for idev in SRv6 paths
From: patchwork-bot+netdevbpf
Date: Wed Mar 18 2026 - 20:44:43 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 16 Mar 2026 15:33:01 +0800 you wrote:
> __in6_dev_get() can return NULL when the device has no IPv6 configuration
> (e.g. MTU < IPV6_MIN_MTU or after NETDEV_UNREGISTER).
>
> Add NULL checks for idev returned by __in6_dev_get() in both
> seg6_hmac_validate_skb() and ipv6_srh_rcv() to prevent potential NULL
> pointer dereferences.
>
> [...]
Here is the summary with links:
- [net,v3] ipv6: add NULL checks for idev in SRv6 paths
https://git.kernel.org/netdev/net/c/064137935262
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html