On 8/20/20 8:14 AM, Andrii Nakryiko wrote:
BPF_CALL | BPF_JMP32 is explicitly not allowed by verifier for BPF helper
calls, so don't detect it as a valid call. Also drop the check on func_id
pointer, as it's currently always non-null.

Reported-by: Yonghong Song <y...@fb.com>
Fixes: 109cea5a594f ("libbpf: Sanitize BPF program code for bpf_probe_read_{kernel, 
user}[_str]")
Signed-off-by: Andrii Nakryiko <andr...@fb.com>

Series applied, thanks!

Reply via email to