Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1223018

Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail

From Martin Kelly <martin.kelly@crowdstrike.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail
Date 2024-12-07 00:40 +0100
Message-ID <JQQ5r-eiDW-7@gated-at.bofh.it> (permalink)
References <JxVIl-1R8O-15@gated-at.bofh.it> <JxVIl-1R8O-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Tue, 15 Oct 2024 18:55:11 +0000 Martin Kelly
<martin.kelly@crowdstrike.com> wrote:
> Source: linux-signed-amd64
> X-Debbugs-Cc: martin.kelly@crowdstrike.com
> Version: 6.11.2+1
> Severity: important
> Tags: upstream
> 
> Some BPF fentry hooks in the 6.11.2-cloud-amd64 kernel successfully
> load
> but then are ignored when they should fire. This can be seen with the
> following bpftrace command:
> 
> bpftrace -e 'kfunc:acct_process { printf("acct_process called\n"); }'
> 

This was root-caused to be the same issue as the one addressed in this
(unmerged) patch series:
https://lore.kernel.org/lkml/20240723063258.2240610-1-zhengyejian@huaweicloud.com/

Essentially this has to do with ftrace and weak functions.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail Martin Kelly <martin.kelly@crowdstrike.com> - 2024-12-07 00:40 +0100

csiph-web