syzbot


INFO: rcu detected stall in __run_timers (2)

Status: upstream: reported on 2025/09/03 11:07
Reported-by: syzbot+cd14d7355b2f09d8aa58@syzkaller.appspotmail.com
First crash: 47d, last: 9d01h
Similar bugs (15)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __run_timers (4) tomoyo 1 4 2083d 2098d 0/29 auto-closed as invalid on 2020/05/06 02:55
linux-5.15 INFO: rcu detected stall in __run_timers 1 1 916d 916d 0/3 auto-obsoleted due to no activity on 2023/08/15 19:18
upstream INFO: rcu detected stall in __run_timers net 1 2 2597d 2599d 0/29 closed as invalid on 2018/09/11 10:51
upstream INFO: rcu detected stall in __run_timers (2) block 1 58 2470d 2593d 0/29 closed as dup on 2019/01/02 16:40
linux-6.1 INFO: rcu detected stall in __run_timers (2) origin:upstream 1 syz 1 8d02h 8d02h 0/3 upstream: reported syz repro on 2025/10/12 10:55
upstream INFO: rcu detected stall in __run_timers (7) kernfs 1 25 405d 510d 0/29 auto-obsoleted due to no activity on 2024/11/08 17:44
linux-6.1 INFO: rcu detected stall in __run_timers 1 1 364d 364d 0/3 auto-obsoleted due to no activity on 2025/01/28 16:20
upstream INFO: rcu detected stall in __run_timers (6) kernel 1 2 1325d 1342d 0/29 auto-closed as invalid on 2022/06/02 21:46
upstream INFO: rcu detected stall in __run_timers (3) mm 1 4 2210d 2231d 0/29 auto-closed as invalid on 2019/12/31 08:04
upstream INFO: rcu detected stall in __run_timers (5) kernel 1 C error error 63 1357d 1871d 0/29 closed as invalid on 2022/02/08 10:39
android-5-10 BUG: soft lockup in __run_timers 1 2 426d 495d 0/2 auto-obsoleted due to no activity on 2024/11/18 04:44
android-54 BUG: soft lockup in __run_timers 1 1 479d 479d 0/2 auto-obsoleted due to no activity on 2024/09/26 00:22
android-5-15 BUG: soft lockup in __run_timers 1 1 397d 397d 0/2 auto-obsoleted due to no activity on 2024/12/16 23:50
upstream BUG: soft lockup in __run_timers kernel 1 1 988d 984d 0/29 auto-obsoleted due to no activity on 2023/05/06 12:08
android-54 BUG: soft lockup in __run_timers (2) 1 2 199d 261d 0/2 auto-obsoleted due to no activity on 2025/07/03 11:27

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=9cf/1/0x4000000000000000 softirq=30272/30273 fqs=5243 
	(t=10502 jiffies g=45741 q=1150)
NMI backtrace for cpu 0
CPU: 0 PID: 10832 Comm: syz.1.1702 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/18/2025
Call Trace:
 <IRQ>
 dump_stack_lvl+0x168/0x230 lib/dump_stack.c:106
 nmi_cpu_backtrace+0x397/0x3d0 lib/nmi_backtrace.c:111
 nmi_trigger_cpumask_backtrace+0x163/0x280 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:166 [inline]
 rcu_dump_cpu_stacks+0x22f/0x380 kernel/rcu/tree_stall.h:349
 print_cpu_stall+0x31d/0x5f0 kernel/rcu/tree_stall.h:633
 check_cpu_stall kernel/rcu/tree_stall.h:727 [inline]
 rcu_pending kernel/rcu/tree.c:3936 [inline]
 rcu_sched_clock_irq+0x6d8/0x1110 kernel/rcu/tree.c:2619
 update_process_times+0x193/0x200 kernel/time/timer.c:1818
 tick_sched_handle kernel/time/tick-sched.c:254 [inline]
 tick_sched_timer+0x37d/0x560 kernel/time/tick-sched.c:1473
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1097 [inline]
 __sysvec_apic_timer_interrupt+0x137/0x4a0 arch/x86/kernel/apic/apic.c:1114
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0x4d/0xc0 arch/x86/kernel/apic/apic.c:1108
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x25/0x40 kernel/locking/spinlock.c:202
Code: f6 ff 0f 1f 00 53 48 89 fb 48 83 c7 18 48 8b 74 24 08 e8 ae dc a9 f7 48 89 df e8 76 b1 aa f7 e8 11 4b cb f7 fb bf 01 00 00 00 <e8> b6 d4 9e f7 65 8b 05 97 d2 4f 76 85 c0 74 02 5b c3 e8 44 dd 4d
RSP: 0018:ffffc90000007c90 EFLAGS: 00000286
RAX: 0edd8984bf6e9500 RBX: ffff8880b90280c0 RCX: 0edd8984bf6e9500
RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: 0000000000000001
RBP: ffffc90000007df0 R08: dffffc0000000000 R09: ffffed1017207662
R10: ffffed1017207662 R11: 1ffff11017207661 R12: ffff8880b90280c0
R13: 1ffff11017205020 R14: ffff8880601b66f8 R15: ffffc90000007d40
 expire_timers kernel/time/timer.c:1495 [inline]
 __run_timers+0x516/0x7c0 kernel/time/timer.c:1767
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
 handle_softirqs+0x328/0x820 kernel/softirq.c:576
 __do_softirq kernel/softirq.c:610 [inline]
 invoke_softirq kernel/softirq.c:450 [inline]
 __irq_exit_rcu+0x12f/0x220 kernel/softirq.c:659
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:671
 instr_sysvec_irq_work arch/x86/kernel/irq_work.c:17 [inline]
 sysvec_irq_work+0x9d/0xc0 arch/x86/kernel/irq_work.c:17
 </IRQ>
 <TASK>
 asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:713
