syzbot


INFO: rcu detected stall in addrconf_rs_timer

Status: auto-closed as invalid on 2019/12/17 18:46
Reported-by: syzbot+3124886eb71de4f18b40@syzkaller.appspotmail.com
First crash: 1691d, last: 1678d
Similar bugs (10)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in addrconf_rs_timer (2) net 362 1664d 1686d 13/26 fixed on 2019/10/21 12:31
linux-4.14 INFO: rcu detected stall in addrconf_rs_timer C error 220 1328d 1691d 0/1 upstream: reported C repro on 2019/09/06 14:33
upstream INFO: rcu detected stall in addrconf_rs_timer net 38 1951d 2046d 0/26 closed as dup on 2019/01/02 16:33
linux-4.19 BUG: soft lockup in addrconf_rs_timer syz error 24 449d 1131d 0/1 upstream: reported syz repro on 2021/03/19 06:05
linux-5.15 BUG: soft lockup in addrconf_rs_timer C error 36 314d 326d 0/3 auto-obsoleted due to no activity on 2023/08/23 09:06
upstream INFO: rcu detected stall in addrconf_rs_timer (3) net C inconclusive done 81 1586d 1582d 15/26 fixed on 2020/02/18 14:31
linux-4.19 INFO: rcu detected stall in addrconf_rs_timer (2) 5 1329d 1402d 0/1 auto-closed as invalid on 2020/12/31 12:17
upstream INFO: rcu detected stall in addrconf_rs_timer (5) kvm 4 728d 728d 0/26 auto-closed as invalid on 2022/06/24 22:41
upstream INFO: rcu detected stall in addrconf_rs_timer (4) net C error error 121 904d 1358d 0/26 closed as invalid on 2022/02/08 10:39
linux-5.15 INFO: rcu detected stall in addrconf_rs_timer origin:upstream C error 3 40d 135d 0/3 upstream: reported C repro on 2023/12/10 10:27

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-...!: (1 GPs behind) idle=ac6/1/0x4000000000000004 softirq=172885/172888 fqs=213 
rcu: 	 (t=10500 jiffies g=200149 q=5382)
rcu: rcu_preempt kthread starved for 10053 jiffies! g200149 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: RCU grace-period kthread stack dump:
rcu_preempt     I29008    10      2 0x80000000
Call Trace:
 context_switch kernel/sched/core.c:2826 [inline]
 __schedule+0x866/0x1dc0 kernel/sched/core.c:3474
 schedule+0x92/0x1c0 kernel/sched/core.c:3518
 schedule_timeout+0x4db/0xfc0 kernel/time/timer.c:1804
 rcu_gp_kthread+0xd5c/0x2190 kernel/rcu/tree.c:2202
 kthread+0x354/0x420 kernel/kthread.c:246
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:415
NMI backtrace for cpu 1
CPU: 1 PID: 4420 Comm: modprobe Not tainted 4.19.73 #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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1b0/0x1f8 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:164 [inline]
 rcu_dump_cpu_stacks+0x189/0x1d5 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+0x5e3/0xd90 kernel/rcu/tree.c:2682
 update_process_times+0x32/0x80 kernel/time/timer.c:1636
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:164
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1274
 __run_hrtimer kernel/time/hrtimer.c:1398 [inline]
 __hrtimer_run_queues+0x33b/0xdc0 kernel/time/hrtimer.c:1460
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1518
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1067 [inline]
 smp_apic_timer_interrupt+0x111/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:write_comp_data+0x0/0x70 kernel/kcov.c:121
