Re: [PATCH net v2] net: pegasus: fix uninit-value in get_interrupt_interval

From: patchwork-bot+netdevbpf
Date: Thu Aug 05 2021 - 10:50:14 EST


Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Wed, 4 Aug 2021 17:30:05 +0300 you wrote:
> Syzbot reported uninit value pegasus_probe(). The problem was in missing
> error handling.
>
> get_interrupt_interval() internally calls read_eprom_word() which can
> fail in some cases. For example: failed to receive usb control message.
> These cases should be handled to prevent uninit value bug, since
> read_eprom_word() will not initialize passed stack variable in case of
> internal failure.
>
> [...]

Here is the summary with links:
- [net,v2] net: pegasus: fix uninit-value in get_interrupt_interval
https://git.kernel.org/netdev/net/c/af35fc37354c

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