[ 48.546462][ T721] ip (721) used greatest stack depth: 24232 bytes left [ 49.181095][ T726] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 49.824363][ T734] br0: port 1(c1) entered blocking state [ 49.824938][ T734] br0: port 1(c1) entered disabled state [ 49.825252][ T734] c1: entered allmulticast mode [ 49.827497][ T734] c1: entered promiscuous mode [ 50.087040][ T736] ip (736) used greatest stack depth: 23296 bytes left [ 50.427098][ T739] br0: port 2(c2) entered blocking state [ 50.427391][ T739] br0: port 2(c2) entered disabled state [ 50.427644][ T739] c2: entered allmulticast mode [ 50.429576][ T739] c2: entered promiscuous mode [ 50.986122][ T744] br0: port 3(c3) entered blocking state [ 50.986613][ T744] br0: port 3(c3) entered disabled state [ 50.986987][ T744] c3: entered allmulticast mode [ 50.990879][ T744] c3: entered promiscuous mode [ 51.513390][ T749] br0: port 4(sender) entered blocking state [ 51.513757][ T749] br0: port 4(sender) entered disabled state [ 51.514032][ T749] sender: entered allmulticast mode [ 51.516073][ T749] sender: entered promiscuous mode [ 51.721648][ T751] br0: port 4(sender) entered blocking state [ 51.722105][ T751] br0: port 4(sender) entered forwarding state [ 51.722913][ T751] br0: port 3(c3) entered blocking state [ 51.723142][ T751] br0: port 3(c3) entered forwarding state [ 51.723605][ T751] br0: port 2(c2) entered blocking state [ 51.723828][ T751] br0: port 2(c2) entered forwarding state [ 51.724271][ T751] br0: port 1(c1) entered blocking state [ 51.724616][ T751] br0: port 1(c1) entered forwarding state [ 51.854796][ T752] Bridge firewalling registered [ 64.754163][ T69] br0: port 1(c1) entered disabled state [ 64.860090][ T69] c1 (unregistering): left allmulticast mode [ 64.860553][ T69] c1 (unregistering): left promiscuous mode [ 64.860800][ T69] br0: port 1(c1) entered disabled state [ 64.862420][ T69] [ 64.862537][ T69] ============================================ [ 64.862742][ T69] WARNING: possible recursive locking detected [ 64.862946][ T69] 6.13.0-rc5-virtme #1 Not tainted [ 64.863115][ T69] -------------------------------------------- [ 64.863317][ T69] kworker/u16:1/69 is trying to acquire lock: [ 64.863525][ T69] ffffffffa67dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 64.863876][ T69] [ 64.863876][ T69] but task is already holding lock: [ 64.864125][ T69] ffffffffa67dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 64.864469][ T69] [ 64.864469][ T69] other info that might help us debug this: [ 64.864706][ T69] Possible unsafe locking scenario: [ 64.864706][ T69] [ 64.864957][ T69] CPU0 [ 64.865079][ T69] ---- [ 64.865200][ T69] lock((netdev_chain).rwsem); [ 64.865370][ T69] lock((netdev_chain).rwsem); [ 64.865539][ T69] [ 64.865539][ T69] *** DEADLOCK *** [ 64.865539][ T69] [ 64.865806][ T69] May be due to missing lock nesting notation [ 64.865806][ T69] [ 64.866050][ T69] 5 locks held by kworker/u16:1/69: [ 64.866225][ T69] #0: ffff8880010ad948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ec/0x16d0 [ 64.866573][ T69] #1: ffffc900004a7da0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xe0b/0x16d0 [ 64.866876][ T69] #2: ffffffffa67d5690 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbc/0xa50 [ 64.867174][ T69] #3: ffffffffa67f1088 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x81/0x2e0 [ 64.867510][ T69] #4: ffffffffa67dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 64.867860][ T69] [ 64.867860][ T69] stack backtrace: [ 64.868072][ T69] CPU: 0 UID: 0 PID: 69 Comm: kworker/u16:1 Not tainted 6.13.0-rc5-virtme #1 [ 64.868361][ T69] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 64.868575][ T69] Workqueue: netns cleanup_net [ 64.868768][ T69] Call Trace: [ 64.868895][ T69] [ 64.868984][ T69] dump_stack_lvl+0x82/0xd0 [ 64.869155][ T69] print_deadlock_bug+0x40a/0x650 [ 64.869328][ T69] validate_chain+0x5bf/0xae0 [ 64.869504][ T69] ? __pfx_validate_chain+0x10/0x10 [ 64.869670][ T69] ? hlock_class+0x4e/0x130 [ 64.869841][ T69] ? mark_lock+0x38/0x3e0 [ 64.869964][ T69] __lock_acquire+0xb9a/0x1680 [ 64.870137][ T69] lock_acquire.part.0+0xeb/0x330 [ 64.870302][ T69] ? blocking_notifier_call_chain+0x50/0x90 [ 64.870508][ T69] ? find_held_lock+0x2c/0x110 [ 64.870682][ T69] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 64.870849][ T69] ? trace_lock_acquire+0x14c/0x1f0 [ 64.871015][ T69] ? lock_acquire+0x32/0xc0 [ 64.871180][ T69] ? blocking_notifier_call_chain+0x50/0x90 [ 64.871386][ T69] down_read+0x9f/0x340 [ 64.871513][ T69] ? blocking_notifier_call_chain+0x50/0x90 [ 64.871720][ T69] ? __pfx_down_read+0x10/0x10 [ 64.871894][ T69] ? lockdep_hardirqs_on_prepare+0x12b/0x410 [ 64.872095][ T69] blocking_notifier_call_chain+0x50/0x90 [ 64.872261][ T69] __netdev_upper_dev_unlink+0xd9/0x220 [ 64.872426][ T69] ? __pfx___netdev_upper_dev_unlink+0x10/0x10 [ 64.872636][ T69] ? find_held_lock+0x2c/0x110 [ 64.872802][ T69] ? del_nbp+0x377/0xbe0 [bridge] [ 64.873007][ T69] ? hlock_class+0x4e/0x130 [ 64.873175][ T69] netdev_upper_dev_unlink+0x71/0xa0 [ 64.873344][ T69] ? __pfx_netdev_upper_dev_unlink+0x10/0x10 [ 64.873554][ T69] ? mutex_spin_on_owner+0x282/0x2b0 [ 64.873717][ T69] ? rtnl_is_locked+0x15/0x20 [ 64.873885][ T69] del_nbp+0x602/0xbe0 [bridge] [ 64.874092][ T69] br_del_if+0xa3/0x1f0 [bridge] [ 64.874298][ T69] br_device_event+0x53d/0x800 [bridge] [ 64.874504][ T69] ? __pfx_br_device_event+0x10/0x10 [bridge] [ 64.874745][ T69] ? nft_offload_netdev_event+0x158/0x3b0 [nf_tables] [ 64.874989][ T69] notifier_call_chain+0xcd/0x150 [ 64.875155][ T69] blocking_notifier_call_chain+0x66/0x90 [ 64.875323][ T69] unregister_netdevice_many_notify+0xa7b/0x1580 [ 64.875528][ T69] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 64.875743][ T69] ? default_device_exit_batch+0x81/0x2e0 [ 64.875914][ T69] ? rtnl_is_locked+0x15/0x20 [ 64.876081][ T69] ? unregister_netdevice_queue+0x70/0x410 [ 64.876285][ T69] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 64.876490][ T69] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 64.876697][ T69] default_device_exit_batch+0x241/0x2e0 [ 64.876869][ T69] ? __pfx_default_device_exit_batch+0x10/0x10 [ 64.877076][ T69] ? mutex_is_locked+0x1c/0x60 [ 64.877243][ T69] ? nexthop_net_exit_batch_rtnl+0x83/0x210 [ 64.877458][ T69] cleanup_net+0x4ef/0xa50 [ 64.877621][ T69] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 64.877787][ T69] ? __pfx_cleanup_net+0x10/0x10 [ 64.877953][ T69] ? trace_lock_acquire+0x14c/0x1f0 [ 64.878123][ T69] ? lock_acquire+0x32/0xc0 [ 64.878288][ T69] ? process_one_work+0xe0b/0x16d0 [ 64.878459][ T69] process_one_work+0xe55/0x16d0 [ 64.878626][ T69] ? __pfx___lock_release+0x10/0x10 [ 64.878791][ T69] ? __pfx_process_one_work+0x10/0x10 [ 64.878955][ T69] ? assign_work+0x16c/0x240 [ 64.879128][ T69] worker_thread+0x58c/0xce0 [ 64.879303][ T69] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 64.879512][ T69] ? __pfx_worker_thread+0x10/0x10 [ 64.879681][ T69] ? __pfx_worker_thread+0x10/0x10 [ 64.879849][ T69] kthread+0x28a/0x350 [ 64.880151][ T69] ? __pfx_kthread+0x10/0x10 [ 64.880316][ T69] ret_from_fork+0x31/0x70 [ 64.880481][ T69] ? __pfx_kthread+0x10/0x10 [ 64.880645][ T69] ret_from_fork_asm+0x1a/0x30 [ 64.880905][ T69] [ 65.082270][ T69] br0: port 2(c2) entered disabled state [ 65.174917][ T69] c2 (unregistering): left allmulticast mode [ 65.175341][ T69] c2 (unregistering): left promiscuous mode [ 65.175697][ T69] br0: port 2(c2) entered disabled state [ 65.391849][ T69] br0: port 3(c3) entered disabled state [ 65.481706][ T69] c3 (unregistering): left allmulticast mode [ 65.481993][ T69] c3 (unregistering): left promiscuous mode [ 65.482224][ T69] br0: port 3(c3) entered disabled state [ 65.718503][ T69] br0: port 4(sender) entered disabled state [ 65.851931][ T69] sender (unregistering): left allmulticast mode [ 65.852165][ T69] sender (unregistering): left promiscuous mode [ 65.852366][ T69] br0: port 4(sender) entered disabled state