diff options
author | Eric Biggers <ebiggers@google.com> | 2019-12-04 21:54:19 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-05 14:45:19 -0800 |
commit | 0033b34a03ec5cf747cdaf9b1f9dceb91c020f17 (patch) | |
tree | 299f3f47c09c1e21245194204662b96bb73ef6a1 /drivers/net/ethernet/freescale | |
parent | a116f4e238cc20dfbac30c65949752798f5b6efa (diff) |
ppp: fix out-of-bounds access in bpf_prog_create()
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale')
0 files changed, 0 insertions, 0 deletions