Messages in this thread | | | From | Arnd Bergmann <> | Date | Thu, 5 Dec 2019 10:07:37 +0100 | Subject | Re: [PATCH] ppp: fix out-of-bounds access in bpf_prog_create() |
| |
On Thu, Dec 5, 2019 at 6:55 AM Eric Biggers <ebiggers@kernel.org> wrote: > > From: Eric Biggers <ebiggers@google.com> > > sock_fprog_kern::len is in units of struct sock_filter, not bytes. > > Fixes: 3e859adf3643 ("compat_ioctl: unify copy-in of ppp filters") > Reported-by: syzbot+eb853b51b10f1befa0b7@syzkaller.appspotmail.com > Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Thanks for fixing the bug I introduced!
| |