syzbot


INFO: rcu detected stall in __run_timers (3)

Status: auto-closed as invalid on 2019/12/31 08:04
Subsystems: mm
[Documentation on labels]
First crash: 1688d, last: 1667d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in __run_timers (4) tomoyo 4 1540d 1555d 0/26 auto-closed as invalid on 2020/05/06 02:55
linux-5.15 INFO: rcu detected stall in __run_timers 1 373d 373d 0/3 auto-obsoleted due to no activity on 2023/08/15 19:18
upstream INFO: rcu detected stall in __run_timers net 2 2054d 2056d 0/26 closed as invalid on 2018/09/11 10:51
upstream INFO: rcu detected stall in __run_timers (2) block 58 1927d 2051d 0/26 closed as dup on 2019/01/02 16:40
upstream INFO: rcu detected stall in __run_timers (6) kernel 2 782d 799d 0/26 auto-closed as invalid on 2022/06/02 21:46
upstream INFO: rcu detected stall in __run_timers (5) kernel C error error 63 814d 1328d 0/26 closed as invalid on 2022/02/08 10:39

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (1 GPs behind) idle=186/1/0x4000000000000004 softirq=78634/78637 fqs=5217 
	(t=10500 jiffies g=117821 q=1055)
NMI backtrace for cpu 1
CPU: 1 PID: 9645 Comm: syz-executor.4 Not tainted 5.4.0-rc1 #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+0x1d8/0x2f8 lib/dump_stack.c:113
 nmi_cpu_backtrace+0xaf/0x1a0 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x174/0x290 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x10/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15a/0x220 kernel/rcu/tree_stall.h:254
 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline]
 check_cpu_stall kernel/rcu/tree_stall.h:529 [inline]
 rcu_pending kernel/rcu/tree.c:2795 [inline]
 rcu_sched_clock_irq+0xe22/0x1ae0 kernel/rcu/tree.c:2244
 update_process_times+0x12d/0x180 kernel/time/timer.c:1726
 tick_sched_handle kernel/time/tick-sched.c:167 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1299
 __run_hrtimer kernel/time/hrtimer.c:1514 [inline]
 __hrtimer_run_queues+0x403/0x840 kernel/time/hrtimer.c:1576
 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1638
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1110 [inline]
 smp_apic_timer_interrupt+0x109/0x280 arch/x86/kernel/apic/apic.c:1135
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline]
RIP: 0010:_raw_spin_unlock_irq+0x5f/0x80 kernel/locking/spinlock.c:199
Code: 00 00 00 00 fc ff df 80 3c 08 00 74 0c 48 c7 c7 80 8f 8a 88 e8 22 e4 3a fa 48 83 3d 9a 15 19 01 00 74 26 fb 66 0f 1f 44 00 00 <bf> 01 00 00 00 e8 87 77 de f9 65 8b 05 cc 83 90 78 85 c0 74 03 5b
RSP: 0018:ffff8880aeb09d98 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff11151f0 RBX: ffff8880aeb24a80 RCX: dffffc0000000000
RDX: 0000000000000101 RSI: ffffffff816350d6 RDI: ffff888047314e44
RBP: ffff8880aeb09da0 R08: ffff888047314e58 R09: ffffed1015d64951
R10: ffffed1015d64951 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8880908d4340 R14: ffff8880908d4348 R15: ffffffff8600fc80
 expire_timers kernel/time/timer.c:1448 [inline]
 __run_timers+0x7a6/0x990 kernel/time/timer.c:1773
 run_timer_softirq+0x4a/0x90 kernel/time/timer.c:1786
 __do_softirq+0x333/0x7c4 arch/x86/include/asm/paravirt.h:766
 invoke_softirq kernel/softirq.c:373 [inline]
 irq_exit+0x227/0x230 kernel/softirq.c:413
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x113/0x280 arch/x86/kernel/apic/apic.c:1137
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:830
 </IRQ>
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:98
Code: 66 2e 0f 1f 84 00 00 00 00 00 55 48 89 e5 53 48 89 fb e8 13 00 00 00 48 8b 3d 54 16 4b 07 48 89 de e8 44 c7 38 00 5b 5d c3 90 <48> 8b 04 24 65 48 8b 0c 25 c0 fd 01 00 65 8b 15 58 d8 8e 7e f7 c2
RSP: 0018:ffff888022eff4f8 EFLAGS: 00000283 ORIG_RAX: ffffffffffffff13
RAX: ffffffff8193ffab RBX: 000000000000008f RCX: ffff888047314600
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888022eff5b0 R08: ffffffff8193ffa2 R09: fffff94000425487
R10: fffff94000425487 R11: 0000000000000000 R12: ffff88803c012480
R13: dffffc0000000000 R14: ffffea000212a400 R15: 0000000000000000
 free_pages_and_swap_cache+0x96/0xb0 mm/swap_state.c:296
 tlb_batch_pages_flush mm/mmu_gather.c:49 [inline]
 tlb_flush_mmu_free mm/mmu_gather.c:184 [inline]
 tlb_flush_mmu+0x755/0x8f0 mm/mmu_gather.c:191
 zap_pte_range mm/memory.c:1128 [inline]
 zap_pmd_range mm/memory.c:1166 [inline]
 zap_pud_range mm/memory.c:1195 [inline]
 zap_p4d_range mm/memory.c:1216 [inline]
 unmap_page_range+0x2183/0x2540 mm/memory.c:1237
 unmap_single_vma+0x1d4/0x2e0 mm/memory.c:1282
 unmap_vmas+0x163/0x2a0 mm/memory.c:1314
 exit_mmap+0x27b/0x530 mm/mmap.c:3161
 __mmput+0x120/0x3a0 kernel/fork.c:1079
 mmput+0x5d/0x70 kernel/fork.c:1100
 exit_mm+0x50a/0x590 kernel/exit.c:485
 do_exit+0x565/0x2190 kernel/exit.c:804
 do_group_exit+0x15c/0x2b0 kernel/exit.c:921
 get_signal+0x4ac/0x1d60 kernel/signal.c:2734
 do_signal+0x37/0x640 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop arch/x86/entry/common.c:159 [inline]
 prepare_exit_to_usermode+0x303/0x580 arch/x86/entry/common.c:194
 syscall_return_slowpath+0x113/0x4a0 arch/x86/entry/common.c:274
 do_syscall_64+0x11f/0x1c0 arch/x86/entry/common.c:300
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x459a29
Code: Bad RIP value.
RSP: 002b:00007fc1c2e7ccf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: 0000000000000000 RBX: 000000000075c078 RCX: 0000000000459a29
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000075c078
RBP: 000000000075c070 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000075c07c
R13: 00007fff3839871f R14: 00007fc1c2e7d9c0 R15: 000000000075c07c

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/10/02 07:56 upstream 54ecb8f7028c b7a87a83 .config console log report ci-upstream-kasan-gce-smack-root
2019/09/30 16:57 upstream 97f9a3c4eee5 c7a4fb99 .config console log report ci-upstream-kasan-gce-smack-root
2019/09/29 00:32 upstream f1f2f614d535 eb6b9855 .config console log report ci-upstream-kasan-gce-smack-root
2019/09/10 17:27 upstream 3120b9a6a3f7 a60cb4cd .config console log report ci-upstream-kasan-gce-smack-root
* Struck through repros no longer work on HEAD.