Re: [PATCH bpf 0/2] bpf: don't attach links to modules that are still loading
From: patchwork-bot+netdevbpf
Date: Thu Dec 03 2026 - 21:30:18 EST
Hello:
This series was applied to bpf/bpf.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:
On Thu, 3 Dec 2026 15:26:15 -0500 you wrote:
> Hi everyone,
>
> These are AI generated fixes for two use-after-frees in BPF links.
>
> When a module fails to load, we free it without checking for references.
> If somebody creates a link while it's still loading, the link is left
> pointing at freed memory. With these applied, the link fails until the
> module is live.
>
> [...]
Here is the summary with links:
- [bpf,1/2] bpf: Reject raw tracepoint links on coming modules
https://git.kernel.org/bpf/bpf/c/fd535e97a1f3
- [bpf,2/2] bpf: Reject kprobe_multi links on coming modules
https://git.kernel.org/bpf/bpf/c/3d6bc938760f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html