Re: [PATCH bpf-next] libbpf: Fix cleanup on invalid CO-RE relocation offsets

From: patchwork-bot+netdevbpf

Date: Wed Sep 30 2026 - 05:55:03 EST


Hello:

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

On Tue, 29 Sep 2026 22:56:12 -0300 you wrote:
> bpf_object__relocate_core() allocates a CO-RE candidate cache before
> processing relocation records. Two instruction offset validation
> failures return -EINVAL directly instead of going through the common
> cleanup path.
>
> These checks were moved into bpf_object__relocate_core() when
> bpf_core_apply_relo() was split, preserving direct returns that were
> safe in the previous helper but now bypass cleanup.
>
> [...]

Here is the summary with links:
- [bpf-next] libbpf: Fix cleanup on invalid CO-RE relocation offsets
https://git.kernel.org/bpf/bpf-next/c/acff58e30517

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