Re: [PATCH bpf 0/4] lib/buildid: fix a few bugs
From: patchwork-bot+netdevbpf
Date: Fri Dec 04 2026 - 16:50:16 EST
Hello:
This series was applied to bpf/bpf.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:
On Thu, 3 Dec 2026 11:31:22 -0500 you wrote:
> Hi everyone,
>
> These are AI generated fixes for a few buildid bugs.
>
> Patches 1-3 add the checks that freader_fetch() needs before it calls
> __kernel_read(). Without them, we can trigger a warning, overflow the
> kernfs read buffer, or read from a socket.
>
> [...]
Here is the summary with links:
- [bpf,1/4] lib/buildid: check FMODE_READ before __kernel_read()
https://git.kernel.org/bpf/bpf/c/cb634df2b91e
- [bpf,2/4] lib/buildid: check the offset before __kernel_read()
https://git.kernel.org/bpf/bpf/c/adfc32b685e8
- [bpf,3/4] lib/buildid: check the file type before __kernel_read()
https://git.kernel.org/bpf/bpf/c/03b365971313
- [bpf,4/4] lib/buildid: limit the number of ELF notes per parse
https://git.kernel.org/bpf/bpf/c/12af212c4ffa
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html