Re: [PATCH net v2 1/1] net: stmmac: fix kernel panic due to NULL pointer dereference of buf->xdp

From: patchwork-bot+netdevbpf
Date: Wed Aug 25 2021 - 06:10:10 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed, 25 Aug 2021 08:57:42 +0800 you wrote:
> Ensure a valid XSK buffer before proceed to free the xdp buffer.
>
> The following kernel panic is observed without this patch:
>
> RIP: 0010:xp_free+0x5/0x40
> Call Trace:
> stmmac_napi_poll_rxtx+0x332/0xb30 [stmmac]
> ? stmmac_tx_timer+0x3c/0xb0 [stmmac]
> net_rx_action+0x13d/0x3d0
> __do_softirq+0xfc/0x2fb
> ? smpboot_register_percpu_thread+0xe0/0xe0
> run_ksoftirqd+0x32/0x70
> smpboot_thread_fn+0x1d8/0x2c0
> kthread+0x169/0x1a0
> ? kthread_park+0x90/0x90
> ret_from_fork+0x1f/0x30
>
> [...]

Here is the summary with links:
- [net,v2,1/1] net: stmmac: fix kernel panic due to NULL pointer dereference of buf->xdp
https://git.kernel.org/netdev/net/c/2b9fff64f032

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