Re: [PATCH] net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull

From: patchwork-bot+netdevbpf
Date: Thu Mar 16 2023 - 20:30:29 EST


Hello:

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

On Thu, 16 Mar 2023 12:05:40 +0100 you wrote:
> Packet length check needs to be located after size and align_count
> calculation to prevent kernel panic in skb_pull() in case
> rx_cmd_a & RX_CMD_A_RED evaluates to true.
>
> Fixes: d8b228318935 ("net: usb: smsc75xx: Limit packet length to skb->len")
> Signed-off-by: Szymon Heidrich <szymon.heidrich@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
https://git.kernel.org/netdev/net/c/43ffe6caccc7

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