syzbot


WARNING: suspicious RCU usage in get_callchain_entry

Status: upstream: reported C repro on 2024/06/13 11:30
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+fc37d916410f29b8588d@syzkaller.appspotmail.com
First crash: 312d, last: 2d10h
Bug presence (1)
Date Name Commit Repro Result
2024/06/28 upstream (ToT) 5bbd9b249880 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-6.1 WARNING: suspicious RCU usage in get_callchain_entry origin:upstream missing-backport C 654 1d05h 360d 0/3 upstream: reported C repro on 2024/04/26 10:45
upstream WARNING: suspicious RCU usage in get_callchain_entry perf C error 5521 16h20m 356d 0/28 upstream: reported C repro on 2024/04/30 10:49
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/07/15 11:02 14m radoslaw.zielonek@gmail.com patch linux-5.15.y OK log

Sample crash report:
=============================
WARNING: suspicious RCU usage
5.15.179-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-executor401/4163:
 #0: ffffffff8cb1fc80 (rcu_read_lock_trace){....}-{0:0}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312

stack backtrace:
CPU: 0 PID: 4163 Comm: syz-executor401 Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 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:482
 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline]
 bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480
 bpf_prog_d43750871481577d+0x3d/0xf8c
 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
 __bpf_prog_run include/linux/filter.h:628 [inline]
 bpf_prog_run include/linux/filter.h:635 [inline]
 bpf_prog_run_pin_on_cpu+0x62/0x130 include/linux/filter.h:652
 bpf_prog_test_run_syscall+0x366/0x550 net/bpf/test_run.c:1061
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3365
 __sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4666
 __do_sys_bpf kernel/bpf/syscall.c:4752 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4750 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4750
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc4cc1aafb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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:00007fff8ea28548 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc4cc1aafb9
RDX: 0000000000000010 RSI: 0000400000000740 RDI: 000000000000000a
RBP: 00004000000000c0 R08: 00000000000000a0 R09: 00000000000000a0
R10: 0000400000000108 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

=============================
WARNING: suspicious RCU usage
5.15.179-syzkaller #0 Not tainted
-----------------------------
include/linux/perf_event.h:1274 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-executor401/4163:
 #0: ffffffff8cb1fc80 (rcu_read_lock_trace){....}-{0:0}, at: rcu_lock_acquire+0x9/0x30 include/linux/rcupdate.h:312

stack backtrace:
CPU: 0 PID: 4163 Comm: syz-executor401 Not tainted 5.15.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
 <TASK>
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106
 perf_get_guest_cbs include/linux/perf_event.h:1274 [inline]
 perf_callchain_kernel+0x38b/0x6e0 arch/x86/events/core.c:2766
 get_perf_callchain+0x579/0x810 kernel/events/callchain.c:200
 __bpf_get_stack+0x378/0x570 kernel/bpf/stackmap.c:482
 ____bpf_get_stack_raw_tp kernel/trace/bpf_trace.c:1490 [inline]
 bpf_get_stack_raw_tp+0x1b2/0x220 kernel/trace/bpf_trace.c:1480
 bpf_prog_d43750871481577d+0x3d/0xf8c
 bpf_dispatcher_nop_func include/linux/bpf.h:790 [inline]
 __bpf_prog_run include/linux/filter.h:628 [inline]
 bpf_prog_run include/linux/filter.h:635 [inline]
 bpf_prog_run_pin_on_cpu+0x62/0x130 include/linux/filter.h:652
 bpf_prog_test_run_syscall+0x366/0x550 net/bpf/test_run.c:1061
 bpf_prog_test_run+0x32f/0x3a0 kernel/bpf/syscall.c:3365
 __sys_bpf+0x3ac/0x670 kernel/bpf/syscall.c:4666
 __do_sys_bpf kernel/bpf/syscall.c:4752 [inline]
 __se_sys_bpf kernel/bpf/syscall.c:4750 [inline]
 __x64_sys_bpf+0x78/0x90 kernel/bpf/syscall.c:4750
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7fc4cc1aafb9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 c1 17 00 00 90 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:00007fff8ea28548 EFLAGS: 00000246 ORIG_RAX: 0000000000000141
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fc4cc1aafb9
RDX: 0000000000000010 RSI: 0000400000000740 RDI: 000000000000000a
RBP: 00004000000000c0 R08: 00000000000000a0 R09: 00000000000000a0
R10: 0000400000000108 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 </TASK>

