syzbot has bisected this issue to: commit 0ee288e69d033850bc87abe0f9cc3ada24763d7f Author: Jiri Olsa <jolsa@xxxxxxxxxx> Date: Wed Oct 23 20:03:52 2024 +0000 bpf,perf: Fix perf_event_detach_bpf_prog error handling bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=103530f8580000 start commit: e2cf913314b9 Merge branch 'fixes-for-stack-with-allow_ptr_.. git tree: bpf final oops: https://syzkaller.appspot.com/x/report.txt?x=123530f8580000 console output: https://syzkaller.appspot.com/x/log.txt?x=143530f8580000 kernel config: https://syzkaller.appspot.com/x/.config?x=fb680913ee293bcc dashboard link: https://syzkaller.appspot.com/bug?extid=2e0d2840414ce817aaac syz repro: https://syzkaller.appspot.com/x/repro.syz?x=132a2020580000 C reproducer: https://syzkaller.appspot.com/x/repro.c?x=1291d0f8580000 Reported-by: syzbot+2e0d2840414ce817aaac@xxxxxxxxxxxxxxxxxxxxxxxxx Fixes: 0ee288e69d03 ("bpf,perf: Fix perf_event_detach_bpf_prog error handling") For information about bisection process see: https://goo.gl/tpsmEJ#bisection