[PATCH v2] bpf: core: fix shift-out-of-bounds in ___bpf_prog_run
Greg KH
gregkh at linuxfoundation.org
Tue Jun 1 15:43:24 UTC 2021
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 at syzkaller.appspotmail.com
Does this pass the syzbot testing?
thanks,
greg k-h
More information about the Linux-kernel-mentees
mailing list