Re: [PATCH v2] net: usb: smsc95xx: Limit packet length to skb->len

From: patchwork-bot+netdevbpf
Date: Sat Mar 18 2023 - 01:10:30 EST


Hello:

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

On Thu, 16 Mar 2023 11:19:54 +0100 you wrote:
> Packet length retrieved from descriptor may be larger than
> the actual socket buffer length. In such case the cloned
> skb passed up the network stack will leak kernel memory contents.
>
> Fixes: 2f7ca802bdae ("net: Add SMSC LAN9500 USB2.0 10/100 ethernet adapter driver")
> Signed-off-by: Szymon Heidrich <szymon.heidrich@xxxxxxxxx>
>
> [...]

Here is the summary with links:
- [v2] net: usb: smsc95xx: Limit packet length to skb->len
https://git.kernel.org/netdev/net/c/ff821092cf02

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