mirror of
https://github.com/hardkernel/linux.git
synced 2026-04-01 02:33:01 +09:00
[ upstream commit68fda450a7] due to some JITs doing if (src_reg == 0) check in 64-bit mode for div/mod operations mask upper 32-bits of src register before doing the check Fixes:622582786c("net: filter: x86: internal BPF JIT") Fixes:7a12b5031c("sparc64: Add eBPF JIT.") Reported-by: syzbot+48340bb518e88849e2e3@syzkaller.appspotmail.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>