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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux