Re: [PATCH bpf-next v2 0/2] bpf: Compare iterator types during state pruning

From: patchwork-bot+netdevbpf

Date: Tue Aug 11 2026 - 18:01:25 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Eduard Zingerman <eddyz87@xxxxxxxxx>:

On Mon, 10 Aug 2026 20:59:53 -0700 you wrote:
> Iterator stack slots can be marked MEM_RCU or PTR_UNTRUSTED. The
> STACK_ITER check in stacksafe() does not compare this type, so state
> pruning can treat these states as equal and prune an unsafe path.
>
> Compare the type and add a test where RCU protection has a gap.
>
>
> [...]

Here is the summary with links:
- [bpf-next,v2,1/2] bpf: Compare iterator types during state pruning
https://git.kernel.org/bpf/bpf-next/c/83608e303b95
- [bpf-next,v2,2/2] selftests/bpf: Test RCU iterator state pruning
https://git.kernel.org/bpf/bpf-next/c/81f209d5f743

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