Re: [PATCH bpf-next v5 09/16] bpf: Reject stack arguments in non-JITed programs

Yonghong Song
2026-04-18T17:17:21Z

On 4/16/26 9:30 PM, bot+bpf-ci@kernel.org wrote:
> commit 6f3447bea13f86a674e917f5f8ef4474cdd3b0bc
> Author: Yonghong Song <yonghong.song@linux.dev>
>
> bpf: Reject stack arguments in non-JITed programs
>
> The interpreter does not understand the bpf register r11 (BPF_REG_PARAMS)
> used for stack argument addressing. So reject interpreter usage if stack
> arguments are used either in the main program or any subprogram.
>
> This commit fixes a bug but lacks a Fixes: tag.
>
> Suggested: Fixes: 21229535935384b01e3cef3c117233b23b2f3902 ("bpf: Support stack arguments for bpf functions")

I will merge this patch and previous patch ("bpf: Support stack arguments for bpf functions")
to avoid this issue.

>
>
> ---
> AI reviewed your patch. Please fix the bug or email reply why it's not a bug.
> See: https://github.com/kernel-patches/vmtest/blob/master/ci/claude/README.md
>
> CI run summary: https://github.com/kernel-patches/bpf/actions/runs/24546989054