[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <0c06b319-bbdb-a692-e659-f5bc873be43c@iogearbox.net>
Date: Thu, 20 Aug 2020 17:16:38 +0200
From: Daniel Borkmann <daniel@...earbox.net>
To: Andrii Nakryiko <andriin@...com>, bpf@...r.kernel.org,
netdev@...r.kernel.org, ast@...com
Cc: andrii.nakryiko@...il.com, kernel-team@...com,
Yonghong Song <yhs@...com>
Subject: Re: [PATCH bpf-next 1/4] libbpf: fix detection of BPF helper call
instruction
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 <yhs@...com>
> Fixes: 109cea5a594f ("libbpf: Sanitize BPF program code for bpf_probe_read_{kernel, user}[_str]")
> Signed-off-by: Andrii Nakryiko <andriin@...com>
Series applied, thanks!
Powered by blists - more mailing lists