RIP: 0010:unwind_next_frame+0xb9b/0x1d90 arch/x86/kernel/unwind_orc.c:-1
Code: e9 53 01 00 00 80 3d 93 6b 21 0c 00 0f 85 96 09 00 00 c6 05 86 6b 21 0c 01 48 c7 c7 20 81 08 8a be 03 00 00 00 e9 31 07 00 00 <48> 89 54 24 50 48 8d 7b 08 48 89 f8 48 c1 e8 03 42 80 3c 28 00 74
RSP: 0018:ffffc900039df6a8 EFLAGS: 00000202
RAX: 0000000000000001 RBX: ffffc900039df768 RCX: ffffffff8ddbd934
RDX: 1ffffffff1cf2fa5 RSI: ffffffff8e797d18 RDI: ffffc900039dff58
RBP: ffffc900039df7b0 R08: 0000000000000004 R09: 000000000000000b
R10: fffff5200073bef9 R11: 1ffff9200073bef7 R12: 1ffffffff1cf2fa5
R13: dffffc0000000000 R14: ffffffff8e797d2e R15: ffffffff8e797d2f
 arch_stack_walk+0x10c/0x140 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x98/0xe0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:38 [inline]
 kasan_set_track mm/kasan/common.c:46 [inline]
 set_alloc_info mm/kasan/common.c:434 [inline]
 __kasan_slab_alloc+0x9c/0xd0 mm/kasan/common.c:467
 kasan_slab_alloc include/linux/kasan.h:254 [inline]
 slab_post_alloc_hook+0x4c/0x380 mm/slab.h:519
 slab_alloc_node mm/slub.c:3225 [inline]
 slab_alloc mm/slub.c:3233 [inline]
 kmem_cache_alloc+0x100/0x290 mm/slub.c:3238
 kmem_cache_zalloc include/linux/slab.h:725 [inline]
 lsm_file_alloc security/security.c:574 [inline]
 security_file_alloc+0x30/0x110 security/security.c:1530
 __alloc_file+0xc2/0x240 fs/file_table.c:137
 alloc_empty_file+0x90/0x180 fs/file_table.c:181
 alloc_file+0x5b/0x4f0 fs/file_table.c:223
 alloc_file_pseudo+0x17a/0x1f0 fs/file_table.c:263
 __anon_inode_getfile fs/anon_inodes.c:109 [inline]
 anon_inode_getfile+0xc1/0x1a0 fs/anon_inodes.c:147
 __do_sys_perf_event_open kernel/events/core.c:12613 [inline]
 __se_sys_perf_event_open+0xbd2/0x1b80 kernel/events/core.c:12387
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0049a31ec9
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:00007f0047c78038 EFLAGS: 00000246 ORIG_RAX: 000000000000012a
RAX: ffffffffffffffda RBX: 00007f0049c89090 RCX: 00007f0049a31ec9
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: 0000200000000480
RBP: 00007f0049ab4f91 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffffffffffff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f0049c89128 R14: 00007f0049c89090 R15: 00007fffa570afc8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/10/11 12:15 linux-5.15.y 29e53a5b1c4f ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __run_timers
2025/09/03 11:07 linux-5.15.y 01879f56bdde 96a211bc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in __run_timers
* Struck through repros no longer work on HEAD.