Bug#1085178: Re: Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail
On Fri, 2025-02-21 at 21:03 +0100, Salvatore Bonaccorso wrote:
>
> >
> > Essentially this has to do with ftrace and weak functions.
>
> As I understand this is still an issue in 6.12.15-1.
>
That's correct; 6.12.15 should still be impacted, as long as
CONFIG_X86_KERNEL_IBT is set. CONFIG_X86_KERNEL_IBT changes the
function prologue in a way that causes this issue when combined with an
certain fentry bug.
I confirmed this issue is fixed with this patch series:
https://lore.kernel.org/bpf/20250218195918.255228630@goodmis.org/
Since that fixes the underlying fentry bug.
I would guess that series will merge into 6.15, but we'll have to see.
Reply to: