[ 2001.401674][T28958] veth0: renamed from veth-rt-1 [ 2001.699845][T28967] veth0: renamed from veth-rt-2 [ 2012.670032][ C0] [ 2012.670138][ C0] ====================================================== [ 2012.670266][ C0] WARNING: possible circular locking dependency detected [ 2012.670384][ C0] 7.2.0-rc6-virtme #1 Not tainted [ 2012.670480][ C0] ------------------------------------------------------ [ 2012.670601][ C0] swapper/0/0 is trying to acquire lock: [ 2012.670699][ C0] ff11000009d92358 (&tbl->lock){+.-.}-{3:3}, at: ___neigh_create+0x2be/0x1070 [ 2012.670885][ C0] [ 2012.670885][ C0] but task is already holding lock: [ 2012.671036][ C0] ffa0000000007c98 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0x113/0x4c0 [ 2012.671212][ C0] [ 2012.671212][ C0] which lock already depends on the new lock. [ 2012.671212][ C0] [ 2012.671398][ C0] [ 2012.671398][ C0] the existing dependency chain (in reverse order) is: [ 2012.671560][ C0] [ 2012.671560][ C0] -> #1 ((&n->timer)){+.-.}-{0:0}: [ 2012.671703][ C0] __lock_acquire+0x518/0xc20 [ 2012.671803][ C0] lock_acquire.part.0+0xbc/0x260 [ 2012.671898][ C0] __timer_delete_sync+0xea/0x130 [ 2012.671992][ C0] neigh_flush_one+0x4bf/0x650 [ 2012.672090][ C0] __neigh_ifdown.isra.0+0x1b5/0xea0 [ 2012.672207][ C0] neigh_ifdown+0x10/0x20 [ 2012.672302][ C0] rt6_disable_ip+0x183/0x200 [ 2012.672399][ C0] addrconf_ifdown.isra.0+0x103/0x1670 [ 2012.672517][ C0] addrconf_notify+0x2c8/0xf30 [ 2012.672611][ C0] notifier_call_chain+0xae/0x300 [ 2012.672707][ C0] netif_close_many+0x366/0x770 [ 2012.672801][ C0] unregister_netdevice_many_notify+0x71a/0x1b40 [ 2012.672919][ C0] default_device_exit_batch+0x38b/0x600 [ 2012.673040][ C0] ops_undo_list+0x2ce/0x8f0 [ 2012.673135][ C0] cleanup_net+0x431/0x940 [ 2012.673230][ C0] process_one_work+0xdf8/0x1410 [ 2012.673325][ C0] worker_thread+0x4f1/0xd60 [ 2012.673419][ C0] kthread+0x367/0x460 [ 2012.673512][ C0] ret_from_fork+0x474/0x6b0 [ 2012.673607][ C0] ret_from_fork_asm+0x11/0x20 [ 2012.673705][ C0] [ 2012.673705][ C0] -> #0 (&tbl->lock){+.-.}-{3:3}: [ 2012.673846][ C0] check_prev_add+0xd8/0xe90 [ 2012.673941][ C0] validate_chain+0x6b8/0xc20 [ 2012.674040][ C0] __lock_acquire+0x518/0xc20 [ 2012.674137][ C0] lock_acquire.part.0+0xbc/0x260 [ 2012.674232][ C0] _raw_spin_lock_bh+0x38/0x50 [ 2012.674333][ C0] ___neigh_create+0x2be/0x1070 [ 2012.674425][ C0] ip6_finish_output2+0xb9a/0x12f0 [ 2012.674519][ C0] ip6_finish_output+0x701/0xe80 [ 2012.674611][ C0] ip6_output+0x23f/0x7f0 [ 2012.674704][ C0] ip6_send_skb+0xee/0x350 [ 2012.674797][ C0] icmp6_send+0x1728/0x1cd0 [ 2012.674892][ C0] ip6_link_failure+0x2d/0x460 [ 2012.674985][ C0] ndisc_error_report+0x97/0x1b0 [ 2012.675083][ C0] neigh_invalidate+0x208/0x560 [ 2012.675177][ C0] neigh_timer_handler+0x8e9/0x1210 [ 2012.675271][ C0] call_timer_fn+0x163/0x4c0 [ 2012.675364][ C0] __run_timers+0x68f/0xaa0 [ 2012.675462][ C0] run_timer_softirq+0xf0/0x160 [ 2012.675556][ C0] handle_softirqs+0x1d8/0x8f0 [ 2012.675651][ C0] __irq_exit_rcu+0x103/0x1c0 [ 2012.675744][ C0] irq_exit_rcu+0xe/0x30 [ 2012.675838][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 2012.675955][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 2012.676075][ C0] pv_native_safe_halt+0xf/0x10 [ 2012.676169][ C0] default_idle+0x9/0x10 [ 2012.676266][ C0] default_idle_call+0x6e/0xb0 [ 2012.676360][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 2012.676478][ C0] do_idle+0xd8/0x180 [ 2012.676571][ C0] cpu_startup_entry+0x53/0x70 [ 2012.676665][ C0] rest_init+0x1f7/0x200 [ 2012.676759][ C0] start_kernel+0x3af/0x3b0 [ 2012.676854][ C0] x86_64_start_reservations+0x24/0x30 [ 2012.676972][ C0] x86_64_start_kernel+0x12b/0x130 [ 2012.677068][ C0] common_startup_64+0x13e/0x148 [ 2012.677161][ C0] [ 2012.677161][ C0] other info that might help us debug this: [ 2012.677161][ C0] [ 2012.677345][ C0] Possible unsafe locking scenario: [ 2012.677345][ C0] [ 2012.677490][ C0] CPU0 CPU1 [ 2012.677587][ C0] ---- ---- [ 2012.677682][ C0] lock((&n->timer)); [ 2012.677754][ C0] lock(&tbl->lock); [ 2012.677872][ C0] lock((&n->timer)); [ 2012.677990][ C0] lock(&tbl->lock); [ 2012.678064][ C0] [ 2012.678064][ C0] *** DEADLOCK *** [ 2012.678064][ C0] [ 2012.678204][ C0] 5 locks held by swapper/0/0: [ 2012.678299][ C0] #0: ffa0000000007c98 ((&n->timer)){+.-.}-{0:0}, at: call_timer_fn+0x113/0x4c0 [ 2012.678466][ C0] #1: ffffffff9af91d40 (rcu_read_lock){....}-{1:3}, at: icmp6_send+0x283/0x1cd0 [ 2012.678631][ C0] #2: ff11000009260218 (k-slock-AF_INET6){+...}-{3:3}, at: icmp6_send+0x9ff/0x1cd0 [ 2012.678793][ C0] #3: ffffffff9af91d40 (rcu_read_lock){....}-{1:3}, at: ip6_send_skb+0xa2/0x350 [ 2012.678959][ C0] #4: ffffffff9af91d40 (rcu_read_lock){....}-{1:3}, at: ip6_output+0x11d/0x7f0 [ 2012.679126][ C0] [ 2012.679126][ C0] stack backtrace: [ 2012.679245][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 7.2.0-rc6-virtme #1 PREEMPT(full) [ 2012.679248][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 2012.679249][ C0] Call Trace: [ 2012.679251][ C0] [ 2012.679252][ C0] dump_stack_lvl+0x6f/0xa0 [ 2012.679255][ C0] print_circular_bug.cold+0x38/0x46 [ 2012.679258][ C0] check_noncircular+0x171/0x1a0 [ 2012.679261][ C0] check_prev_add+0xd8/0xe90 [ 2012.679263][ C0] validate_chain+0x6b8/0xc20 [ 2012.679266][ C0] __lock_acquire+0x518/0xc20 [ 2012.679268][ C0] lock_acquire.part.0+0xbc/0x260 [ 2012.679270][ C0] ? ___neigh_create+0x2be/0x1070 [ 2012.679272][ C0] ? rcu_is_watching+0x15/0xd0 [ 2012.679274][ C0] ? lock_acquire+0x13c/0x160 [ 2012.679276][ C0] _raw_spin_lock_bh+0x38/0x50 [ 2012.679278][ C0] ? ___neigh_create+0x2be/0x1070 [ 2012.679279][ C0] ___neigh_create+0x2be/0x1070 [ 2012.679281][ C0] ip6_finish_output2+0xb9a/0x12f0 [ 2012.679283][ C0] ? ip6_xmit+0x2000/0x2000 [ 2012.679284][ C0] ? find_held_lock+0x2b/0x80 [ 2012.679286][ C0] ? __lock_release.isra.0+0x6b/0x1a0 [ 2012.679288][ C0] ? ip6_mtu+0x174/0x410 [ 2012.679290][ C0] ip6_finish_output+0x701/0xe80 [ 2012.679292][ C0] ip6_output+0x23f/0x7f0 [ 2012.679293][ C0] ? ip6_finish_output+0xe80/0xe80 [ 2012.679295][ C0] ? l3mdev_l3_out.constprop.0+0xe5/0x340 [ 2012.679299][ C0] ip6_send_skb+0xee/0x350 [ 2012.679300][ C0] icmp6_send+0x1728/0x1cd0 [ 2012.679303][ C0] ? icmpv6_push_pending_frames+0x5f0/0x5f0 [ 2012.679304][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 2012.679308][ C0] ? rcu_read_lock_any_held+0x3c/0x90 [ 2012.679311][ C0] ? __lock_acquire+0x518/0xc20 [ 2012.679312][ C0] ? find_held_lock+0x2b/0x80 [ 2012.679315][ C0] ip6_link_failure+0x2d/0x460 [ 2012.679316][ C0] ndisc_error_report+0x97/0x1b0 [ 2012.679318][ C0] neigh_invalidate+0x208/0x560 [ 2012.679320][ C0] ? neigh_periodic_work+0xa60/0xa60 [ 2012.679321][ C0] neigh_timer_handler+0x8e9/0x1210 [ 2012.679323][ C0] ? neigh_periodic_work+0xa60/0xa60 [ 2012.679324][ C0] ? rcu_is_watching+0x15/0xd0 [ 2012.679325][ C0] call_timer_fn+0x163/0x4c0 [ 2012.679327][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 2012.679328][ C0] ? find_held_lock+0x2b/0x80 [ 2012.679330][ C0] ? __lock_release.isra.0+0x6b/0x1a0 [ 2012.679332][ C0] ? rcu_is_watching+0x15/0xd0 [ 2012.679333][ C0] __run_timers+0x68f/0xaa0 [ 2012.679334][ C0] ? neigh_periodic_work+0xa60/0xa60 [ 2012.679336][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 2012.679338][ C0] ? __lock_acquire+0x518/0xc20 [ 2012.679340][ C0] ? __rwlock_init+0x150/0x150 [ 2012.679342][ C0] run_timer_softirq+0xf0/0x160 [ 2012.679343][ C0] ? clockevents_program_event+0x307/0x7e0 [ 2012.679347][ C0] ? __run_timers+0xaa0/0xaa0 [ 2012.679348][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 2012.679351][ C0] ? rcu_is_watching+0x15/0xd0 [ 2012.679352][ C0] handle_softirqs+0x1d8/0x8f0 [ 2012.679354][ C0] ? _local_bh_enable+0xd0/0xd0 [ 2012.679357][ C0] __irq_exit_rcu+0x103/0x1c0 [ 2012.679358][ C0] irq_exit_rcu+0xe/0x30 [ 2012.679360][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 2012.679362][ C0] [ 2012.679362][ C0] [ 2012.679363][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 2012.679365][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 2012.679366][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 2012.679368][ C0] Code: 48 8b 3d 44 61 6e 02 e8 1f 00 00 00 48 2b 05 08 22 a7 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d a3 dd 19 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 2012.679370][ C0] RSP: 0018:ffffffff9ac07e18 EFLAGS: 00000292 [ 2012.679372][ C0] RAX: 00000000022f84bd RBX: ffffffff9ac30600 RCX: ffffffff972f7f27 [ 2012.679373][ C0] RDX: ffffffff9ac30600 RSI: ffffffff9a4c4933 RDI: ffffffff99e7d760 [ 2012.679374][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 2012.679375][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff3580fc6 [ 2012.679376][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 2012.679377][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 2012.679380][ C0] ? lockdep_hardirqs_on+0x8c/0x130 [ 2012.679381][ C0] default_idle+0x9/0x10 [ 2012.679382][ C0] default_idle_call+0x6e/0xb0 [ 2012.679383][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 2012.679385][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 2012.679387][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 2012.679390][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 2012.679391][ C0] ? rcu_is_watching+0x15/0xd0 [ 2012.679393][ C0] do_idle+0xd8/0x180 [ 2012.679395][ C0] cpu_startup_entry+0x53/0x70 [ 2012.679396][ C0] rest_init+0x1f7/0x200 [ 2012.679398][ C0] start_kernel+0x3af/0x3b0 [ 2012.679400][ C0] x86_64_start_reservations+0x24/0x30 [ 2012.679402][ C0] x86_64_start_kernel+0x12b/0x130 [ 2012.679403][ C0] common_startup_64+0x13e/0x148 [ 2012.679407][ C0]