On 2/17/21 11:46 PM, Cong Wang wrote:
On Wed, Feb 17, 2021 at 2:01 PM Daniel Borkmann wrote:
On 2/17/21 4:58 AM, Cong Wang wrote:
From: Cong Wang
Pretty much similar to commit 1336c662474e
("bpf: Clear per_cpu pointers during bpf_prog_realloc") we also need to
clear these two percpu pointers
On Wed, Feb 17, 2021 at 2:01 PM Daniel Borkmann wrote:
>
> On 2/17/21 4:58 AM, Cong Wang wrote:
> > From: Cong Wang
> >
> > Pretty much similar to commit 1336c662474e
> > ("bpf: Clear per_cpu pointers during bpf_prog_realloc") we also need to
> > clear these two percpu pointers in bpf_prog_clone_
On 2/17/21 4:58 AM, Cong Wang wrote:
From: Cong Wang
Pretty much similar to commit 1336c662474e
("bpf: Clear per_cpu pointers during bpf_prog_realloc") we also need to
clear these two percpu pointers in bpf_prog_clone_create(), otherwise
would get a double free:
BUG: kernel NULL pointer dere
Cong Wang wrote:
> From: Cong Wang
>
> Pretty much similar to commit 1336c662474e
> ("bpf: Clear per_cpu pointers during bpf_prog_realloc") we also need to
> clear these two percpu pointers in bpf_prog_clone_create(), otherwise
> would get a double free:
>
> BUG: kernel NULL pointer dereference
From: Cong Wang
Pretty much similar to commit 1336c662474e
("bpf: Clear per_cpu pointers during bpf_prog_realloc") we also need to
clear these two percpu pointers in bpf_prog_clone_create(), otherwise
would get a double free:
BUG: kernel NULL pointer dereference, address:
#PF: