syzbot


INFO: rcu detected stall in mrp_join_timer

Status: auto-closed as invalid on 2020/10/17 01:22
Reported-by: syzbot+7c31d15b9117277fe81e@syzkaller.appspotmail.com
First crash: 900d, last: 735d
similar bugs (3):
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in mrp_join_timer 1 898d 898d 0/22 closed as invalid on 2020/01/09 08:13
linux-4.19 INFO: rcu detected stall in mrp_join_timer 28 586d 898d 0/1 auto-closed as invalid on 2021/03/15 12:15
upstream INFO: rcu detected stall in mrp_join_timer (2) 57 110d 859d 0/22 upstream: reported on 2020/02/16 10:49

Sample crash report:
INFO: rcu_preempt self-detected stall on CPU
	1-...: (1 GPs behind) idle=832/140000000000002/0 softirq=217516/217517 fqs=4138 
	 (t=10500 jiffies g=74305 c=74304 q=1594)
NMI backtrace for cpu 1
CPU: 1 PID: 16783 Comm: syz-executor.2 Not tainted 4.14.184-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:17 [inline]
 dump_stack+0x1b2/0x283 lib/dump_stack.c:58
 nmi_cpu_backtrace.cold+0x57/0x93 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x13a/0x17f lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:158 [inline]
 rcu_dump_cpu_stacks+0x16d/0x1b8 kernel/rcu/tree.c:1396
 print_cpu_stall kernel/rcu/tree.c:1542 [inline]
 check_cpu_stall kernel/rcu/tree.c:1610 [inline]
 __rcu_pending kernel/rcu/tree.c:3390 [inline]
 rcu_pending kernel/rcu/tree.c:3452 [inline]
 rcu_check_callbacks.cold+0x490/0xdaa kernel/rcu/tree.c:2792
 update_process_times+0x29/0x60 kernel/time/timer.c:1590
 tick_sched_handle.isra.0+0x73/0x150 kernel/time/tick-sched.c:165
 tick_sched_timer+0x41/0x120 kernel/time/tick-sched.c:1223
 __run_hrtimer kernel/time/hrtimer.c:1223 [inline]
 __hrtimer_run_queues+0x24b/0xb90 kernel/time/hrtimer.c:1287
 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline]
 smp_apic_timer_interrupt+0x117/0x5f0 arch/x86/kernel/apic/apic.c:1100
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
RIP: 0010:debug_spin_lock_before kernel/locking/spinlock_debug.c:83 [inline]
RIP: 0010:do_raw_spin_lock+0x3e/0x230 kernel/locking/spinlock_debug.c:112
RSP: 0000:ffff8880aed07d00 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff10
RAX: 00000000dead4ead RBX: ffff888017b94168 RCX: ffff8880199cc8c8
RDX: 0000000000000000 RSI: ffff8880199cc8f0 RDI: ffff888017b94134
RBP: ffff888017b94130 R08: 000000000000661b R09: ffffffff89e88a58
R10: ffff8880199cc8f0 R11: ffff8880199cc040 R12: ffff888017b94130
R13: 1ffff11015da0fad R14: 1ffff11015da0fd2 R15: 0000000000000001
 spin_lock include/linux/spinlock.h:317 [inline]
 mrp_join_timer+0x22/0x74 net/802/mrp.c:593
 call_timer_fn+0x14a/0x650 kernel/time/timer.c:1279
 expire_timers+0x233/0x4d0 kernel/time/timer.c:1318
 __run_timers kernel/time/timer.c:1636 [inline]
 run_timer_softirq+0x1d8/0x5b0 kernel/time/timer.c:1649
 __do_softirq+0x254/0x9bf kernel/softirq.c:288
 invoke_softirq kernel/softirq.c:368 [inline]
 irq_exit+0x15b/0x1a0 kernel/softirq.c:409
 exiting_irq arch/x86/include/asm/apic.h:648 [inline]
 smp_apic_timer_interrupt+0x141/0x5f0 arch/x86/kernel/apic/apic.c:1102
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:779 [inline]
RIP: 0010:lock_is_held_type+0x17a/0x210 kernel/locking/lockdep.c:4038
RSP: 0000:ffff888206f67d38 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff10
RAX: 1ffffffff0f62cd1 RBX: 0000000000000282 RCX: 1ffffffff0fe794c
RDX: dffffc0000000000 RSI: 00000000ffffffff RDI: 0000000000000282
RBP: ffff8880199cc040 R08: ffff88821fff705c R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880aed2b580 R14: ffff888206f60000 R15: ffff8880199cc040
 lock_is_held include/linux/lockdep.h:437 [inline]
 schedule_debug kernel/sched/core.c:3206 [inline]
 __schedule+0xef9/0x1d70 kernel/sched/core.c:3308
 preempt_schedule_irq+0xb0/0x140 kernel/sched/core.c:3611
 retint_kernel+0x1b/0x2d
RIP: 0010:exit_to_usermode_loop+0x6c/0x200 arch/x86/entry/common.c:152
RSP: 0000:ffff888206f67ef8 EFLAGS: 00000216 ORIG_RAX: ffffffffffffff09
RAX: 0000000000040000 RBX: 0000000000000008 RCX: ffffc90007479000
RDX: 0000000000002743 RSI: ffffffff81005585 RDI: ffff8880199cc8c4
RBP: dffffc0000000000 R08: ffff88821fff705c R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffed1003339808
R13: ffff888206f67f58 R14: ffff8880199cc040 R15: ffffffff87b16698
 prepare_exit_to_usermode+0x1af/0x210 arch/x86/entry/common.c:199
 retint_user+0x8/0x18
RIP: 0033:0x40541d
RSP: 002b:00007fcbdc2a5c90 EFLAGS: 00000213 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000000 RBX: 00000000004dc560 RCX: 0000000000000000
RDX: 0000000000000001 RSI: 00000000004053ca RDI: 0000000000000003
RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 00000000000000cc R14: 00000000004c37d0 R15: 00007fcbdc2a66d4

Crashes (7):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-linux-4-14 2020/06/19 01:21 linux-4.14.y b850307b279c 3ea11d3f .config log report
ci2-linux-4-14 2020/05/16 16:54 linux-4.14.y ab9dfda23248 37bccd4e .config log report
ci2-linux-4-14 2020/04/24 03:34 linux-4.14.y c10b57a567e4 03d97a1b .config log report
ci2-linux-4-14 2020/04/23 15:29 linux-4.14.y c10b57a567e4 b9233cab .config log report
ci2-linux-4-14 2020/03/26 02:04 linux-4.14.y 01364dad1d45 e8e6c7d2 .config log report
ci2-linux-4-14 2020/01/09 16:25 linux-4.14.y b0cdffaa546e 4de4e9f0 .config log report
ci2-linux-4-14 2020/01/06 00:59 linux-4.14.y 84f5ad468100 438e1227 .config log report