Re: [PATCH bpf 0/2] bpf: Copy per-CPU map value padding in copy_map_value_long()

From: patchwork-bot+netdevbpf

Date: Wed Jul 01 2026 - 14:41:14 EST


Hello:

This series was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:

On Wed, 24 Jun 2026 23:51:13 +0800 you wrote:
> Sashiko reported [1]:
>
> This is a pre-existing issue, but does iterating over per-CPU maps expose
> uninitialized kernel heap memory?
>
> When working with per-CPU maps, temporary buffers are allocated using kmalloc
> without the __GFP_ZERO flag in functions like bpf_iter_init_array_map in
> kernel/bpf/arraymap.c:
>
> [...]

Here is the summary with links:
- [bpf,1/2] bpf: Copy per-CPU map value padding in copy_map_value_long()
https://git.kernel.org/bpf/bpf-next/c/7cf9cd98cf6f
- [bpf,2/2] selftests/bpf: Verify no non-zeroed kernel heap memory exposure
https://git.kernel.org/bpf/bpf-next/c/163944262f86

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