syzbot


INFO: rcu detected stall in call_timer_fn

Status: upstream: reported on 2025/09/20 00:57
Reported-by: syzbot+c4956fba553abbcc9f30@syzkaller.appspotmail.com
First crash: 4h50m, last: 4h50m
Similar bugs (13)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: soft lockup in call_timer_fn net mm 1 19 416d 459d 0/29 auto-obsoleted due to no activity on 2024/10/08 10:43
linux-6.1 INFO: rcu detected stall in call_timer_fn 1 2 342d 413d 0/3 auto-obsoleted due to no activity on 2025/01/21 02:15
linux-4.19 INFO: rcu detected stall in call_timer_fn (2) 1 16 1780d 2054d 0/1 auto-closed as invalid on 2021/03/04 12:30
upstream INFO: rcu detected stall in call_timer_fn (5) net input usb 1 C 9 71d 205d 0/29 upstream: reported C repro on 2025/02/27 04:11
linux-4.14 INFO: rcu detected stall in call_timer_fn (2) 1 1 1843d 1843d 0/1 auto-closed as invalid on 2020/12/31 22:00
upstream INFO: rcu detected stall in call_timer_fn (2) kernel 1 C done error 47 1340d 2196d 0/29 closed as invalid on 2022/02/08 10:46
upstream INFO: rcu detected stall in call_timer_fn bpf net 1 2 2533d 2546d 0/29 closed as dup on 2019/01/02 16:26
linux-4.19 INFO: rcu detected stall in call_timer_fn 1 1 2194d 2194d 0/1 auto-closed as invalid on 2020/01/15 18:43
linux-4.14 INFO: rcu detected stall in call_timer_fn 1 5 1967d 2087d 0/1 auto-closed as invalid on 2020/08/29 09:07
upstream INFO: rcu detected stall in call_timer_fn (4) mm 1 1 597d 597d 0/29 auto-obsoleted due to no activity on 2024/03/31 10:44
upstream INFO: rcu detected stall in call_timer_fn (3) kernel 1 3 1079d 1094d 0/29 auto-obsoleted due to no activity on 2023/01/12 18:45
linux-4.19 BUG: soft lockup in call_timer_fn 1 C error 31 930d 1533d 0/1 upstream: reported C repro on 2021/07/10 02:48
upstream BUG: soft lockup in call_timer_fn (2) trace 1 1 343d 339d 0/29 auto-obsoleted due to no activity on 2025/01/10 05:15

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=8d5/1/0x4000000000000000 softirq=31513/31514 fqs=4319 
	(t=10500 jiffies g=43737 q=1699)
NMI backtrace for cpu 0
CPU: 0 PID: 10756 Comm: syz.9.1523 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:1690 [inline]
 __hrtimer_run_queues+0x4fe/0xc40 kernel/time/hrtimer.c:1754
 hrtimer_interrupt+0x3bb/0x8d0 kernel/time/hrtimer.c:1816
 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_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa5/0x100 kernel/locking/spinlock.c:194
Code: 74 05 e8 5e 8d cb f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> c6 15 9f f7 65 8b 05 a7 13 50 76 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc90000007a60 EFLAGS: 00000206
RAX: 9f5ca8416dda6b00 RBX: 0000000000000a06 RCX: 9f5ca8416dda6b00
RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: 0000000000000001
RBP: ffffc90000007af8 R08: dffffc0000000000 R09: fffffbfff1ff782f
R10: fffffbfff1ff782f R11: 1ffffffff1ff782e R12: dffffc0000000000
R13: ffff8880b90280c0 R14: ffff8880b90280c0 R15: 1ffff92000000f4c
 __mod_timer+0x8ee/0xd20 kernel/time/timer.c:1065
 call_timer_fn+0x16c/0x530 kernel/time/timer.c:1451
 expire_timers kernel/time/timer.c:1496 [inline]
 __run_timers+0x525/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_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1108 [inline]
 sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1108
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:676
RIP: 0010:finish_lock_switch+0x134/0x280 kernel/sched/core.c:4804
Code: be ff ff ff ff e8 4c 7d 55 08 85 c0 74 4a 4d 85 ff 75 66 0f 1f 44 00 00 48 89 df e8 a6 e7 5e 08 e8 c1 75 2a 00 fb 48 83 c4 08 <5b> 41 5c 41 5d 41 5e 41 5f 5d c3 48 89 df e8 d9 0f fe ff 43 80 3c
RSP: 0018:ffffc900035bf308 EFLAGS: 00000282
RAX: 9f5ca8416dda6b00 RBX: ffff8880b903a340 RCX: 9f5ca8416dda6b00
RDX: dffffc0000000000 RSI: ffffffff8a0b1820 RDI: ffffffff8a59a480
RBP: 1ffff11017207613 R08: dffffc0000000000 R09: ffffed1017207662
R10: ffffed1017207662 R11: 1ffff11017207661 R12: 1ffff110172075c1
R13: dffffc0000000000 R14: ffff8880b903ae08 R15: 0000000000000000
 finish_task_switch+0x12f/0x640 kernel/sched/core.c:4921
 context_switch kernel/sched/core.c:5052 [inline]
 __schedule+0x11c3/0x4390 kernel/sched/core.c:6395
 preempt_schedule_common+0x82/0xd0 kernel/sched/core.c:6571
 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6596
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 __raw_spin_unlock include/linux/spinlock_api_smp.h:152 [inline]
 _raw_spin_unlock+0x36/0x40 kernel/locking/spinlock.c:186
 spin_unlock include/linux/spinlock.h:403 [inline]
 zap_pte_range mm/memory.c:1446 [inline]
 zap_pmd_range mm/memory.c:1505 [inline]
 zap_pud_range mm/memory.c:1534 [inline]
 zap_p4d_range mm/memory.c:1555 [inline]
 unmap_page_range+0x867/0x2520 mm/memory.c:1576
 unmap_vmas+0x11b/0x230 mm/memory.c:1653
 exit_mmap+0x38f/0x5f0 mm/mmap.c:3216
 __mmput+0x115/0x3b0 kernel/fork.c:1127
 copy_process+0x2f26/0x3e00 kernel/fork.c:2542
 kernel_clone+0x219/0x930 kernel/fork.c:2679
 __do_sys_clone kernel/fork.c:2796 [inline]
 __se_sys_clone kernel/fork.c:2780 [inline]
 __x64_sys_clone+0x170/0x1c0 kernel/fork.c:2780
 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:0x7f4e1c24ec29
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:00007f4e1a4b5fe8 EFLAGS: 00000202 ORIG_RAX: 0000000000000038
RAX: ffffffffffffffda RBX: 00007f4e1c495fa0 RCX: 00007f4e1c24ec29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000002200080
RBP: 00007f4e1c2d1e41 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000000000000
R13: 00007f4e1c496038 R14: 00007f4e1c495fa0 R15: 00007fffcd69edf8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/09/20 00:57 linux-5.15.y 43bb85222e53 67c37560 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-perf INFO: rcu detected stall in call_timer_fn
* Struck through repros no longer work on HEAD.