syzbot


WARNING: suspicious RCU usage in get_callchain_entry

Status: upstream: reported C repro on 2024/04/26 10:45
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+a7ca37e23072f6e28af5@syzkaller.appspotmail.com
First crash: 49d, last: 2d22h
Bug presence (1)
Date Name Commit Repro Result
2024/04/26 upstream (ToT) c942a0cd3603 C [report] WARNING: suspicious RCU usage in get_callchain_entry
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING: suspicious RCU usage in get_callchain_entry C 3 1d15h 1d16h 0/3 upstream: reported C repro on 2024/06/13 11:30
upstream WARNING: suspicious RCU usage in get_callchain_entry perf C error 1183 1d14h 45d 0/27 upstream: reported C repro on 2024/04/30 10:49

Sample crash report:
=============================
WARNING: suspicious RCU usage
6.1.92-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-executor283/3542:
 #0: ffffffff8d12b540 (rcu_read_lock_trace){....}-{0:0}, at: rcu_lock_acquire include/linux/rcupdate.h:350 [inline]
 #0: ffffffff8d12b540 (rcu_read_lock_trace){....}-{0:0}, at: rcu_read_lock_trace+0x37/0x70 include/linux/rcupdate_trace.h:57

stack backtrace:
CPU: 1 PID: 3542 Comm: syz-executor283 Not tainted 6.1.92-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024
Call Trace:
 <TASK>
 __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_b8a90dd1efcc4ad9+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:1629
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3670
 __sys_bpf+0x3eb/0x6c0 kernel/bpf/syscall.c:5023
 __do_sys_bpf kernel/bpf/syscall.c:5109 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:5107 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:5107
 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:0x7f46dfe2d669
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff6823d538 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007fff6823d708 RCX: 00007f46dfe2d669
RDX: 000000000000000c RSI: 00000000200004c0 RDI: 000000000000000a
RBP: 00007f46dfea0610 R08: 00007fff6823d708 R09: 00007fff6823d708
R10: 00007

Crashes (59):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/06/12 05:34 linux-6.1.y 88690811da69 4d75f4f7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/05/09 01:11 linux-6.1.y 909ba1f1b414 20bf80e1 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/05/01 03:04 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 17:16 linux-6.1.y 6741e066ec76 059e9963 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 16:44 linux-6.1.y 6741e066ec76 059e9963 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 16:15 linux-6.1.y 6741e066ec76 059e9963 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 15:42 linux-6.1.y 6741e066ec76 059e9963 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 11:02 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/06/03 20:25 linux-6.1.y 88690811da69 0aba2352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/19 15:54 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/14 21:32 linux-6.1.y 909ba1f1b414 fdb4c10c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/08 14:15 linux-6.1.y 909ba1f1b414 4cf3f9b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/04 10:29 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/05/04 08:07 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/03 08:29 linux-6.1.y 909ba1f1b414 ddfc15a1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/02 12:15 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/05/01 22:41 linux-6.1.y dcbc050cb0d3 3ba885bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/30 21:18 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/30 21:18 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/30 21:18 linux-6.1.y dcbc050cb0d3 3ce4924c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/30 08:51 linux-6.1.y dcbc050cb0d3 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/30 08:51 linux-6.1.y dcbc050cb0d3 f10afd69 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 20:50 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 20:50 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 20:31 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 19:35 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 19:26 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 08:35 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 08:35 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 06:03 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 04:44 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 04:43 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 04:43 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 04:43 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 04:43 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/27 04:14 linux-6.1.y 6741e066ec76 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 21:12 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 21:12 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 20:09 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 18:19 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 18:19 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 18:19 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 18:13 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 18:13 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 15:49 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 15:06 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 15:06 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 10:55 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 10:55 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 10:47 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 10:45 linux-6.1.y 6741e066ec76 8bdc0f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
* Struck through repros no longer work on HEAD.