syzbot


INFO: rcu detected stall in mrp_join_timer_arm

Status: auto-closed as invalid on 2020/08/30 01:09
Reported-by: syzbot+4eff87f2001a85224ceb@syzkaller.appspotmail.com
First crash: 1677d, last: 1677d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in mrp_join_timer_arm net 2 1042d 1087d 0/28 closed as invalid on 2022/02/08 10:10

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (1 GPs behind) idle=092/1/0x4000000000000004 softirq=237842/237847 fqs=17 
rcu: 	 (t=10500 jiffies g=307981 q=273)
rcu: rcu_preempt kthread starved for 10465 jiffies! g307981 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     R  running task    29136    10      2 0x80000000
Call Trace:
 schedule+0x8d/0x1b0 kernel/sched/core.c:3559
 schedule_timeout+0x4d1/0xf20 kernel/time/timer.c:1806
 rcu_gp_kthread+0xcee/0x2060 kernel/rcu/tree.c:2202
 kthread+0x34a/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
NMI backtrace for cpu 0
CPU: 0 PID: 21003 Comm: syz-executor.2 Not tainted 4.19.119-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+0x188/0x20d lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1eb lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x170/0x1bb kernel/rcu/tree.c:1340
 print_cpu_stall kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x634/0xddc kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 kernel/time/timer.c:1638
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0x42/0x130 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x2fc/0xd50 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x312/0x770 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1092
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x4/0x50 kernel/kcov.c:100
Code: 2d 8e 87 4c 89 25 dc 92 26 0a 41 bc f4 ff ff ff e8 3a 1f eb ff 48 c7 05 c6 92 26 0a 00 00 00 00 e9 24 ec ff ff 90 48 8b 34 24 <65> 48 8b 04 25 40 ee 01 00 65 8b 15 3c 24 9a 7e 81 e2 00 01 1f 00
RSP: 0018:ffff8880ae607d00 EFLAGS: 00000206 ORIG_RAX: ffffffffffffff13
RAX: ffff8880708963c0 RBX: 00000000000000c8 RCX: 0000000000000000
RDX: 0000000000000100 RSI: ffffffff81580154 RDI: 00000000000000c8
RBP: 0000000000000100 R08: ffff8880708963c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 3ffffffffffffffe
R13: 1ffff11015cc0faa R14: 0000000000000000 R15: ffff88801e7f3290
 __msecs_to_jiffies+0x14/0x50 kernel/time/time.c:594
 msecs_to_jiffies include/linux/jiffies.h:370 [inline]
 mrp_join_timer_arm+0x19/0x80 net/802/mrp.c:585
 call_timer_fn+0x177/0x700 kernel/time/timer.c:1326
 expire_timers kernel/time/timer.c:1363 [inline]
 __run_timers kernel/time/timer.c:1684 [inline]
 __run_timers kernel/time/timer.c:1652 [inline]
 run_timer_softirq+0x5d0/0x1540 kernel/time/timer.c:1697
 __do_softirq+0x26c/0x93c kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x17b/0x1c0 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:544 [inline]
 smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1094
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:893
 </IRQ>
RIP: 0010:arch_local_irq_restore arch/x86/include/asm/paravirt.h:789 [inline]
RIP: 0010:kmem_cache_free+0xa4/0x260 mm/slab.c:3766
Code: e8 31 2f 00 00 84 c0 74 76 41 f7 c4 00 02 00 00 74 4e e8 ff 64 cf ff 48 83 3d 1f df 34 07 00 0f 84 a8 01 00 00 4c 89 e7 57 9d <0f> 1f 44 00 00 4c 8b 64 24 20 0f 1f 44 00 00 65 8b 05 66 09 64 7e
RSP: 0018:ffff8882079f7a90 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000007 RBX: ffff8880229aa200 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000282
RBP: ffff88821bc33ac0 R08: ffff8880708963c0 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000282
R13: ffffffff81b43195 R14: ffff8880229aa208 R15: 0000000000002318
 exit_fs+0xe5/0x120 fs/fs_struct.c:107
 do_exit+0xb9c/0x2f30 kernel/exit.c:876
 do_group_exit+0x125/0x350 kernel/exit.c:983
 get_signal+0x3ec/0x1f90 kernel/signal.c:2588
 do_signal+0x8f/0x1710 arch/x86/kernel/signal.c:821
 exit_to_usermode_loop+0x22b/0x2b0 arch/x86/entry/common.c:163
 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:271 [inline]
 do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c829
Code: 0d b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 db b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f5aeba2ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000038
RAX: fffffffffffffffc RBX: 00000000004da8c0 RCX: 000000000045c829
RDX: 9999999999999999 RSI: 0000000000000000 RDI: 0000000002000100
RBP: 000000000078bf00 R08: ffffffffffffffff R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000076 R14: 00000000004c311e R15: 00007f5aeba2b6d4
IPv6: ADDRCONF(NETDEV_UP): vxcan1023: link is not ready

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/02 01:08 linux-4.19.y 765675379b62 bc734e7a .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.