Re: [PATCH bpf-next v9 0/5] bpf: Add user memory access kfuncs for mm_struct

From: patchwork-bot+netdevbpf

Date: Fri Sep 18 2026 - 12:44:28 EST


Hello:

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

On Fri, 18 Sep 2026 16:17:52 +0300 you wrote:
> On MMU systems, during exec, argument and environment strings are copied
> into the new address space held by struct linux_binprm before that address
> space is installed on the task_struct. Existing BPF user memory helpers
> operate on the current address space or one associated with a task_struct.
> Because no task_struct refers to the new address space at this point,
> programs cannot access these strings from the bprm_check_security LSM
> hook.
>
> [...]

Here is the summary with links:
- [bpf-next,v9,1/5] mm: Add copy_remote_mm_str()
https://git.kernel.org/bpf/bpf-next/c/69d38c792c53
- [bpf-next,v9,2/5] exec: Clear bprm->mm before dropping its reference
https://git.kernel.org/bpf/bpf-next/c/adc7fb9955e2
- [bpf-next,v9,3/5] bpf: Add user memory access kfuncs for mm_struct
https://git.kernel.org/bpf/bpf-next/c/3f9d98dfed79
- [bpf-next,v9,4/5] bpf: Mark linux_binprm->mm as trusted-or-null
https://git.kernel.org/bpf/bpf-next/c/cca46f91737c
- [bpf-next,v9,5/5] selftests/bpf: Test mm_struct user memory kfuncs with linux_binprm
https://git.kernel.org/bpf/bpf-next/c/b5501fb38ff7

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