Re: [PATCH bpf] bpf: fix panic due to oob in bpf_prog_test_run_skb

2018-07-11 Thread Alexei Starovoitov
On Wed, Jul 11, 2018 at 03:30:14PM +0200, Daniel Borkmann wrote: > sykzaller triggered several panics similar to the below: > > [...] > [ 248.851531] BUG: KASAN: use-after-free in _copy_to_user+0x5c/0x90 > [ 248.857656] Read of size 985 at addr 88080172 by task a.out/1425 >

[PATCH bpf] bpf: fix panic due to oob in bpf_prog_test_run_skb

2018-07-11 Thread Daniel Borkmann
sykzaller triggered several panics similar to the below: [...] [ 248.851531] BUG: KASAN: use-after-free in _copy_to_user+0x5c/0x90 [ 248.857656] Read of size 985 at addr 88080172 by task a.out/1425 [...] [ 248.865902] CPU: 1 PID: 1425 Comm: a.out Not tainted 4.18.0-rc4+ #13