============================= WARNING: suspicious RCU usage 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Not tainted ----------------------------- kernel/events/callchain.c:162 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.2328/12332: #0: ffffffff8e1bab80 (rcu_read_lock_trace){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:337 [inline] #0: ffffffff8e1bab80 (rcu_read_lock_trace){....}-{0:0}, at: rcu_read_lock_trace include/linux/rcupdate_trace.h:58 [inline] #0: ffffffff8e1bab80 (rcu_read_lock_trace){....}-{0:0}, at: bpf_prog_test_run_syscall+0x345/0x770 net/bpf/test_run.c:1559 stack backtrace: CPU: 0 UID: 0 PID: 12332 Comm: syz.3.2328 Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x16c/0x1f0 lib/dump_stack.c:120 lockdep_rcu_suspicious+0x210/0x3c0 kernel/locking/lockdep.c:6845 get_callchain_entry+0x26d/0x3e0 kernel/events/callchain.c:162 get_perf_callchain+0xdb/0x760 kernel/events/callchain.c:226 __bpf_get_stack+0x4b0/0xa20 kernel/bpf/stackmap.c:454 ____bpf_get_stack kernel/bpf/stackmap.c:499 [inline] bpf_get_stack+0x32/0x40 kernel/bpf/stackmap.c:496 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1944 [inline] bpf_get_stack_raw_tp+0x124/0x160 kernel/trace/bpf_trace.c:1934 bpf_prog_d43750871481577d+0x46/0x4e bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:701 [inline] bpf_prog_run include/linux/filter.h:708 [inline] bpf_prog_run_pin_on_cpu include/linux/filter.h:725 [inline] bpf_prog_test_run_syscall+0x3b1/0x770 net/bpf/test_run.c:1560 bpf_prog_test_run kernel/bpf/syscall.c:4402 [inline] __sys_bpf+0xfc9/0x49c0 kernel/bpf/syscall.c:5808 __do_sys_bpf kernel/bpf/syscall.c:5897 [inline] __se_sys_bpf kernel/bpf/syscall.c:5895 [inline] __x64_sys_bpf+0x78/0xc0 kernel/bpf/syscall.c:5895 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fdf2cb7fed9 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:00007fdf2da4b058 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007fdf2cd45fa0 RCX: 00007fdf2cb7fed9 RDX: 000000000000000c RSI: 00000000200004c0 RDI: 000000000000000a RBP: 00007fdf2cbf3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fdf2cd45fa0 R15: 00007ffd7e6bd0e8