From: Alexei Starovoitov
Date: Wed, 10 Dec 2014 20:14:55 -0800
> 0day robot reported the following crash:
> [ 21.233581] BUG: unable to handle kernel NULL pointer dereference at
> 0007
> [ 21.234709] IP: [] sk_attach_bpf+0x39/0xc2
>
> It's due to bpf_prog_get() returning ERR_PTR
0day robot reported the following crash:
[ 21.233581] BUG: unable to handle kernel NULL pointer dereference at
0007
[ 21.234709] IP: [] sk_attach_bpf+0x39/0xc2
It's due to bpf_prog_get() returning ERR_PTR.
Check it properly.
Reported-by: Fengguang Wu
Fixes: 89aa075832b0 ("net: s
2 matches
Mail list logo