syzbot


WARNING: suspicious RCU usage in get_callchain_entry

Status: upstream: reported C repro on 2024/04/26 10:45
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+a7ca37e23072f6e28af5@syzkaller.appspotmail.com
First crash: 492d, last: 6h41m
Bug presence (3)
Date Name Commit Repro Result
2025/01/23 linux-6.1.y (ToT) f4f677285b38 C [report] WARNING: suspicious RCU usage in get_callchain_entry
2024/04/26 upstream (ToT) c942a0cd3603 C [report] WARNING: suspicious RCU usage in get_callchain_entry
2025/01/23 upstream (ToT) 7004a2e46d16 C Didn't crash
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.6 WARNING: suspicious RCU usage in get_callchain_entry origin:upstream 4 C 206 3h33m 74d 0/2 upstream: reported C repro on 2025/06/18 02:15
linux-5.15 WARNING: suspicious RCU usage in get_callchain_entry origin:upstream 4 C 869 6h36m 444d 0/3 upstream: reported C repro on 2024/06/13 11:30
upstream WARNING: suspicious RCU usage in get_callchain_entry perf 4 C error 7874 5h06m 488d 0/29 upstream: reported C repro on 2024/04/30 10:49
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2025/03/01 12:11 2h17m fix candidate upstream OK (0) job log log

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

stack backtrace:
CPU: 0 PID: 4417 Comm: syz.0.17 Not tainted 6.1.147-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
Call Trace:
 <TASK>
 dump_stack_lvl+0x168/0x22e lib/dump_stack.c:106
 lockdep_rcu_suspicious+0x1dd/0x300 kernel/locking/lockdep.c:6611
 get_callchain_entry+0x2a5/0x3b0 kernel/events/callchain.c:161
 get_perf_callchain+0x9f/0x480 kernel/events/callchain.c:187
 __bpf_get_stack+0x2ce/0x4f0 kernel/bpf/stackmap.c:438
 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1880 [inline]
 bpf_get_stack_raw_tp+0x189/0x1c0 kernel/trace/bpf_trace.c:1870
 bpf_prog_b8a90dd1efcc4ad9+0x3d/0x41
 bpf_dispatcher_nop_func include/linux/bpf.h:1001 [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+0x63/0x140 include/linux/filter.h:627
 bpf_prog_test_run_syscall+0x30d/0x490 net/bpf/test_run.c:1632
 bpf_prog_test_run+0x31e/0x390 kernel/bpf/syscall.c:3685
 __sys_bpf+0x593/0x6d0 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+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2c47b8ebe9
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:00007fff2f02be68 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 00007f2c47db5fa0 RCX: 00007f2c47b8ebe9
RDX: 0000000000000010 RSI: 0000200000000740 RDI: 000000000000000a
RBP: 00007f2c47c11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f2c47db5fa0 R14: 00007f2c47db5fa0 R15: 0000000000000003
 </TASK>

Crashes (966):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/11 10:28 linux-6.1.y 3594f306da12 32a0e5ed .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
2025/08/11 08:49 linux-6.1.y 3594f306da12 32a0e5ed .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
2025/08/11 08:10 linux-6.1.y 3594f306da12 32a0e5ed .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
2025/08/05 17:13 linux-6.1.y 3594f306da12 37880f40 .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
2025/06/11 15:16 linux-6.1.y 58485ff1a74f 5d7e17ca .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
2025/04/20 19:08 linux-6.1.y 420102835862 2a20f901 .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
2025/03/18 23:33 linux-6.1.y 344a09659766 22a6c2b1 .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
2025/03/03 07:38 linux-6.1.y 3a8358583626 c3901742 .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
2025/02/25 06:02 linux-6.1.y 3a8358583626 d34966d1 .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
2025/02/25 05:23 linux-6.1.y 3a8358583626 d34966d1 .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
2025/02/24 11:04 linux-6.1.y 3a8358583626 d34966d1 .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
2025/02/24 10:06 linux-6.1.y 3a8358583626 d34966d1 .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/12/30 05:56 linux-6.1.y 563edd786f0a d3ccff63 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
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
2025/08/31 07:21 linux-6.1.y f89b6e15694c 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/24 02:45 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/23 22:18 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/23 16:22 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/23 13:25 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/08/22 18:38 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/22 06:42 linux-6.1.y 0bc96de781b4 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/08/17 12:42 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/17 03:34 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/16 20:02 linux-6.1.y 0bc96de781b4 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/15 00:07 linux-6.1.y 3594f306da12 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/14 17:50 linux-6.1.y 3594f306da12 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/08/14 03:13 linux-6.1.y 3594f306da12 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/12 12:21 linux-6.1.y 3594f306da12 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/11 06:11 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/10 15:53 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/10 02:57 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/10 01:09 linux-6.1.y 3594f306da12 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/08/08 00:32 linux-6.1.y 3594f306da12 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/07 17:43 linux-6.1.y 3594f306da12 04cffc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/08/07 07:33 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/07 07:33 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/07 05:56 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/07 00:57 linux-6.1.y 3594f306da12 9a42d6b1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/08/05 21:50 linux-6.1.y 3594f306da12 37880f40 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/08/03 11:19 linux-6.1.y 3594f306da12 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/31 08:04 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/31 06:04 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/07/30 06:58 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/30 06:57 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/30 03:51 linux-6.1.y 3594f306da12 f8f2b4da .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/28 23:10 linux-6.1.y 3594f306da12 6654ea9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/28 01:27 linux-6.1.y 3594f306da12 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/27 23:55 linux-6.1.y 3594f306da12 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/07/27 20:12 linux-6.1.y 3594f306da12 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/07/23 15:25 linux-6.1.y 3369c6df2fae e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/23 06:52 linux-6.1.y 3369c6df2fae e1dd4f22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/07/21 20:42 linux-6.1.y 3369c6df2fae 56d87229 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/19 07:58 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/19 07:57 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/19 00:22 linux-6.1.y 3369c6df2fae 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/07/17 04:51 linux-6.1.y f2198ea7eb3e 44f8051e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/07/16 15:52 linux-6.1.y f2198ea7eb3e 124ec9cc .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.