Re: [PATCH net V1] veth: prevent NULL pointer dereference in veth_xdp_rcv

From: patchwork-bot+netdevbpf
Date: Thu Jun 12 2025 - 11:29:54 EST


Hello:

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

On Wed, 11 Jun 2025 14:40:04 +0200 you wrote:
> The veth peer device is RCU protected, but when the peer device gets
> deleted (veth_dellink) then the pointer is assigned NULL (via
> RCU_INIT_POINTER).
>
> This patch adds a necessary NULL check in veth_xdp_rcv when accessing
> the veth peer net_device.
>
> [...]

Here is the summary with links:
- [net,V1] veth: prevent NULL pointer dereference in veth_xdp_rcv
https://git.kernel.org/netdev/net/c/9337c54401a5

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