diff options
author | Eric Biggers <[email protected]> | 2019-12-04 21:54:19 -0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-12-05 14:45:19 -0800 |
commit | 0033b34a03ec5cf747cdaf9b1f9dceb91c020f17 (patch) | |
tree | 299f3f47c09c1e21245194204662b96bb73ef6a1 /tools/perf/util/trace-event-scripting.c | |
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: [email protected]
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions