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: 166d, last: 21h59m
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 258 22h52m 118d 0/3 upstream: reported C repro on 2024/06/13 11:30
upstream WARNING: suspicious RCU usage in get_callchain_entry perf C error 3161 19h00m 162d 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 (334):
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/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/09/12 23:32 linux-6.1.y 5f55cad62cc9 60e1a995 .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/12 22:16 linux-6.1.y 5f55cad62cc9 60e1a995 .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/12 21:28 linux-6.1.y 5f55cad62cc9 60e1a995 .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/12 19:00 linux-6.1.y 5f55cad62cc9 60e1a995 .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/12 09:05 linux-6.1.y 5ca5b389fddf d94c83d8 .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/12 07:52 linux-6.1.y 5ca5b389fddf d94c83d8 .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/12 04:40 linux-6.1.y 5ca5b389fddf d94c83d8 .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/11 10:08 linux-6.1.y 5ca5b389fddf 8ab55d0e .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/10 07:25 linux-6.1.y 5ca5b389fddf 784df80e .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/10 00:30 linux-6.1.y 5ca5b389fddf 073f8be2 .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/09 23:15 linux-6.1.y 5ca5b389fddf 073f8be2 .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/09 22:01 linux-6.1.y 5ca5b389fddf 073f8be2 .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/09 20:40 linux-6.1.y 5ca5b389fddf 073f8be2 .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/06 01:42 linux-6.1.y 699506173494 464ac2ed .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/05 14:22 linux-6.1.y 699506173494 464ac2ed .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/04 12:23 linux-6.1.y 311d8503ef9f 9d47f20a .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/01 08:24 linux-6.1.y 311d8503ef9f 1eda0d14 .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/01 07:24 linux-6.1.y 311d8503ef9f 1eda0d14 .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/08/31 12:17 linux-6.1.y 311d8503ef9f 1eda0d14 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING: suspicious RCU usage in get_callchain_entry
2024/08/31 00:40 linux-6.1.y 311d8503ef9f 1eda0d14 .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/08/29 07:30 linux-6.1.y ee5e09825b81 ef3de9e8 .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.