Bug#1085178: Re: Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail
- To: Martin Kelly <martin.kelly@crowdstrike.com>, 1085178@bugs.debian.org
- Subject: Bug#1085178: Re: Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Mon, 21 Apr 2025 14:11:55 +0200
- Message-id: <[🔎] aAY2C3oJxumS9owJ@eldamar.lan>
- Reply-to: Salvatore Bonaccorso <carnil@debian.org>, 1085178@bugs.debian.org
- In-reply-to: <635c3182a0ffe9a0ade0b50d7c34e445256aaf79.camel@crowdstrike.com>
- References: <697b28af8475160ca68382f78c744aee01c633a0.camel@crowdstrike.com> <697b28af8475160ca68382f78c744aee01c633a0.camel@crowdstrike.com> <f6208162be11c2c44f6097fa3043b0d757a0d19b.camel@crowdstrike.com> <Z7jcJmIm8S4QTPlr@eldamar.lan> <697b28af8475160ca68382f78c744aee01c633a0.camel@crowdstrike.com> <635c3182a0ffe9a0ade0b50d7c34e445256aaf79.camel@crowdstrike.com> <697b28af8475160ca68382f78c744aee01c633a0.camel@crowdstrike.com>
Control: tags -1 + fixed-upstream
On Fri, Feb 21, 2025 at 09:43:34PM +0000, Martin Kelly wrote:
> 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.
AFAICS, this has been merged for 6.15-rc1 with
https://git.kernel.org/linus/dd161f74f8198c62f9bcf893f72c64bbb0d68b25
Not sure they will be backported down to 6.12.y.
Regards,
Salvatore
Reply to: