Re: [PATCH net v5] net: atlantic: fix fragment overflow handling in RX path
From: patchwork-bot+netdevbpf
Date: Wed Nov 26 2025 - 23:01:02 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 26 Nov 2025 11:22:49 +0800 you wrote:
> From: Jiefeng Zhang <jiefeng.z.zhang@xxxxxxxxx>
>
> The atlantic driver can receive packets with more than MAX_SKB_FRAGS (17)
> fragments when handling large multi-descriptor packets. This causes an
> out-of-bounds write in skb_add_rx_frag_netmem() leading to kernel panic.
>
> The issue occurs because the driver doesn't check the total number of
> fragments before calling skb_add_rx_frag(). When a packet requires more
> than MAX_SKB_FRAGS fragments, the fragment index exceeds the array bounds.
>
> [...]
Here is the summary with links:
- [net,v5] net: atlantic: fix fragment overflow handling in RX path
https://git.kernel.org/netdev/net/c/5ffcb7b890f6
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html