[PATCH bpf v3] bpf, arm64: Fix racy plt target update in bpf_arch_text_poke()

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Sat Oct 10 08:10:07 PDT 2026


Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast at kernel.org>:

On Fri,  9 Oct 2026 10:37:59 -0700 you wrote:
> When a long-jump trampoline is attached to or detached from a bpf prog,
> bpf_arch_text_poke() updates the plt target at the end of the prog by
> temporarily making the page writable:
> 
> 	set_memory_rw(page);
> 	WRITE_ONCE(plt->target, plt_target);
> 	set_memory_ro(page);
> 
> [...]

Here is the summary with links:
  - [bpf,v3] bpf, arm64: Fix racy plt target update in bpf_arch_text_poke()
    https://git.kernel.org/bpf/bpf-next/c/6335e6719fd3

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





More information about the linux-arm-kernel mailing list