Code: 83 fa 02 75 20 48 8b 88 d8 12 00 00 8b 80 d4 12 00 00 48 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 5d c3 0f 1f 00 <65> 4c 8b 04 25 40 ee 01 00 65 8b 05 d0 8a 96 7e a9 00 01 1f 00 75
RSP: 0018:ffff8880ae907550 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 0000000000000001 RBX: ffff88806925e778 RCX: ffffffff858ebde6
RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000001
RBP: ffff8880ae907558 R08: ffff8880933a05c0 R09: 0000000000000007
R10: ffff8880933a0f58 R11: 00000000ffbd3844 R12: dffffc0000000000
R13: ffff88806925e4c0 R14: 0000000000000001 R15: 0000000000000000
 __list_del_entry include/linux/list.h:117 [inline]
 list_move_tail include/linux/list.h:182 [inline]
 hhf_dequeue+0x5b6/0xa00 net/sched/sch_hhf.c:438
 dequeue_skb net/sched/sch_generic.c:277 [inline]
 qdisc_restart net/sched/sch_generic.c:380 [inline]
 __qdisc_run+0x1e7/0x1960 net/sched/sch_generic.c:398
 __dev_xmit_skb net/core/dev.c:3501 [inline]
 __dev_queue_xmit+0x165c/0x2fe0 net/core/dev.c:3811
 dev_queue_xmit+0x18/0x20 net/core/dev.c:3876
 neigh_hh_output include/net/neighbour.h:491 [inline]
 neigh_output include/net/neighbour.h:499 [inline]
 ip6_finish_output2+0x12fd/0x2550 net/ipv6/ip6_output.c:120
 ip6_finish_output+0x574/0xbe0 net/ipv6/ip6_output.c:154
 NF_HOOK_COND include/linux/netfilter.h:278 [inline]
 ip6_output+0x235/0x7c0 net/ipv6/ip6_output.c:171
 dst_output include/net/dst.h:447 [inline]
 NF_HOOK include/linux/netfilter.h:289 [inline]
 ndisc_send_skb+0xf3b/0x1460 net/ipv6/ndisc.c:491
 ndisc_send_rs+0x134/0x6d0 net/ipv6/ndisc.c:685
 addrconf_rs_timer+0x30f/0x680 net/ipv6/addrconf.c:3821
 call_timer_fn+0x18d/0x720 kernel/time/timer.c:1326
 expire_timers kernel/time/timer.c:1363 [inline]
 __run_timers kernel/time/timer.c:1682 [inline]
 __run_timers kernel/time/timer.c:1650 [inline]
 run_timer_softirq+0x652/0x1700 kernel/time/timer.c:1695
 __do_softirq+0x25c/0x921 kernel/softirq.c:292
 invoke_softirq kernel/softirq.c:372 [inline]
 irq_exit+0x180/0x1d0 kernel/softirq.c:412
 exiting_irq arch/x86/include/asm/apic.h:536 [inline]
 smp_apic_timer_interrupt+0x13b/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:lock_acquire+0x1ea/0x3f0 kernel/locking/lockdep.c:3903
Code: 7c 08 00 00 00 00 00 00 48 c1 e8 03 80 3c 10 00 0f 85 c4 01 00 00 48 83 3d 4a a6 1f 07 00 0f 84 38 01 00 00 48 8b 7d c8 57 9d <0f> 1f 44 00 00 48 8d 65 d8 5b 41 5c 41 5d 41 5e 41 5f 5d c3 65 8b
RSP: 0018:ffff8880a87ff998 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13
RAX: 1ffffffff10e48c1 RBX: ffff8880933a05c0 RCX: 000000006f945079
RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000282
RBP: ffff8880a87ff9e0 R08: 000000000000181e R09: 0000000000000001
R10: ffff8880933a0e68 R11: ffffffff89e60570 R12: ffff8880a6fac358
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2f/0x40 kernel/locking/spinlock.c:144
 spin_lock include/linux/spinlock.h:329 [inline]
 lockref_get_not_dead+0x19/0x90 lib/lockref.c:208
 legitimize_path.isra.0+0x87/0x1c0 fs/namei.c:625
 unlazy_walk+0x113/0x560 fs/namei.c:677
 complete_walk+0xcf/0x250 fs/namei.c:790
 do_last fs/namei.c:3388 [inline]
 path_openat+0x639/0x45e0 fs/namei.c:3534
 do_filp_open+0x1a1/0x280 fs/namei.c:3564
 do_sys_open+0x3fe/0x550 fs/open.c:1088
 __do_sys_open fs/open.c:1106 [inline]
 __se_sys_open fs/open.c:1101 [inline]
 __x64_sys_open+0x7e/0xc0 fs/open.c:1101
 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x7f86bc0f31a7
