syzbot


INFO: rcu detected stall in rt6_probe_deferred

Status: fixed on 2019/10/21 12:31
Subsystems: net
[Documentation on labels]
Reported-by: syzbot+c847d94ef876b3c1b93a@syzkaller.appspotmail.com
Fix commit: d4d6ec6dac07 sch_hhf: ensure quantum and hhf_non_hh_weight are non-zero
First crash: 1923d, last: 1913d

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10499 ticks this GP) idle=2ba/1/0x4000000000000002 softirq=21838/21841 fqs=1271 
	(t=10500 jiffies g=22525 q=2261)
rcu: rcu_preempt kthread starved for 7942 jiffies! g22525 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=1
rcu: RCU grace-period kthread stack dump:
rcu_preempt     I28896    10      2 0x80004000
Call Trace:
 context_switch kernel/sched/core.c:3254 [inline]
 __schedule+0x877/0xc50 kernel/sched/core.c:3880
 schedule+0x131/0x1e0 kernel/sched/core.c:3947
 schedule_timeout+0x14f/0x240 kernel/time/timer.c:1807
 rcu_gp_fqs_loop kernel/rcu/tree.c:1611 [inline]
 rcu_gp_kthread+0xef8/0x1790 kernel/rcu/tree.c:1768
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352
NMI backtrace for cpu 0
CPU: 0 PID: 9251 Comm: kworker/0:4 Not tainted 5.3.0-rc8+ #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events rt6_probe_deferred
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:2736 [inline]
 rcu_sched_clock_irq+0xb95/0x16d0 kernel/rcu/tree.c:2183
 update_process_times+0x134/0x190 kernel/time/timer.c:1639
 tick_sched_handle kernel/time/tick-sched.c:167 [inline]
 tick_sched_timer+0x263/0x420 kernel/time/tick-sched.c:1296
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x403/0x850 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x38c/0xda0 kernel/time/hrtimer.c:1509
 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
 </IRQ>
RIP: 0010:__list_del_entry_valid+0x7a/0x100 lib/list_debug.c:51
Code: 00 ad de 49 8b 1e 48 39 d3 74 54 48 83 c2 22 49 39 d7 74 5e 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 f6 c2 58 fe <49> 8b 17 4c 39 f2 75 53 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c
RSP: 0018:ffff88805a8ff5a8 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: 1ffff11013ea5fd2 RBX: ffff88809f52fe90 RCX: ffff88805a8f41c0
RDX: dead000000000122 RSI: 0000000000000000 RDI: ffff88809f52fe00
RBP: ffff88805a8ff5c8 R08: ffffffff860c5d6a R09: 0000000000000000
R10: fffffbfff117be8d R11: 0000000000000000 R12: dffffc0000000000
R13: ffff88809f52fb00 R14: ffff88809f52fdf8 R15: ffff88809f52fe90
 __list_del_entry include/linux/list.h:131 [inline]
 list_move_tail include/linux/list.h:213 [inline]
 hhf_dequeue+0x487/0xaa0 net/sched/sch_hhf.c:439
 dequeue_skb net/sched/sch_generic.c:258 [inline]
 qdisc_restart net/sched/sch_generic.c:361 [inline]
 __qdisc_run+0x217/0x1b30 net/sched/sch_generic.c:379
 __dev_xmit_skb net/core/dev.c:3533 [inline]
 __dev_queue_xmit+0x1161/0x3020 net/core/dev.c:3838
 dev_queue_xmit+0x17/0x20 net/core/dev.c:3902
 neigh_resolve_output+0x60c/0x6b0 net/core/neighbour.c:1490
 neigh_output include/net/neighbour.h:511 [inline]
 ip6_finish_output2+0x102c/0x13d0 net/ipv6/ip6_output.c:116
 __ip6_finish_output+0x693/0x910 net/ipv6/ip6_output.c:142
 ip6_finish_output+0x52/0x1e0 net/ipv6/ip6_output.c:152
 NF_HOOK_COND include/linux/netfilter.h:294 [inline]
 ip6_output+0x26f/0x390 net/ipv6/ip6_output.c:175
 dst_output include/net/dst.h:436 [inline]
 NF_HOOK include/linux/netfilter.h:305 [inline]
 ndisc_send_skb+0xa35/0xe40 net/ipv6/ndisc.c:504
 ndisc_send_ns+0x5ce/0x7b0 net/ipv6/ndisc.c:646
 rt6_probe_deferred+0xe1/0x1a0 net/ipv6/route.c:615
 process_one_work+0x7ef/0x10e0 kernel/workqueue.c:2269
 worker_thread+0xc01/0x1630 kernel/workqueue.c:2415
 kthread+0x332/0x350 kernel/kthread.c:255
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352

