Re: [PATCH bpf-next 0/4] bpf: Per-task recursion follow-ups for struct_ops and PREEMPT_RT

From: patchwork-bot+netdevbpf

Date: Wed Dec 02 2026 - 15:00:14 EST


Hello:

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

On Wed, 02 Dec 2026 15:15:12 +0200 you wrote:
> Two follow-ups to "bpf: Check recursion per task for preemptible
> programs", per Alexei's review [1].
>
> Patch 1 fixes an existing hole: a struct_ops program with a private
> stack can be the target of a tail call, which enters it past the
> trampoline and its recursion check. The caller is a struct_ops program
> of the same op without a private stack, so it has no recursion check,
> and two tasks on one CPU can run the target on the same private stack.
> Such a program is now refused as a prog array element.
>
> [...]

Here is the summary with links:
- [bpf-next,1/4] bpf: Refuse struct_ops programs with a private stack in prog arrays
https://git.kernel.org/bpf/bpf-next/c/75f2b26fb752
- [bpf-next,2/4] bpf: Keep a per-CPU counter for marked programs on PREEMPT_RT
https://git.kernel.org/bpf/bpf-next/c/f496dc0c687c
- [bpf-next,3/4] selftests/bpf: Test private-stack struct_ops progs in prog arrays
https://git.kernel.org/bpf/bpf-next/c/17ab7b5f7cd1
- [bpf-next,4/4] selftests/bpf: Expect marked programs to drop B on PREEMPT_RT
https://git.kernel.org/bpf/bpf-next/c/d682d1b10033

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