[ 671.530693][ T4237] br1: port 1(vx10) entered blocking state [ 671.530928][ T4237] br1: port 1(vx10) entered disabled state [ 671.531122][ T4237] vx10: entered allmulticast mode [ 671.532630][ T4237] vx10: entered promiscuous mode [ 671.533009][ T4237] br1: port 1(vx10) entered blocking state [ 671.533191][ T4237] br1: port 1(vx10) entered forwarding state [ 671.671359][ T4242] br1: port 2(vx20) entered blocking state [ 671.671582][ T4242] br1: port 2(vx20) entered disabled state [ 671.671779][ T4242] vx20: entered allmulticast mode [ 671.673367][ T4242] vx20: entered promiscuous mode [ 671.673743][ T4242] br1: port 2(vx20) entered blocking state [ 671.673931][ T4242] br1: port 2(vx20) entered forwarding state [ 671.736245][ T4244] br1: port 3(veth1) entered blocking state [ 671.736445][ T4244] br1: port 3(veth1) entered disabled state [ 671.736634][ T4244] veth1: entered allmulticast mode [ 671.738093][ T4244] veth1: entered promiscuous mode [ 671.763354][ T37] br1: port 3(veth1) entered blocking state [ 671.763573][ T37] br1: port 3(veth1) entered forwarding state [ 671.815773][ T4247] br1: port 4(veth2) entered blocking state [ 671.816530][ T4247] br1: port 4(veth2) entered disabled state [ 671.816736][ T4247] veth2: entered allmulticast mode [ 671.818206][ T4247] veth2: entered promiscuous mode [ 671.848304][ T723] br1: port 4(veth2) entered blocking state [ 671.848538][ T723] br1: port 4(veth2) entered forwarding state [ 672.176534][ T62] br1: entered promiscuous mode [ 674.335396][ T4343] br1: port 1(vx10) entered blocking state [ 674.335661][ T4343] br1: port 1(vx10) entered disabled state [ 674.335937][ T4343] vx10: entered allmulticast mode [ 674.337639][ T4343] vx10: entered promiscuous mode [ 674.338163][ T4343] br1: port 1(vx10) entered blocking state [ 674.338379][ T4343] br1: port 1(vx10) entered forwarding state [ 674.494698][ T4347] br1: port 2(vx20) entered blocking state [ 674.494976][ T4347] br1: port 2(vx20) entered disabled state [ 674.495233][ T4347] vx20: entered allmulticast mode [ 674.496769][ T4347] vx20: entered promiscuous mode [ 674.497189][ T4347] br1: port 2(vx20) entered blocking state [ 674.497407][ T4347] br1: port 2(vx20) entered forwarding state [ 674.556095][ T4349] br1: port 3(w1) entered blocking state [ 674.556311][ T4349] br1: port 3(w1) entered disabled state [ 674.556537][ T4349] w1: entered allmulticast mode [ 674.560627][ T4349] w1: entered promiscuous mode [ 674.591533][ T101] br1: port 3(w1) entered blocking state [ 674.591709][ T101] br1: port 3(w1) entered forwarding state [ 674.666221][ T4352] br1: port 4(w3) entered blocking state [ 674.666477][ T4352] br1: port 4(w3) entered disabled state [ 674.666756][ T4352] w3: entered allmulticast mode [ 674.681343][ T4352] w3: entered promiscuous mode [ 674.711593][ T91] br1: port 4(w3) entered blocking state [ 674.711864][ T91] br1: port 4(w3) entered forwarding state [ 675.075240][ T62] br1: entered promiscuous mode [ 675.376374][ C3] net_ratelimit: 10 callbacks suppressed [ 675.376385][ C3] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 675.443329][ C0] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 675.444291][ C0] IPv6: vlan20-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! [ 675.531224][ C0] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 675.532020][ C0] IPv6: vlan10-v: IPv6 duplicate address fe80::200:5eff:fe00:101 used by 00:00:5e:00:01:01 detected! [ 676.091314][ C0] br1: received packet on vx10 with own address as source address (addr:00:00:5e:00:01:01, vlan:10) [ 676.155372][ C3] br1: received packet on vx20 with own address as source address (addr:00:00:5e:00:01:01, vlan:20) [ 695.707326][ T12] w3: left allmulticast mode [ 695.707658][ T12] w3: left promiscuous mode [ 695.708074][ T12] br1: port 4(w3) entered disabled state [ 695.711224][ T12] w1: left allmulticast mode [ 695.711449][ T12] w1: left promiscuous mode [ 695.711852][ T12] br1: port 3(w1) entered disabled state [ 695.714362][ T12] vx20: left allmulticast mode [ 695.714515][ T12] vx20: left promiscuous mode [ 695.714757][ T12] br1: port 2(vx20) entered disabled state [ 695.725695][ T12] vx10: left allmulticast mode [ 695.725995][ T12] vx10: left promiscuous mode [ 695.726379][ T12] br1: port 1(vx10) entered disabled state [ 695.732121][ T12] [ 695.732184][ T12] ====================================================== [ 695.732302][ T12] WARNING: possible circular locking dependency detected [ 695.732410][ T12] 7.2.0-rc6-virtme #1 Not tainted [ 695.732497][ T12] ------------------------------------------------------ [ 695.732614][ T12] kworker/u16:0/12 is trying to acquire lock: [ 695.732727][ T12] ff1100000ccc6508 ((&n->timer)){+.-.}-{0:0}, at: __timer_delete_sync+0xdb/0x130 [ 695.732891][ T12] [ 695.732891][ T12] but task is already holding lock: [ 695.733030][ T12] ff1100000ce9bb58 (&tbl->lock){+.-.}-{3:3}, at: __neigh_ifdown.isra.0+0xa1/0xea0 [ 695.733185][ T12] [ 695.733185][ T12] which lock already depends on the new lock. [ 695.733185][ T12] [ 695.733351][ T12] [ 695.733351][ T12] the existing dependency chain (in reverse order) is: [ 695.733500][ T12] [ 695.733500][ T12] -> #1 (&tbl->lock){+.-.}-{3:3}: [ 695.733631][ T12] __lock_acquire+0x518/0xc20 [ 695.733718][ T12] lock_acquire.part.0+0xbc/0x260 [ 695.733804][ T12] _raw_spin_lock_bh+0x38/0x50 [ 695.733890][ T12] ___neigh_create+0x2be/0x1070 [ 695.733986][ T12] ip6_finish_output2+0xb64/0x1380 [ 695.734069][ T12] ip6_finish_output+0x646/0xda0 [ 695.734153][ T12] ip6_output+0x23f/0x7f0 [ 695.734235][ T12] ip6_send_skb+0xee/0x350 [ 695.734320][ T12] icmp6_send+0x16f9/0x1c90 [ 695.734404][ T12] ip6_link_failure+0x2d/0x460 [ 695.734489][ T12] ndisc_error_report+0x97/0x1b0 [ 695.734578][ T12] neigh_invalidate+0x208/0x560 [ 695.734663][ T12] neigh_timer_handler+0x8e9/0x1210 [ 695.734746][ T12] call_timer_fn+0x163/0x4c0 [ 695.734828][ T12] __run_timers+0x68f/0xaa0 [ 695.734911][ T12] run_timer_softirq+0xf0/0x160 [ 695.735044][ T12] handle_softirqs+0x1d8/0x8f0 [ 695.735128][ T12] __irq_exit_rcu+0x103/0x1c0 [ 695.735262][ T12] irq_exit_rcu+0xe/0x30 [ 695.735346][ T12] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 695.735449][ T12] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 695.735564][ T12] pv_native_safe_halt+0xf/0x10 [ 695.735647][ T12] default_idle+0x9/0x10 [ 695.735730][ T12] default_idle_call+0x6e/0xb0 [ 695.735812][ T12] cpuidle_idle_call.constprop.0+0x237/0x410 [ 695.735917][ T12] do_idle+0xd8/0x180 [ 695.736046][ T12] cpu_startup_entry+0x53/0x70 [ 695.736130][ T12] start_secondary+0x204/0x2b0 [ 695.736214][ T12] common_startup_64+0x13e/0x148 [ 695.736300][ T12] [ 695.736300][ T12] -> #0 ((&n->timer)){+.-.}-{0:0}: [ 695.736434][ T12] check_prev_add+0xd8/0xe90 [ 695.736524][ T12] validate_chain+0x6b8/0xc20 [ 695.736655][ T12] __lock_acquire+0x518/0xc20 [ 695.736782][ T12] lock_acquire.part.0+0xbc/0x260 [ 695.736907][ T12] __timer_delete_sync+0xea/0x130 [ 695.736999][ T12] neigh_flush_one+0x4bf/0x650 [ 695.737083][ T12] __neigh_ifdown.isra.0+0x1b5/0xea0 [ 695.737232][ T12] neigh_ifdown+0x10/0x20 [ 695.737361][ T12] rt6_disable_ip+0x183/0x200 [ 695.737447][ T12] addrconf_ifdown.isra.0+0x103/0x1670 [ 695.737554][ T12] addrconf_notify+0x2c8/0xf30 [ 695.737636][ T12] notifier_call_chain+0xae/0x300 [ 695.737721][ T12] netif_close_many+0x366/0x710 [ 695.737805][ T12] unregister_netdevice_many_notify+0x671/0x19a0 [ 695.737908][ T12] ops_undo_list+0x615/0x8f0 [ 695.737996][ T12] cleanup_net+0x431/0x890 [ 695.738077][ T12] process_one_work+0xdf8/0x1410 [ 695.738162][ T12] worker_thread+0x4f1/0xd60 [ 695.738245][ T12] kthread+0x367/0x460 [ 695.738330][ T12] ret_from_fork+0x474/0x6b0 [ 695.738416][ T12] ret_from_fork_asm+0x11/0x20 [ 695.738551][ T12] [ 695.738551][ T12] other info that might help us debug this: [ 695.738551][ T12] [ 695.738802][ T12] Possible unsafe locking scenario: [ 695.738802][ T12] [ 695.738928][ T12] CPU0 CPU1 [ 695.739017][ T12] ---- ---- [ 695.739152][ T12] lock(&tbl->lock); [ 695.739259][ T12] lock((&n->timer)); [ 695.739411][ T12] lock(&tbl->lock); [ 695.739517][ T12] lock((&n->timer)); [ 695.739630][ T12] [ 695.739630][ T12] *** DEADLOCK *** [ 695.739630][ T12] [ 695.739754][ T12] 5 locks held by kworker/u16:0/12: [ 695.739840][ T12] #0: ff110000019d9d40 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0xd55/0x1410 [ 695.740013][ T12] #1: ffa00000000c7d10 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xdb7/0x1410 [ 695.740161][ T12] #2: ffffffffb749e3a8 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbf/0x890 [ 695.740308][ T12] #3: ffffffffb74b9bc0 (rtnl_mutex){+.+.}-{4:4}, at: ops_undo_list+0x534/0x8f0 [ 695.740545][ T12] #4: ff1100000ce9bb58 (&tbl->lock){+.-.}-{3:3}, at: __neigh_ifdown.isra.0+0xa1/0xea0 [ 695.740691][ T12] [ 695.740691][ T12] stack backtrace: [ 695.740837][ T12] CPU: 1 UID: 0 PID: 12 Comm: kworker/u16:0 Not tainted 7.2.0-rc6-virtme #1 PREEMPT(full) [ 695.740841][ T12] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 695.740843][ T12] Workqueue: netns cleanup_net [ 695.740846][ T12] Call Trace: [ 695.740848][ T12] [ 695.740849][ T12] dump_stack_lvl+0x6f/0xa0 [ 695.740853][ T12] print_circular_bug.cold+0x38/0x46 [ 695.740856][ T12] check_noncircular+0x171/0x1a0 [ 695.740859][ T12] check_prev_add+0xd8/0xe90 [ 695.740861][ T12] ? look_up_lock_class+0x65/0x150 [ 695.740864][ T12] ? check_prev_add+0xef/0xe90 [ 695.740866][ T12] validate_chain+0x6b8/0xc20 [ 695.740868][ T12] __lock_acquire+0x518/0xc20 [ 695.740871][ T12] lock_acquire.part.0+0xbc/0x260 [ 695.740873][ T12] ? __timer_delete_sync+0xdb/0x130 [ 695.740875][ T12] ? rcu_is_watching+0x15/0xd0 [ 695.740877][ T12] ? lock_acquire+0x13c/0x160 [ 695.740880][ T12] ? __timer_delete_sync+0xdb/0x130 [ 695.740881][ T12] __timer_delete_sync+0xea/0x130 [ 695.740882][ T12] ? __timer_delete_sync+0xdb/0x130 [ 695.740884][ T12] neigh_flush_one+0x4bf/0x650 [ 695.740886][ T12] __neigh_ifdown.isra.0+0x1b5/0xea0 [ 695.740888][ T12] ? find_held_lock+0x2b/0x80 [ 695.740891][ T12] ? neigh_flush_one+0x650/0x650 [ 695.740892][ T12] ? __lock_release.isra.0+0x6b/0x1a0 [ 695.740894][ T12] ? mark_held_locks+0x40/0x70 [ 695.740896][ T12] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 695.740898][ T12] ? lockdep_hardirqs_on+0x8c/0x130 [ 695.740900][ T12] ? _raw_spin_unlock_irqrestore+0x53/0x80 [ 695.740902][ T12] ? _raw_spin_unlock_irqrestore+0x40/0x80 [ 695.740904][ T12] ? rcu_preempt_deferred_qs_irqrestore+0x562/0xc10 [ 695.740906][ T12] ? trace_hardirqs_off+0xd/0x30 [ 695.740910][ T12] neigh_ifdown+0x10/0x20 [ 695.740911][ T12] rt6_disable_ip+0x183/0x200 [ 695.740913][ T12] ? rt6_sync_down_dev+0x120/0x120 [ 695.740915][ T12] ? __neigh_ifdown.isra.0+0x988/0xea0 [ 695.740917][ T12] addrconf_ifdown.isra.0+0x103/0x1670 [ 695.740919][ T12] ? neigh_flush_one+0x650/0x650 [ 695.740922][ T12] ? addrconf_sysctl_addr_gen_mode+0xb10/0xb10 [ 695.740924][ T12] ? mark_held_locks+0x40/0x70 [ 695.740926][ T12] addrconf_notify+0x2c8/0xf30 [ 695.740928][ T12] ? team_port_get_rtnl+0x65/0xc0 [ 695.740931][ T12] notifier_call_chain+0xae/0x300 [ 695.740934][ T12] netif_close_many+0x366/0x710 [ 695.740937][ T12] ? __dev_close_many+0x530/0x530 [ 695.740939][ T12] ? netif_close_many_and_unlock+0x22/0x2c0 [ 695.740941][ T12] unregister_netdevice_many_notify+0x671/0x19a0 [ 695.740943][ T12] ? mark_held_locks+0x40/0x70 [ 695.740945][ T12] ? unregister_netdevice_queued+0x80/0x80 [ 695.740946][ T12] ? lockdep_hardirqs_on+0x8c/0x130 [ 695.740948][ T12] ? __call_rcu_common.constprop.0+0x3d1/0xa10 [ 695.740950][ T12] ? mutex_is_locked+0x1c/0x50 [ 695.740952][ T12] ? rtnl_is_locked+0x15/0x20 [ 695.740960][ T12] ? nexthop_net_exit_rtnl+0x1f/0x270 [ 695.740963][ T12] ops_undo_list+0x615/0x8f0 [ 695.740965][ T12] ? lockdep_hardirqs_on+0x8c/0x130 [ 695.740967][ T12] ? rtnl_net_dumpid_one+0x2d0/0x2d0 [ 695.740968][ T12] ? __lock_release.isra.0+0x6b/0x1a0 [ 695.740970][ T12] ? idr_destroy+0x121/0x250 [ 695.740974][ T12] cleanup_net+0x431/0x890 [ 695.740976][ T12] ? net_passive_dec+0x1c0/0x1c0 [ 695.740977][ T12] ? process_one_work+0xdb7/0x1410 [ 695.740979][ T12] ? lock_acquire+0x13c/0x160 [ 695.740981][ T12] ? rcu_is_watching+0x15/0xd0 [ 695.740983][ T12] process_one_work+0xdf8/0x1410 [ 695.740985][ T12] ? pwq_dec_nr_in_flight+0x710/0x710 [ 695.740986][ T12] ? lock_acquire.part.0+0xbc/0x260 [ 695.740990][ T12] worker_thread+0x4f1/0xd60 [ 695.740992][ T12] ? rescuer_thread+0x1320/0x1320 [ 695.740993][ T12] kthread+0x367/0x460 [ 695.740995][ T12] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 695.740997][ T12] ? kthread_affine_node+0x330/0x330 [ 695.740998][ T12] ret_from_fork+0x474/0x6b0 [ 695.741000][ T12] ? arch_exit_to_user_mode_prepare.isra.0+0x120/0x120 [ 695.741002][ T12] ? __switch_to+0x5a3/0xe00 [ 695.741005][ T12] ? kthread_affine_node+0x330/0x330 [ 695.741006][ T12] ret_from_fork_asm+0x11/0x20 [ 695.741009][ T12] [ 696.149698][ T62] br1: left promiscuous mode [ 696.300274][ T4733] br1: port 4(veth2) entered disabled state [ 696.319603][ T4734] veth2: left allmulticast mode [ 696.319766][ T4734] veth2: left promiscuous mode [ 696.319996][ T4734] br1: port 4(veth2) entered disabled state [ 696.361022][ T4736] br1: port 3(veth1) entered disabled state [ 696.381540][ T4737] veth1: left allmulticast mode [ 696.381690][ T4737] veth1: left promiscuous mode [ 696.382351][ T4737] br1: port 3(veth1) entered disabled state [ 696.420655][ T4739] vx20: left allmulticast mode [ 696.420776][ T4739] vx20: left promiscuous mode [ 696.420939][ T4739] br1: port 2(vx20) entered disabled state [ 696.504113][ T4743] vx10: left allmulticast mode [ 696.504240][ T4743] vx10: left promiscuous mode [ 696.504396][ T4743] br1: port 1(vx10) entered disabled state