[ 47.174907][ T961] eth3: renamed from tmp [ 48.191399][ T968] eth2: renamed from tmp [ 49.666682][ T978] eth0: renamed from tmp [ 50.097756][ T981] br0: port 1(eth0) entered blocking state [ 50.098473][ T981] br0: port 1(eth0) entered disabled state [ 50.098719][ T981] eth0: entered allmulticast mode [ 50.099969][ T981] eth0: entered promiscuous mode [ 50.101531][ T981] br0: port 1(eth0) entered blocking state [ 50.101829][ T981] br0: port 1(eth0) entered forwarding state [ 50.725242][ T985] eth1: renamed from tmp [ 51.157575][ T988] br0: port 2(eth1) entered blocking state [ 51.157829][ T988] br0: port 2(eth1) entered disabled state [ 51.158082][ T988] eth1: entered allmulticast mode [ 51.159281][ T988] eth1: entered promiscuous mode [ 51.160336][ T988] br0: port 2(eth1) entered blocking state [ 51.160586][ T988] br0: port 2(eth1) entered forwarding state [ 55.762219][ T11] br0: port 1(eth0) entered disabled state [ 55.906709][ T11] eth0 (unregistering): left allmulticast mode [ 55.907056][ T11] eth0 (unregistering): left promiscuous mode [ 55.907262][ T11] br0: port 1(eth0) entered disabled state [ 55.908133][ T11] [ 55.908225][ T11] ============================================ [ 55.908412][ T11] WARNING: possible recursive locking detected [ 55.908592][ T11] 6.13.0-rc5-virtme #1 Not tainted [ 55.908736][ T11] -------------------------------------------- [ 55.908913][ T11] kworker/u16:0/11 is trying to acquire lock: [ 55.909096][ T11] ffffffffa05f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 55.909404][ T11] [ 55.909404][ T11] but task is already holding lock: [ 55.909628][ T11] ffffffffa05f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 55.909922][ T11] [ 55.909922][ T11] other info that might help us debug this: [ 55.910136][ T11] Possible unsafe locking scenario: [ 55.910136][ T11] [ 55.910352][ T11] CPU0 [ 55.910457][ T11] ---- [ 55.910568][ T11] lock((netdev_chain).rwsem); [ 55.910720][ T11] lock((netdev_chain).rwsem); [ 55.910867][ T11] [ 55.910867][ T11] *** DEADLOCK *** [ 55.910867][ T11] [ 55.911080][ T11] May be due to missing lock nesting notation [ 55.911080][ T11] [ 55.911290][ T11] 5 locks held by kworker/u16:0/11: [ 55.911440][ T11] #0: ffff8880010b5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ec/0x16d0 [ 55.911750][ T11] #1: ffffc900000b7da0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xe0b/0x16d0 [ 55.912002][ T11] #2: ffffffffa05ec4d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbc/0xba0 [ 55.912268][ T11] #3: ffffffffa0607e88 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x81/0x2e0 [ 55.912559][ T11] #4: ffffffffa05f6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 55.912861][ T11] [ 55.912861][ T11] stack backtrace: [ 55.913042][ T11] CPU: 3 UID: 0 PID: 11 Comm: kworker/u16:0 Not tainted 6.13.0-rc5-virtme #1 [ 55.913295][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.913479][ T11] Workqueue: netns cleanup_net [ 55.913636][ T11] Call Trace: [ 55.913749][ T11] [ 55.913826][ T11] dump_stack_lvl+0x82/0xd0 [ 55.913978][ T11] print_deadlock_bug+0x40a/0x650 [ 55.914126][ T11] validate_chain+0x5bf/0xae0 [ 55.914277][ T11] ? __pfx_validate_chain+0x10/0x10 [ 55.914433][ T11] ? hlock_class+0x4e/0x130 [ 55.914578][ T11] ? mark_lock+0x38/0x3e0 [ 55.914699][ T11] __lock_acquire+0xb9a/0x1680 [ 55.914862][ T11] lock_acquire.part.0+0xeb/0x330 [ 55.915018][ T11] ? blocking_notifier_call_chain+0x50/0x90 [ 55.915215][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 55.915378][ T11] ? trace_lock_acquire+0x14c/0x1f0 [ 55.915540][ T11] ? lock_acquire+0x32/0xc0 [ 55.915702][ T11] ? blocking_notifier_call_chain+0x50/0x90 [ 55.915907][ T11] down_read+0x9f/0x340 [ 55.916028][ T11] ? blocking_notifier_call_chain+0x50/0x90 [ 55.916227][ T11] ? __pfx_down_read+0x10/0x10 [ 55.916386][ T11] ? __pfx___lock_release+0x10/0x10 [ 55.916550][ T11] blocking_notifier_call_chain+0x50/0x90 [ 55.916711][ T11] __netdev_upper_dev_unlink+0xd9/0x220 [ 55.916870][ T11] ? __pfx___netdev_upper_dev_unlink+0x10/0x10 [ 55.917075][ T11] ? find_held_lock+0x2c/0x110 [ 55.917241][ T11] ? del_nbp+0x377/0xbe0 [ 55.917360][ T11] ? hlock_class+0x4e/0x130 [ 55.917527][ T11] netdev_upper_dev_unlink+0x71/0xa0 [ 55.917693][ T11] ? __pfx_netdev_upper_dev_unlink+0x10/0x10 [ 55.917889][ T11] ? mutex_is_locked+0x12/0x60 [ 55.918051][ T11] ? rtnl_is_locked+0x15/0x20 [ 55.918210][ T11] del_nbp+0x602/0xbe0 [ 55.918331][ T11] br_del_if+0xa3/0x1f0 [ 55.918450][ T11] br_device_event+0x53d/0x800 [ 55.918603][ T11] ? __pfx_br_device_event+0x10/0x10 [ 55.918764][ T11] ? packet_notifier+0x3b0/0x810 [ 55.918928][ T11] notifier_call_chain+0xcd/0x150 [ 55.919093][ T11] blocking_notifier_call_chain+0x66/0x90 [ 55.919254][ T11] unregister_netdevice_many_notify+0xa83/0x1580 [ 55.919453][ T11] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 55.919667][ T11] ? default_device_exit_batch+0x81/0x2e0 [ 55.919830][ T11] ? rtnl_is_locked+0x15/0x20 [ 55.919993][ T11] ? unregister_netdevice_queue+0x70/0x410 [ 55.920189][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 55.920387][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 55.920591][ T11] default_device_exit_batch+0x241/0x2e0 [ 55.920745][ T11] ? __pfx_default_device_exit_batch+0x10/0x10 [ 55.920931][ T11] ? ops_exit_list+0xb4/0x170 [ 55.921083][ T11] cleanup_net+0x4ef/0xba0 [ 55.921228][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 55.921375][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 55.921522][ T11] ? trace_lock_acquire+0x14c/0x1f0 [ 55.921672][ T11] ? lock_acquire+0x32/0xc0 [ 55.921815][ T11] ? process_one_work+0xe0b/0x16d0 [ 55.921964][ T11] process_one_work+0xe55/0x16d0 [ 55.922123][ T11] ? __pfx___lock_release+0x10/0x10 [ 55.922270][ T11] ? __pfx_process_one_work+0x10/0x10 [ 55.922419][ T11] ? assign_work+0x16c/0x240 [ 55.922569][ T11] worker_thread+0x58c/0xce0 [ 55.922814][ T11] ? __pfx_worker_thread+0x10/0x10 [ 55.923040][ T11] kthread+0x28a/0x350 [ 55.923153][ T11] ? __pfx_kthread+0x10/0x10 [ 55.923303][ T11] ret_from_fork+0x31/0x70 [ 55.923532][ T11] ? __pfx_kthread+0x10/0x10 [ 55.923683][ T11] ret_from_fork_asm+0x1a/0x30 [ 55.923838][ T11] [ 56.206615][ T11] eth1: left allmulticast mode [ 56.206786][ T11] eth1: left promiscuous mode [ 56.207063][ T11] br0: port 2(eth1) entered disabled state [ 59.904858][ T1064] eth1: renamed from tmp [ 60.821971][ T1073] eth2: renamed from tmp