Re: [PATCH v2] bpf: core: fix shift-out-of-bounds in ___bpf_prog_run
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-06-01 15:43:31
From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-06-01 15:43:31
On Tue, Jun 01, 2021 at 04:33:09PM +0200, Kurt Manucredo wrote:
Fix shift-out-of-bounds in ___bpf_prog_run().
How is this "fixed"?
UBSAN: shift-out-of-bounds in kernel/bpf/core.c:1414:2 shift exponent 248 is too large for 32-bit type 'unsigned int'
What is this from? Any reason you didn't cc: the bpf maintainers and developers?
Reported-by: syzbot+bed360704c521841c85d@syzkaller.appspotmail.com
Does this pass the syzbot testing? thanks, greg k-h _______________________________________________ Linux-kernel-mentees mailing list Linux-kernel-mentees@lists.linuxfoundation.org https://lists.linuxfoundation.org/mailman/listinfo/linux-kernel-mentees