Code: c3 66 90 c7 05 fa af 20 00 16 00 00 00 b8 ff ff ff ff c3 f7 d8 89 05 ec af 20 00 83 c8 ff c3 90 90 90 90 b8 02 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8d 0d cd af 20 00 31 d2 48 29 c2 89
RSP: 002b:00007fffb4fa99d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 00007f86bc2fe1c8 RCX: 00007f86bc0f31a7
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00007f86bc2f901d
RBP: 00007fffb4fa9a50 R08: 00007fffb4fa9e4f R09: 0000000000000000
R10: 00007f86bc2f901d R11: 0000000000000246 R12: 0000000000000008
R13: 00007f86bc2fd040 R14: 0000000000000000 R15: 00007fffb4fa9e4f

Crashes (45):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/18 18:45 linux-4.19.y db2d0b7c1dde 46c0be24 .config console log report ci2-linux-4-19
2019/09/18 15:43 linux-4.19.y db2d0b7c1dde 1037b424 .config console log report ci2-linux-4-19
2019/09/17 11:53 linux-4.19.y db2d0b7c1dde 13dcda9b .config console log report ci2-linux-4-19
2019/09/16 23:41 linux-4.19.y db2d0b7c1dde 51ca0454 .config console log report ci2-linux-4-19
2019/09/16 20:40 linux-4.19.y db2d0b7c1dde 51ca0454 .config console log report ci2-linux-4-19
2019/09/16 09:06 linux-4.19.y db2d0b7c1dde 55c50e70 .config console log report ci2-linux-4-19
2019/09/16 07:50 linux-4.19.y db2d0b7c1dde 32d59357 .config console log report ci2-linux-4-19
2019/09/16 06:22 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/16 05:05 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/16 04:41 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/16 01:30 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/15 18:47 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/15 16:06 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/14 23:23 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/14 17:09 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/14 10:33 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/14 08:05 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/13 15:39 linux-4.19.y ee809c7e0895 32d59357 .config console log report ci2-linux-4-19
2019/09/13 12:26 linux-4.19.y ee809c7e0895 40fa42bc .config console log report ci2-linux-4-19
2019/09/13 03:22 linux-4.19.y ee809c7e0895 40fa42bc .config console log report ci2-linux-4-19
2019/09/12 08:24 linux-4.19.y ee809c7e0895 0b7672ee .config console log report ci2-linux-4-19
2019/09/11 21:17 linux-4.19.y ee809c7e0895 f4e53c10 .config console log report ci2-linux-4-19
2019/09/11 20:57 linux-4.19.y ee809c7e0895 f4e53c10 .config console log report ci2-linux-4-19
2019/09/11 20:39 linux-4.19.y ee809c7e0895 f4e53c10 .config console log report ci2-linux-4-19
2019/09/11 11:58 linux-4.19.y ee809c7e0895 a60cb4cd .config console log report ci2-linux-4-19
2019/09/11 06:04 linux-4.19.y ee809c7e0895 a60cb4cd .config console log report ci2-linux-4-19
2019/09/10 11:34 linux-4.19.y ee809c7e0895 a60cb4cd .config console log report ci2-linux-4-19
2019/09/10 11:22 linux-4.19.y ee809c7e0895 a60cb4cd .config console log report ci2-linux-4-19
2019/09/10 10:25 linux-4.19.y ee809c7e0895 a60cb4cd .config console log report ci2-linux-4-19
2019/09/10 09:28 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/10 08:14 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/10 01:26 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/09 23:56 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/09 19:48 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/09 15:34 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/09 10:32 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/09 06:02 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/08 17:32 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/08 17:08 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/08 14:56 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/07 03:56 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/07 03:51 linux-4.19.y e7d2672c66e4 a60cb4cd .config console log report ci2-linux-4-19
2019/09/06 20:22 linux-4.19.y 0fed55c248d9 acb5b744 .config console log report ci2-linux-4-19
2019/09/06 16:19 linux-4.19.y 0fed55c248d9 acb5b744 .config console log report ci2-linux-4-19
2019/09/06 13:42 linux-4.19.y 0fed55c248d9 c16be727 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.