mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
bpf: fix 32-bit ALU op verification
From: Jann Horn <jannh@google.com> [ Upstream commit468f6eafa6] 32-bit ALU ops operate on 32-bit values and have 32-bit outputs. Adjust the verifier accordingly. Fixes:f1174f77b5("bpf/verifier: rework value tracking") Signed-off-by: Jann Horn <jannh@google.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bf5ee24e87
commit
6c8e098d03
1 changed files with 17 additions and 11 deletions
Loading…
Add table
Add a link
Reference in a new issue