lkml.org 
[lkml]   [2023]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net: usb: smsc75xx: Move packet length check to prevent kernel panic in skb_pull
From
Date
Hello:

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

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@gmail.com>
>
> [...]

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


\
 
 \ /
  Last update: 2023-03-27 01:04    [W:1.426 / U:1.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site