Re: [PATCH bpf-next v2 0/2] bpf: Fix bpf_send_signal_task() from kernel thread context

From: patchwork-bot+netdevbpf

Date: Sat Oct 24 2026 - 01:10:50 EST


Hello:

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

On Thu, 1 Oct 2026 12:54:47 +0530 you wrote:
> bpf_send_signal_task() returns -EPERM whenever the calling context is a
> kernel thread, even when the signal is for a different task. The
> cause is the nmi_uaccess_okay() check in bpf_send_signal_common(),
> which is a statement about current and not about the target task.
>
> Patch 1 removes the check, as the signal path does no user memory
> access and the check has nothing to guard there.
>
> [...]

Here is the summary with links:
- [bpf-next,v2,1/2] bpf: Remove nmi_uaccess_okay() check in bpf_send_signal_common()
https://git.kernel.org/bpf/bpf/c/93bd472336ac
- [bpf-next,v2,2/2] selftests/bpf: Test bpf_send_signal_task() from kernel thread context
https://git.kernel.org/bpf/bpf/c/2c79610f72bb

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