syzbot


INFO: rcu detected stall in __wake_up_common_lock

Status: auto-closed as invalid on 2019/02/22 10:26
Subsystems: rtc
[Documentation on labels]
Reported-by: syzbot+a24644432a946956a329@syzkaller.appspotmail.com
First crash: 2138d, last: 2138d

Sample crash report:
INFO: rcu_sched self-detected stall on CPU
	0-....: (1 GPs behind) idle=442/1/4611686018427387906 softirq=70289/70290 fqs=29425 
	 (t=125000 jiffies g=39338 c=39337 q=932)
NMI backtrace for cpu 0
CPU: 0 PID: 8924 Comm: kworker/0:5 Not tainted 4.18.0-rc3+ #128
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events rtc_timer_do_work
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1c9/0x2b4 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold.4+0x19/0xce lib/nmi_backtrace.c:103
 nmi_trigger_cpumask_backtrace+0x151/0x192 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:156 [inline]
 rcu_dump_cpu_stacks+0x175/0x1c2 kernel/rcu/tree.c:1336
 print_cpu_stall kernel/rcu/tree.c:1485 [inline]
 check_cpu_stall.isra.60.cold.78+0x36c/0x5a6 kernel/rcu/tree.c:1553
 __rcu_pending kernel/rcu/tree.c:3244 [inline]
 rcu_pending kernel/rcu/tree.c:3291 [inline]
 rcu_check_callbacks+0x23f/0xcd0 kernel/rcu/tree.c:2646
 update_process_times+0x2d/0x70 kernel/time/timer.c:1636
 tick_sched_handle+0x9f/0x180 kernel/time/tick-sched.c:164
 tick_sched_timer+0x45/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x3eb/0x10c0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x2f3/0x750 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1025 [inline]
 smp_apic_timer_interrupt+0x165/0x730 arch/x86/kernel/apic/apic.c:1050
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:863
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:783 [inline]
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa1/0xc0 kernel/locking/spinlock.c:184
Code: 68 b0 f1 88 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 21 48 83 3d de 17 5f 01 00 74 0e 48 89 df 57 9d <0f> 1f 44 00 00 eb bb 0f 0b 0f 0b e8 3f 4c 27 fa eb 97 e8 38 4c 27 
RSP: 0018:ffff880193f871e0 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 0000000000000282 RCX: 1ffff100319a4945
RDX: 1ffffffff11e360d RSI: 0000000000000000 RDI: 0000000000000282
RBP: ffff880193f871f0 R08: ffff88018cd249b8 R09: 0000000000000006
R10: ffff88018cd24180 R11: 0000000000000000 R12: ffff8801cd819040
R13: 0000000000000001 R14: ffff880193f872e0 R15: 0000000000000282
 spin_unlock_irqrestore include/linux/spinlock.h:365 [inline]
 __wake_up_common_lock+0x1d0/0x330 kernel/sched/wait.c:120
 __wake_up+0xe/0x10 kernel/sched/wait.c:143
 rtc_handle_legacy_irq+0x12c/0x190 drivers/rtc/interface.c:614
 rtc_uie_update_irq+0x1f/0x30 drivers/rtc/interface.c:641
 rtc_timer_do_work+0x283/0x1200 drivers/rtc/interface.c:981
 process_one_work+0xc73/0x1ba0 kernel/workqueue.c:2153
 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296
 kthread+0x345/0x410 kernel/kthread.c:240
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/03 11:22 upstream d0fbad0aec1d 317fc8ea .config console log report ci-upstream-kasan-gce-root
* Struck through repros no longer work on HEAD.