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: 209d, last: 5h32m
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 origin:upstream C 313 6h49m 161d 0/3 upstream: reported C repro on 2024/06/13 11:30
upstream WARNING: suspicious RCU usage in get_callchain_entry perf C error 3720 4h25m 205d 0/28 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 (399):
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/11/21 11:23 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/21 06:43 linux-6.1.y b67dc5c9ade9 4b25d554 .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/11/20 18:11 linux-6.1.y b67dc5c9ade9 4fca1650 .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/11/20 02:30 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/20 01:10 linux-6.1.y b67dc5c9ade9 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/19 22:25 linux-6.1.y b67dc5c9ade9 7d02db5a .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/11/19 10:55 linux-6.1.y b67dc5c9ade9 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/18 06:25 linux-6.1.y b67dc5c9ade9 cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/16 06:12 linux-6.1.y 59d7b1a7104a cfe3a04a .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/11/16 05:16 linux-6.1.y 59d7b1a7104a cfe3a04a .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/11/16 03:29 linux-6.1.y 59d7b1a7104a cfe3a04a .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/11/15 17:04 linux-6.1.y 59d7b1a7104a f6ede3a3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/15 02:24 linux-6.1.y 59d7b1a7104a a8c99394 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/12 11:44 linux-6.1.y d7039b844a1c 75bb1b32 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/11/04 05:49 linux-6.1.y 7c15117f9468 f00eed24 .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/11/04 05:48 linux-6.1.y 7c15117f9468 f00eed24 .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/11/04 04:20 linux-6.1.y 7c15117f9468 f00eed24 .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/11/04 02:50 linux-6.1.y 7c15117f9468 f00eed24 .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/11/02 08:05 linux-6.1.y 7c15117f9468 f00eed24 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/31 17:24 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/28 04:16 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/26 18:02 linux-6.1.y 7ec6f9fa3d97 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/24 20:45 linux-6.1.y 7ec6f9fa3d97 0d144d1a .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/10/20 06:45 linux-6.1.y 54d90d17e8ce cd6fc0a3 .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/10/15 03:14 linux-6.1.y aa4cd140bba5 b01b6661 .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/10/14 15:09 linux-6.1.y aa4cd140bba5 084d8178 .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/10/11 19:40 linux-6.1.y aa4cd140bba5 cd942402 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/10 07:41 linux-6.1.y aa4cd140bba5 0278d004 .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/10/09 03:47 linux-6.1.y aa4cd140bba5 402f1df0 .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/10/08 22:16 linux-6.1.y aa4cd140bba5 402f1df0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/08 11:36 linux-6.1.y aa4cd140bba5 402f1df0 .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/10/08 03:09 linux-6.1.y aa4cd140bba5 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/10/07 14:12 linux-6.1.y aa4cd140bba5 d7906eff .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/10/01 07:34 linux-6.1.y aa4cd140bba5 bbd4e0a4 .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/10/01 05:50 linux-6.1.y aa4cd140bba5 bbd4e0a4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/29 20:00 linux-6.1.y e526b12bf916 ba29ff75 .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/09/28 00:40 linux-6.1.y e526b12bf916 440b26ec .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/09/27 07:43 linux-6.1.y e526b12bf916 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/27 05:04 linux-6.1.y e526b12bf916 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/27 03:56 linux-6.1.y e526b12bf916 9314348a .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/09/26 23:29 linux-6.1.y e526b12bf916 9314348a .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/09/26 11:08 linux-6.1.y e526b12bf916 0d19f247 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/26 02:27 linux-6.1.y e526b12bf916 0d19f247 .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/09/25 14:37 linux-6.1.y e526b12bf916 349a68c4 .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/09/24 06:13 linux-6.1.y e526b12bf916 89298aad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/21 07:02 linux-6.1.y e526b12bf916 6f888b75 .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/09/21 00:40 linux-6.1.y e526b12bf916 6f888b75 .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/09/17 16:09 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/17 11:40 linux-6.1.y 5f55cad62cc9 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/09/16 20:35 linux-6.1.y 5f55cad62cc9 c673ca06 .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/09/16 07:15 linux-6.1.y 5f55cad62cc9 08d8a733 .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 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.