Re: [PATCH] bpf: Ensure BPF programs testing skb context initialization
From: Michal Switala
Date: Mon Jul 15 2024 - 14:14:06 EST
Hi,
The reproducer calls the methods bpf_prog_test_run_xdp and
bpf_prog_test_run_skb. Both lead to the invocation of dev_map_enqueue, in the
case of the former, the backtrace is recorded in its entirety, whereas for the
latter it is not. I think the bug might be incorrectly reported on syzkaller, as
during GDB debugging, the problem occurred in functions called from
bpf_prog_test_run_skb. I also ran testing of my patch on syzkaller and the tests
passed.
Regards
Michal