Crashes (572):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/19 22:18 linux-5.15.y 0c935c049b5c e20d7b13 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/01/11 11:56 linux-5.15.y 4735586da88e 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/01/04 20:26 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/01/04 19:15 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/01/04 04:45 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/01/04 04:05 linux-5.15.y 91786f140358 f3558dbf .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/11/18 06:49 linux-5.15.y 0a51d2d4527b cfe3a04a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/07/28 09:13 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/06/29 23:09 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/06/28 23:35 linux-5.15.y 4878aadf2d15 757f06b1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/06/13 13:14 linux-5.15.y c61bd26ae81a 2aa5052f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/19 14:39 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/19 10:24 linux-5.15.y f7347f400572 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/04/13 00:24 linux-5.15.y f7347f400572 0bd6db41 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/11 15:31 linux-5.15.y f7347f400572 94486846 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/11 13:57 linux-5.15.y f7347f400572 94486846 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/11 09:06 linux-5.15.y f7347f400572 94486846 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/04/11 01:44 linux-5.15.y f7347f400572 1ef3ab4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/11 01:44 linux-5.15.y f7347f400572 1ef3ab4d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/07 07:32 linux-5.15.y 0c935c049b5c 1c65791e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/03 13:17 linux-5.15.y 0c935c049b5c 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/03 08:54 linux-5.15.y 0c935c049b5c 996a9618 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/04/02 18:41 linux-5.15.y 0c935c049b5c c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/02 15:41 linux-5.15.y 0c935c049b5c c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/04/02 10:30 linux-5.15.y 0c935c049b5c c799dfdd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/28 10:09 linux-5.15.y 0c935c049b5c 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/28 07:53 linux-5.15.y 0c935c049b5c 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/28 07:53 linux-5.15.y 0c935c049b5c 6c09fb82 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/22 05:48 linux-5.15.y 0c935c049b5c c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/22 00:58 linux-5.15.y 0c935c049b5c c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/21 02:28 linux-5.15.y 0c935c049b5c 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/20 22:34 linux-5.15.y 0c935c049b5c 62330552 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/20 13:11 linux-5.15.y 0c935c049b5c 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/20 08:41 linux-5.15.y 0c935c049b5c 9209bc22 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/20 01:06 linux-5.15.y 0c935c049b5c e20d7b13 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/18 05:33 linux-5.15.y 0c935c049b5c ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/17 23:50 linux-5.15.y 0c935c049b5c ce3352cd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/15 22:05 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/15 20:04 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/15 08:08 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/15 06:12 linux-5.15.y 0c935c049b5c e2826670 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/13 23:06 linux-5.15.y 0c935c049b5c 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/13 15:55 linux-5.15.y 0c935c049b5c 44be8b44 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/13 06:44 linux-5.15.y c16c81c81336 1a5d9317 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/13 00:02 linux-5.15.y c16c81c81336 1a5d9317 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/10 18:39 linux-5.15.y c16c81c81336 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/10 18:37 linux-5.15.y c16c81c81336 16256247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/08 00:09 linux-5.15.y c16c81c81336 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/07 17:11 linux-5.15.y c16c81c81336 7e3bd60d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/07 10:15 linux-5.15.y c16c81c81336 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/03/07 07:22 linux-5.15.y c16c81c81336 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/03/01 00:46 linux-5.15.y c16c81c81336 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
2025/02/28 20:34 linux-5.15.y c16c81c81336 67cf5345 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2025/02/28 06:09 linux-5.15.y c16c81c81336 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf WARNING: suspicious RCU usage in get_callchain_entry
2024/06/13 11:29 linux-5.15.y c61bd26ae81a 2aa5052f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING: suspicious RCU usage in get_callchain_entry
* Struck through repros no longer work on HEAD.