Crashes (336):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/09/14 21:41 upstream a7f89616b737 32d59357 .config console log report ci-upstream-kasan-gce-smack-root
2019/09/14 11:32 upstream a7f89616b737 32d59357 .config console log report ci-upstream-kasan-gce-smack-root
2019/09/13 05:01 upstream 505a8ec7e11a 40fa42bc .config console log report ci-upstream-kasan-gce-smack-root
2019/09/12 14:32 upstream ad32b4800c2b 0b7672ee .config console log report ci-upstream-kasan-gce
2019/09/07 07:05 upstream 1e3778cb223e a60cb4cd .config console log report ci-upstream-kasan-gce-root
2019/09/06 13:48 upstream 3b47fd5ca9ea 040fda58 .config console log report ci-upstream-kasan-gce
2019/09/13 21:14 upstream a7f89616b737 32d59357 .config console log report ci-upstream-kasan-gce-386
2019/09/13 07:41 upstream 505a8ec7e11a 40fa42bc .config console log report ci-upstream-kasan-gce-386
2019/09/10 04:00 net-old 28abe5796252 a60cb4cd .config console log report ci-upstream-net-this-kasan-gce
2019/09/16 03:17 net-next-old a3d3c74da49c 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/16 02:12 net-next-old a3d3c74da49c 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 22:19 net-next-old a3d3c74da49c 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 15:09 net-next-old a3d3c74da49c 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 12:15 net-next-old a3d3c74da49c 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 10:50 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 10:41 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 09:24 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 06:01 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 04:55 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 03:28 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/15 01:23 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 23:18 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 17:36 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 08:56 net-next-old 1ba569fc2250 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 07:44 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 06:06 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 05:05 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 03:26 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/14 01:39 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/13 19:48 net-next-old 022c10d6c73b 32d59357 .config console log report ci-upstream-net-kasan-gce
2019/09/13 18:37 net-next-old 022c10d6c73b 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/13 14:30 net-next-old 022c10d6c73b 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/13 12:16 net-next-old 172ca8308b05 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/13 10:33 net-next-old 172ca8308b05 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/13 03:29 net-next-old 172ca8308b05 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/13 02:00 net-next-old 172ca8308b05 40fa42bc .config console log report ci-upstream-net-kasan-gce
2019/09/12 23:45 net-next-old 172ca8308b05 0b7672ee .config console log report ci-upstream-net-kasan-gce
2019/09/12 21:45 net-next-old 172ca8308b05 0b7672ee .config console log report ci-upstream-net-kasan-gce
2019/09/12 20:31 net-next-old 172ca8308b05 0b7672ee .config console log report ci-upstream-net-kasan-gce
2019/09/12 18:48 net-next-old 172ca8308b05 0b7672ee .config console log report ci-upstream-net-kasan-gce
2019/09/12 17:05 net-next-old 172ca8308b05 0b7672ee .config console log report ci-upstream-net-kasan-gce
2019/09/12 11:47 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/12 11:37 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/12 09:57 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/12 08:55 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/12 07:30 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/12 04:17 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/12 00:38 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/11 21:43 net-next-old c1609946b8b6 f4e53c10 .config console log report ci-upstream-net-kasan-gce
2019/09/16 00:27 linux-next 6d028043b55e 32d59357 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/09/14 11:40 linux-next 6d028043b55e 32d59357 .config console log report ci-upstream-linux-next-kasan-gce-root
2019/09/13 02:16 linux-next 6d028043b55e 40fa42bc .config console log report ci-upstream-linux-next-kasan-gce-root
2019/09/12 13:32 linux-next 6d028043b55e 0b7672ee .config console log report ci-upstream-linux-next-kasan-gce-root
2019/09/11 22:59 linux-next 6d028043b55e f4e53c10 .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.