============================= WARNING: suspicious RCU usage 6.1.110-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.3.416/5107: #0: ffffffff8d32b8c0 (rcu_read_lock_trace){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline] #0: ffffffff8d32b8c0 (rcu_read_lock_trace){....}-{0:0}, at: rcu_read_lock_trace+0x37/0x70 include/linux/rcupdate_trace.h:57 stack backtrace: CPU: 1 PID: 5107 Comm: syz.3.416 Not tainted 6.1.110-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/0x2cb lib/dump_stack.c:106 lockdep_rcu_suspicious+0x21c/0x330 kernel/locking/lockdep.c:6592 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:438 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1877 [inline] bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1867 bpf_prog_2ae546726a474a42+0x3d/0x41 bpf_dispatcher_nop_func include/linux/bpf.h:989 [inline] __bpf_prog_run include/linux/filter.h:603 [inline] bpf_prog_run include/linux/filter.h:610 [inline] bpf_prog_run_pin_on_cpu+0x62/0x130 include/linux/filter.h:627 bpf_prog_test_run_syscall+0x312/0x4d0 net/bpf/test_run.c:1635 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3685 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5038 __do_sys_bpf kernel/bpf/syscall.c:5124 [inline] __se_sys_bpf kernel/bpf/syscall.c:5122 [inline] __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5122 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f0f1257def9 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:00007f0f132e8038 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f0f12735f80 RCX: 00007f0f1257def9 RDX: 000000000000000c RSI: 00000000200004c0 RDI: 000000000000000a RBP: 00007f0f125f0b76 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f0f12735f80 R15: 00007ffc80b44668