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

2020-12-16 Thread patchwork-bot+netdevbpf
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

[PATCH net] ethtool: fix string set id check

2020-12-14 Thread Michal Kubecek
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