Re: [PATCH net] ethtool: fix string set id check

From: patchwork-bot+netdevbpf
Date: Wed Dec 16 2020 - 14:33:23 EST


Hello:

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

On Mon, 14 Dec 2020 14:25:01 +0100 (CET) you wrote:
> Syzbot reported a shift of a u32 by more than 31 in strset_parse_request()
> which is undefined behavior. This is caused by range check of string set id
> using variable ret (which is always 0 at this point) instead of id (string
> set id from request).
>
> Fixes: 71921690f974 ("ethtool: provide string sets with STRSET_GET request")
> Reported-by: syzbot+96523fb438937cd01220@xxxxxxxxxxxxxxxxxxxxxxxxx
> Signed-off-by: Michal Kubecek <mkubecek@xxxxxxx>
>
> [...]

Here is the summary with links:
- [net] ethtool: fix string set id check
https://git.kernel.org/netdev/net/c/efb796f5571f

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