syzbot


INFO: rcu detected stall in clocksource_watchdog (2)

Status: auto-closed as invalid on 2021/03/09 21:15
Subsystems: kernel
[Documentation on labels]
First crash: 1234d, last: 1234d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in clocksource_watchdog kvm 3 1610d 1610d 0/26 closed as invalid on 2019/11/29 14:24

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (9356 ticks this GP) idle=dba/1/0x4000000000000000 softirq=28773/28774 fqs=5236 
	(t=10502 jiffies g=43133 q=590)
NMI backtrace for cpu 0
CPU: 0 PID: 17076 Comm: syz-executor.5 Not tainted 5.10.0-rc7-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x107/0x163 lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x44/0xd7 lib/nmi_backtrace.c:105
 nmi_trigger_cpumask_backtrace+0x1b3/0x230 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x1e3/0x21e kernel/rcu/tree_stall.h:331
 print_cpu_stall kernel/rcu/tree_stall.h:563 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:637 [inline]
 rcu_pending kernel/rcu/tree.c:3694 [inline]
 rcu_sched_clock_irq.cold+0x472/0xee8 kernel/rcu/tree.c:2567
 update_process_times+0x77/0xd0 kernel/time/timer.c:1709
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:176
 tick_sched_timer+0x1d1/0x2a0 kernel/time/tick-sched.c:1328
 __run_hrtimer kernel/time/hrtimer.c:1519 [inline]
 __hrtimer_run_queues+0x1ce/0xea0 kernel/time/hrtimer.c:1583
 hrtimer_interrupt+0x334/0x940 kernel/time/hrtimer.c:1645
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1080 [inline]
 __sysvec_apic_timer_interrupt+0x146/0x540 arch/x86/kernel/apic/apic.c:1097
 run_sysvec_on_irqstack_cond arch/x86/include/asm/irq_stack.h:91 [inline]
 sysvec_apic_timer_interrupt+0x48/0x100 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x25/0x50 kernel/locking/spinlock.c:191
Code: f8 5d c3 66 90 55 48 89 fd 48 83 c7 18 53 48 89 f3 48 8b 74 24 10 e8 ca 3a 6e f8 48 89 ef e8 52 ef 6e f8 f6 c7 02 75 1a 53 9d <bf> 01 00 00 00 e8 61 5b 63 f8 65 8b 05 8a 05 1a 77 85 c0 74 0a 5b
RSP: 0018:ffffc90000007be8 EFLAGS: 00000246
RAX: 00000000013ebeec RBX: 0000000000000246 RCX: ffffffff8155a917
RDX: 0000000000000000 RSI: 0000000000000103 RDI: 0000000000000000
RBP: ffff8880b9f24780 R08: 0000000000000001 R09: ffffffff8ebaf667
R10: fffffbfff1d75ecc R11: 0000000000000001 R12: ffff8880b9f24780
R13: 0000000100005085 R14: ffff8880b9f247c8 R15: 0000000100005086
 add_timer_on+0x359/0x4a0 kernel/time/timer.c:1181
 clocksource_watchdog+0x5cf/0x960 kernel/time/clocksource.c:303
 call_timer_fn+0x1a5/0x6b0 kernel/time/timer.c:1410
 expire_timers kernel/time/timer.c:1455 [inline]
 __run_timers.part.0+0x67c/0xa50 kernel/time/timer.c:1747
 __run_timers kernel/time/timer.c:1728 [inline]
 run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1760
 __do_softirq+0x2a0/0x9f6 kernel/softirq.c:298
 asm_call_irq_on_stack+0xf/0x20
 </IRQ>
 __run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
 run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
 do_softirq_own_stack+0xaa/0xd0 arch/x86/kernel/irq_64.c:77
 invoke_softirq kernel/softirq.c:393 [inline]
 __irq_exit_rcu kernel/softirq.c:423 [inline]
 irq_exit_rcu+0x132/0x200 kernel/softirq.c:435
 sysvec_apic_timer_interrupt+0x4d/0x100 arch/x86/kernel/apic/apic.c:1091
 asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:631
RIP: 0010:rcu_read_unlock_special kernel/rcu/tree_plugin.h:641 [inline]
RIP: 0010:__rcu_read_unlock+0x1d3/0x470 kernel/rcu/tree_plugin.h:399
Code: ff a4 7e 81 e2 00 00 0f 00 0f 85 0b 02 00 00 4d 85 ed 74 62 84 c0 74 5e bf 09 00 00 00 e8 d5 7f e5 ff e8 40 d3 18 00 41 54 9d <e9> a5 fe ff ff 0f 0b 5b 5d 41 5c 41 5d 41 5e c3 e8 f8 90 54 00 e9
RSP: 0018:ffffc90002247758 EFLAGS: 00000246
RAX: 0000000000fa4f87 RBX: ffff8880b9e35740 RCX: ffffffff8155a917
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000000
RBP: ffffffff8b33f980 R08: 0000000000000001 R09: ffffffff8ebaf677
R10: fffffbfff1d75ece R11: 0000000000000000 R12: 0000000000000246
R13: 0000000000000200 R14: 0000000000000001 R15: 00007f27abefe000
 rcu_read_unlock include/linux/rcupdate.h:694 [inline]
 __unlock_page_memcg mm/memcontrol.c:2191 [inline]
 unlock_page_memcg+0xa4/0x160 mm/memcontrol.c:2202
 zap_pte_range mm/memory.c:1253 [inline]
 zap_pmd_range mm/memory.c:1357 [inline]
 zap_pud_range mm/memory.c:1386 [inline]
 zap_p4d_range mm/memory.c:1407 [inline]
 unmap_page_range+0xe30/0x2640 mm/memory.c:1428
 unmap_single_vma+0x198/0x300 mm/memory.c:1473
 unmap_vmas+0x168/0x2e0 mm/memory.c:1505
 exit_mmap+0x2b1/0x530 mm/mmap.c:3220
 __mmput+0x122/0x470 kernel/fork.c:1079
 mmput+0x53/0x60 kernel/fork.c:1100
 exit_mm kernel/exit.c:486 [inline]
 do_exit+0xa72/0x29b0 kernel/exit.c:796
 do_group_exit+0x125/0x310 kernel/exit.c:906
 get_signal+0x42a/0x1f10 kernel/signal.c:2758
 arch_do_signal+0x82/0x2390 arch/x86/kernel/signal.c:811
 exit_to_user_mode_loop kernel/entry/common.c:161 [inline]
 exit_to_user_mode_prepare+0x100/0x1a0 kernel/entry/common.c:191
 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45e159
Code: Unable to access opcode bytes at RIP 0x45e12f.
RSP: 002b:00007f27ab246c68 EFLAGS: 00000246 ORIG_RAX: 0000000000000009
RAX: 0000000020ffc000 RBX: 0000000000000006 RCX: 000000000045e159
RDX: 0000000000000000 RSI: 0000000000003000 RDI: 0000000020ffc000
RBP: 000000000119bfd8 R08: 0000000000000008 R09: 0000000000000000
R10: 0000000000000011 R11: 0000000000000246 R12: 000000000119bf8c
R13: 00007ffc79bf54af R14: 00007f27ab2479c0 R15: 000000000119bf8c

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/09 21:11 upstream a68a0262abda c090b4da .config console log report info ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.