============================= 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.1.14/6032: #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: 2 UID: 0 PID: 6032 Comm: syz.1.14 Not tainted 6.13.0-rc1-syzkaller-00337-g7503345ac5f5 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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/0x4a bpf_dispatcher_nop_func include/linux/bpf.h:1290 [inline] __bpf_prog_run include/linux/filter.h:692 [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+0x5b7/0x770 net/bpf/test_run.c:1560 bpf_prog_test_run kernel/bpf/syscall.c:4402 [inline] __sys_bpf+0xfc6/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:0x7f3d13d7fed9 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:00007f3d14b13058 EFLAGS: 00000246 ORIG_RAX: 0000000000000141 RAX: ffffffffffffffda RBX: 00007f3d13f45fa0 RCX: 00007f3d13d7fed9 RDX: 0000000000000010 RSI: 0000000020000740 RDI: 000000000000000a RBP: 00007f3d13df3cc8 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f3d13f45fa0 R15: 00007ffddf890a28