Re: [PATCH bpf] bpf: Fix stale offload->prog pointer after constant blinding
From: patchwork-bot+netdevbpf
Date: Sun Apr 05 2026 - 22:00:37 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 2 Apr 2026 20:18:50 +0800 you wrote:
> From: MingTao Huang <mintaohuang@xxxxxxxxxxx>
>
> When a dev-bound-only BPF program (BPF_F_XDP_DEV_BOUND_ONLY) undergoes
> JIT compilation with constant blinding enabled (bpf_jit_harden >= 2),
> bpf_jit_blind_constants() clones the program. The original prog is then
> freed in bpf_jit_prog_release_other(), which updates aux->prog to point
> to the surviving clone, but fails to update offload->prog.
>
> [...]
Here is the summary with links:
- [bpf] bpf: Fix stale offload->prog pointer after constant blinding
https://git.kernel.org/bpf/bpf-next/c/a1aa9ef47c29
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html