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


Groups > linux.debian.kernel > #84745

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.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail Martin Kelly <martin.kelly@crowdstrike.com> - 2024-10-15 21:50 +0200
  Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail Martin Kelly <martin.kelly@crowdstrike.com> - 2024-12-07 00:40 +0100
    Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail Salvatore Bonaccorso <carnil@debian.org> - 2025-02-21 21:10 +0100
  Processed: Re: Bug#1085178: linux-signed-amd64: Some BPF fentry  hooks silently fail "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-02-21 21:10 +0100
  Bug#1085178: Re: Bug#1085178: linux-signed-amd64: Some BPF fentry hooks silently fail Salvatore Bonaccorso <carnil@debian.org> - 2025-04-21 14:20 +0200
  Processed: Re: Bug#1085178: Re: Bug#1085178: linux-signed-amd64:  Some BPF fentry hooks silently fail "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-21 14:20 +0200
  Bug#1085178: closing 1085178 Salvatore Bonaccorso <carnil@debian.org> - 2025-10-22 08:00 +0200
    Processed: closing 1085178 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-10-22 08:00 +0200

csiph-web