============================= WARNING: suspicious RCU usage 5.15.165-syzkaller #0 Not tainted ----------------------------- kernel/events/callchain.c:161 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz.0.157/4146: #0: ffffffff8c920380 (rcu_read_lock_trace){....}-{0:0} , at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312 stack backtrace: CPU: 0 PID: 4146 Comm: syz.0.157 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 get_callchain_entry+0x2ac/0x3c0 kernel/events/callchain.c:161 get_perf_callchain+0xe6/0x810 kernel/events/callchain.c:187 __bpf_get_stack+0x378/0x570 kernel/bpf/stackmap.c:482 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480 bpf_prog_d43750871481577d+0x3d/0xc5c bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_prog_run_pin_on_cpu+0xa2/0x130 include/linux/filter.h:652 bpf_prog_test_run_syscall+0x366/0x550 net/bpf/test_run.c:1061 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3368 __sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4669 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f347d0d1eb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f347b54e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f347d26df80 RCX: 00007f347d0d1eb9 RDX: 000000000000000c RSI: 00000000200004c0 RDI: 000000000000000a RBP: 00007f347d13f93e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f347d26df80 R15: 00007ffe0b5290c8 ============================= WARNING: suspicious RCU usage 5.15.165-syzkaller #0 Not tainted ----------------------------- include/linux/perf_event.h:1274 suspicious rcu_dereference_check() usage! other info that might help us debug this: rcu_scheduler_active = 2, debug_locks = 1 1 lock held by syz.0.157/4146: #0: ffffffff8c920380 (rcu_read_lock_trace){....}-{0:0}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312 stack backtrace: CPU: 0 PID: 4146 Comm: syz.0.157 Not tainted 5.15.165-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 perf_get_guest_cbs include/linux/perf_event.h:1274 [inline] perf_callchain_kernel+0x38b/0x6e0 arch/x86/events/core.c:2766 get_perf_callchain+0x579/0x810 kernel/events/callchain.c:200 __bpf_get_stack+0x378/0x570 kernel/bpf/stackmap.c:482 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480 bpf_prog_d43750871481577d+0x3d/0xc5c bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline] __bpf_prog_run include/linux/filter.h:621 [inline] bpf_prog_run include/linux/filter.h:635 [inline] bpf_prog_run_pin_on_cpu+0xa2/0x130 include/linux/filter.h:652 bpf_prog_test_run_syscall+0x366/0x550 net/bpf/test_run.c:1061 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3368 __sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4669 __do_sys_bpf kernel/bpf/syscall.c:4755 [inline] __se_sys_bpf kernel/bpf/syscall.c:4753 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4753 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f347d0d1eb9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f347b54e038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f347d26df80 RCX: 00007f347d0d1eb9 RDX: 000000000000000c RSI: 00000000200004c0 RDI: 000000000000000a RBP: 00007f347d13f93e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f347d26df80 R15: 00007ffe0b5290c8