Thread (7 messages) read the whole thread 7 messages, 4 authors, 2019-12-05

Re: [PATCH] ppp: fix out-of-bounds access in bpf_prog_create()

From: Arnd Bergmann <arnd@arndb.de>
Date: 2019-12-05 09:08:03
Also in: bpf, linux-fsdevel, lkml

On Thu, Dec 5, 2019 at 6:55 AM Eric Biggers [off-list ref] wrote:
From: Eric Biggers <redacted>

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 <redacted>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>

Thanks for fixing the bug I introduced!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help