Re: [PATCH] net: mcs7830: handle usb read errors properly

From: patchwork-bot+netdevbpf
Date: Sun Jan 09 2022 - 20:00:18 EST


Hello:

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

On Fri, 7 Jan 2022 01:57:16 +0300 you wrote:
> Syzbot reported uninit value in mcs7830_bind(). The problem was in
> missing validation check for bytes read via usbnet_read_cmd().
>
> usbnet_read_cmd() internally calls usb_control_msg(), that returns
> number of bytes read. Code should validate that requested number of bytes
> was actually read.
>
> [...]

Here is the summary with links:
- net: mcs7830: handle usb read errors properly
https://git.kernel.org/netdev/net/c/d668769eb9c5

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