Re: [PATCH bpf-next v6] libbpf: avoid overflow in BTF.ext bounds check
From: patchwork-bot+netdevbpf
Date: Fri Aug 21 2026 - 15:12:47 EST
Hello:
This patch was applied to bpf/bpf-next.git (master)
by Andrii Nakryiko <andrii@xxxxxxxxxx>:
On Thu, 13 Aug 2026 20:43:18 -0400 you wrote:
> From: Darren Carreras <carrerasdarren@xxxxxxxxx>
>
> A malformed BTF.ext subsection length in an ELF input can wrap the
> pointer addition used by btf_ext_parse_sec_info() on 32-bit builds. The
> wrapped pointer passes the bounds check and parsing then reads beyond the
> copied BTF.ext data.
>
> [...]
Here is the summary with links:
- [bpf-next,v6] libbpf: avoid overflow in BTF.ext bounds check
https://git.kernel.org/bpf/bpf-next/c/e40f61a31688
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html