[ 41.856419][ T648] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 42.422362][ T655] br0: port 1(c1) entered blocking state [ 42.422777][ T655] br0: port 1(c1) entered disabled state [ 42.423034][ T655] c1: entered allmulticast mode [ 42.425180][ T655] c1: entered promiscuous mode [ 42.620295][ T657] ip (657) used greatest stack depth: 23440 bytes left [ 42.893114][ T660] br0: port 2(c2) entered blocking state [ 42.893399][ T660] br0: port 2(c2) entered disabled state [ 42.893645][ T660] c2: entered allmulticast mode [ 42.895564][ T660] c2: entered promiscuous mode [ 43.373942][ T665] br0: port 3(c3) entered blocking state [ 43.374438][ T665] br0: port 3(c3) entered disabled state [ 43.374671][ T665] c3: entered allmulticast mode [ 43.376605][ T665] c3: entered promiscuous mode [ 43.853906][ T670] br0: port 4(sender) entered blocking state [ 43.854216][ T670] br0: port 4(sender) entered disabled state [ 43.854484][ T670] sender: entered allmulticast mode [ 43.857554][ T670] sender: entered promiscuous mode [ 44.061325][ T672] br0: port 4(sender) entered blocking state [ 44.061741][ T672] br0: port 4(sender) entered forwarding state [ 44.062466][ T672] br0: port 3(c3) entered blocking state [ 44.062679][ T672] br0: port 3(c3) entered forwarding state [ 44.063102][ T672] br0: port 2(c2) entered blocking state [ 44.063316][ T672] br0: port 2(c2) entered forwarding state [ 44.063721][ T672] br0: port 1(c1) entered blocking state [ 44.063924][ T672] br0: port 1(c1) entered forwarding state [ 44.195524][ T673] Bridge firewalling registered [ 57.073460][ T11] br0: port 1(c1) entered disabled state [ 57.179029][ T11] c1 (unregistering): left allmulticast mode [ 57.179448][ T11] c1 (unregistering): left promiscuous mode [ 57.179690][ T11] br0: port 1(c1) entered disabled state [ 57.187361][ T11] [ 57.187483][ T11] ============================================ [ 57.187699][ T11] WARNING: possible recursive locking detected [ 57.187916][ T11] 6.13.0-rc5-virtme #1 Not tainted [ 57.188090][ T11] -------------------------------------------- [ 57.188330][ T11] kworker/u16:0/11 is trying to acquire lock: [ 57.188544][ T11] ffffffff9e5dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 57.188905][ T11] [ 57.188905][ T11] but task is already holding lock: [ 57.189158][ T11] ffffffff9e5dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 57.189500][ T11] [ 57.189500][ T11] other info that might help us debug this: [ 57.189756][ T11] Possible unsafe locking scenario: [ 57.189756][ T11] [ 57.190007][ T11] CPU0 [ 57.190134][ T11] ---- [ 57.190270][ T11] lock((netdev_chain).rwsem); [ 57.190439][ T11] lock((netdev_chain).rwsem); [ 57.190616][ T11] [ 57.190616][ T11] *** DEADLOCK *** [ 57.190616][ T11] [ 57.190874][ T11] May be due to missing lock nesting notation [ 57.190874][ T11] [ 57.191127][ T11] 5 locks held by kworker/u16:0/11: [ 57.191303][ T11] #0: ffff8880010ad948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ec/0x16d0 [ 57.191664][ T11] #1: ffffc900000b7da0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xe0b/0x16d0 [ 57.191962][ T11] #2: ffffffff9e5d5690 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbc/0xa50 [ 57.192271][ T11] #3: ffffffff9e5f1088 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x81/0x2e0 [ 57.192638][ T11] #4: ffffffff9e5dfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 57.192979][ T11] [ 57.192979][ T11] stack backtrace: [ 57.193187][ T11] CPU: 1 UID: 0 PID: 11 Comm: kworker/u16:0 Not tainted 6.13.0-rc5-virtme #1 [ 57.193487][ T11] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 57.193700][ T11] Workqueue: netns cleanup_net [ 57.193881][ T11] Call Trace: [ 57.194010][ T11] [ 57.194109][ T11] dump_stack_lvl+0x82/0xd0 [ 57.194298][ T11] print_deadlock_bug+0x40a/0x650 [ 57.194469][ T11] validate_chain+0x5bf/0xae0 [ 57.194639][ T11] ? hlock_class+0x4e/0x130 [ 57.194812][ T11] ? __pfx_validate_chain+0x10/0x10 [ 57.194981][ T11] ? hlock_class+0x4e/0x130 [ 57.195149][ T11] ? mark_lock+0x38/0x3e0 [ 57.195276][ T11] ? mark_held_locks+0x9e/0xe0 [ 57.195449][ T11] __lock_acquire+0xb9a/0x1680 [ 57.195620][ T11] lock_acquire.part.0+0xeb/0x330 [ 57.195788][ T11] ? blocking_notifier_call_chain+0x50/0x90 [ 57.195996][ T11] ? find_held_lock+0x2c/0x110 [ 57.196166][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 57.196341][ T11] ? trace_lock_acquire+0x14c/0x1f0 [ 57.196513][ T11] ? lock_acquire+0x32/0xc0 [ 57.196680][ T11] ? blocking_notifier_call_chain+0x50/0x90 [ 57.196891][ T11] down_read+0x9f/0x340 [ 57.197021][ T11] ? blocking_notifier_call_chain+0x50/0x90 [ 57.197233][ T11] ? __pfx_down_read+0x10/0x10 [ 57.197400][ T11] ? lockdep_hardirqs_on_prepare+0x12b/0x410 [ 57.197616][ T11] blocking_notifier_call_chain+0x50/0x90 [ 57.197783][ T11] __netdev_upper_dev_unlink+0xd9/0x220 [ 57.197951][ T11] ? __pfx___netdev_upper_dev_unlink+0x10/0x10 [ 57.198162][ T11] ? find_held_lock+0x2c/0x110 [ 57.198329][ T11] ? del_nbp+0x377/0xbe0 [bridge] [ 57.198549][ T11] ? hlock_class+0x4e/0x130 [ 57.198720][ T11] netdev_upper_dev_unlink+0x71/0xa0 [ 57.198898][ T11] ? __pfx_netdev_upper_dev_unlink+0x10/0x10 [ 57.199106][ T11] ? mutex_spin_on_owner+0x282/0x2b0 [ 57.199275][ T11] ? rtnl_is_locked+0x15/0x20 [ 57.199450][ T11] del_nbp+0x602/0xbe0 [bridge] [ 57.199659][ T11] br_del_if+0xa3/0x1f0 [bridge] [ 57.199866][ T11] br_device_event+0x53d/0x800 [bridge] [ 57.200068][ T11] ? __pfx_br_device_event+0x10/0x10 [bridge] [ 57.200320][ T11] ? nft_offload_netdev_event+0x158/0x3b0 [nf_tables] [ 57.200570][ T11] notifier_call_chain+0xcd/0x150 [ 57.200738][ T11] blocking_notifier_call_chain+0x66/0x90 [ 57.200905][ T11] unregister_netdevice_many_notify+0xa7b/0x1580 [ 57.201119][ T11] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 57.201328][ T11] ? default_device_exit_batch+0x81/0x2e0 [ 57.201506][ T11] ? rtnl_is_locked+0x15/0x20 [ 57.201677][ T11] ? unregister_netdevice_queue+0x70/0x410 [ 57.201887][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 57.202098][ T11] ? __pfx_unregister_netdevice_queue+0x10/0x10 [ 57.202310][ T11] default_device_exit_batch+0x241/0x2e0 [ 57.202481][ T11] ? __pfx_default_device_exit_batch+0x10/0x10 [ 57.202690][ T11] ? mutex_is_locked+0x1c/0x60 [ 57.202866][ T11] ? nexthop_net_exit_batch_rtnl+0x83/0x210 [ 57.203084][ T11] cleanup_net+0x4ef/0xa50 [ 57.203258][ T11] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 57.203424][ T11] ? __pfx_cleanup_net+0x10/0x10 [ 57.203592][ T11] ? trace_lock_acquire+0x14c/0x1f0 [ 57.203765][ T11] ? lock_acquire+0x32/0xc0 [ 57.203933][ T11] ? process_one_work+0xe0b/0x16d0 [ 57.204121][ T11] process_one_work+0xe55/0x16d0 [ 57.204294][ T11] ? __pfx___lock_release+0x10/0x10 [ 57.204466][ T11] ? __pfx_process_one_work+0x10/0x10 [ 57.204636][ T11] ? assign_work+0x16c/0x240 [ 57.204805][ T11] worker_thread+0x58c/0xce0 [ 57.204983][ T11] ? __pfx_worker_thread+0x10/0x10 [ 57.205153][ T11] kthread+0x28a/0x350 [ 57.205286][ T11] ? __pfx_kthread+0x10/0x10 [ 57.205459][ T11] ret_from_fork+0x31/0x70 [ 57.205630][ T11] ? __pfx_kthread+0x10/0x10 [ 57.205799][ T11] ret_from_fork_asm+0x1a/0x30 [ 57.205970][ T11] [ 57.407003][ T11] br0: port 2(c2) entered disabled state [ 57.491233][ T11] c2 (unregistering): left allmulticast mode [ 57.491494][ T11] c2 (unregistering): left promiscuous mode [ 57.491736][ T11] br0: port 2(c2) entered disabled state [ 57.703783][ T11] br0: port 3(c3) entered disabled state [ 57.799604][ T11] c3 (unregistering): left allmulticast mode [ 57.799907][ T11] c3 (unregistering): left promiscuous mode [ 57.800155][ T11] br0: port 3(c3) entered disabled state [ 58.012693][ T11] br0: port 4(sender) entered disabled state [ 58.084696][ T11] sender (unregistering): left allmulticast mode [ 58.085022][ T11] sender (unregistering): left promiscuous mode [ 58.085280][ T11] br0: port 4(sender) entered disabled state