On Mon, Aug 17, 2020 at 11:27 AM Josef Bacik <jo...@toxicpanda.com> wrote:
>
> On 8/17/20 1:42 PM, Yonghong Song wrote:
> > With latest `bpftool prog` command, we observed the following kernel
> > panic.
> >      BUG: kernel NULL pointer dereference, address: 0000000000000000
> >
> > This patch used get_file_rcu() which only grabs a file if the
> > file->f_count is not zero. This is to ensure the file pointer
> > is always valid. The above reproducer did not fail for more
> > than 30 minutes.
> >
> > Fixes: eaaacd23910f ("bpf: Add task and task/file iterator targets")
> > Suggested-by: Josef Bacik <jo...@toxicpanda.com>
> > Signed-off-by: Yonghong Song <y...@fb.com>
> > ---
>
> Reviewed-by: Josef Bacik <jo...@toxicpanda.com>

Applied. Thanks

Reply via email to