Re: [PATCH bpf v2] bpf: verifier: reject addr_space_cast insn without arena

From: patchwork-bot+netdevbpf
Date: Fri Mar 22 2024 - 23:50:48 EST


Hello:

This patch was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 22 Mar 2024 15:35:18 +0000 you wrote:
> The verifier allows using the addr_space_cast instruction in a program
> that doesn't have an associated arena. This was caught in the form an
> invalid memory access in do_misc_fixups() when while converting
> addr_space_cast to a normal 32-bit mov, env->prog->aux->arena was
> dereferenced to check for BPF_F_NO_USER_CONV flag.
>
> Reject programs that include the addr_space_cast instruction but don't
> have an associated arena.
>
> [...]

Here is the summary with links:
- [bpf,v2] bpf: verifier: reject addr_space_cast insn without arena
https://git.kernel.org/bpf/bpf/c/122fdbd2a030

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html