[ 13.199663][ T299] ip (299) used greatest stack depth: 24304 bytes left [ 13.288274][ T300] eth0: renamed from r1h1 [ 13.466796][ T302] eth0: renamed from r2h1 [ 13.743895][ T305] eth2: renamed from r2h2 [ 14.006611][ T308] eth1: renamed from r2r1 [ 14.416444][ T313] br0: port 1(eth0) entered blocking state [ 14.416849][ T313] br0: port 1(eth0) entered disabled state [ 14.417081][ T313] eth0: entered allmulticast mode [ 14.418634][ T313] eth0: entered promiscuous mode [ 14.421542][ T70] br0: port 1(eth0) entered blocking state [ 14.421943][ T70] br0: port 1(eth0) entered forwarding state [ 14.498995][ T314] br0: port 2(eth1) entered blocking state [ 14.499999][ T314] br0: port 2(eth1) entered disabled state [ 14.500508][ T314] eth1: entered allmulticast mode [ 14.501679][ T314] eth1: entered promiscuous mode [ 14.503406][ T37] br0: port 2(eth1) entered blocking state [ 14.503671][ T37] br0: port 2(eth1) entered forwarding state [ 31.025633][ T67] eth1: left allmulticast mode [ 31.026005][ T67] eth1: left promiscuous mode [ 31.026405][ T67] br0: port 2(eth1) entered disabled state [ 31.029703][ T67] eth0: left allmulticast mode [ 31.029897][ T67] eth0: left promiscuous mode [ 31.030200][ T67] br0: port 1(eth0) entered disabled state [ 36.494613][ T516] eth0: renamed from r1h1 [ 36.708151][ T519] eth0: renamed from r2h1 [ 36.985575][ T522] eth2: renamed from r2h2 [ 37.265687][ T525] eth1: renamed from r2r1 [ 38.468529][ T540] br0: port 1(eth0) entered blocking state [ 38.468913][ T540] br0: port 1(eth0) entered disabled state [ 38.469202][ T540] eth0: entered allmulticast mode [ 38.470439][ T540] eth0: entered promiscuous mode [ 38.472624][ T39] br0: port 1(eth0) entered blocking state [ 38.472857][ T39] br0: port 1(eth0) entered forwarding state [ 38.552935][ T541] br0: port 2(eth1) entered blocking state [ 38.553266][ T541] br0: port 2(eth1) entered disabled state [ 38.553500][ T541] eth1: entered allmulticast mode [ 38.554658][ T541] eth1: entered promiscuous mode [ 38.556579][ T37] br0: port 2(eth1) entered blocking state [ 38.556799][ T37] br0: port 2(eth1) entered forwarding state [ 42.526340][ T576] ping6 (576) used greatest stack depth: 24144 bytes left [ 55.179390][ T67] eth1: left allmulticast mode [ 55.179657][ T67] eth1: left promiscuous mode [ 55.179948][ T67] br0: port 2(eth1) entered disabled state [ 55.181699][ T67] eth0: left allmulticast mode [ 55.181866][ T67] eth0: left promiscuous mode [ 55.182264][ T67] br0: port 1(eth0) entered disabled state [ 55.213192][ T67] [ 55.213300][ T67] ============================================ [ 55.213474][ T67] WARNING: possible recursive locking detected [ 55.213644][ T67] 6.13.0-rc5-virtme #1 Not tainted [ 55.213782][ T67] -------------------------------------------- [ 55.213951][ T67] kworker/u16:1/67 is trying to acquire lock: [ 55.214121][ T67] ffffffff8cdf6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 55.214409][ T67] [ 55.214409][ T67] but task is already holding lock: [ 55.214615][ T67] ffffffff8cdf6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 55.214897][ T67] [ 55.214897][ T67] other info that might help us debug this: [ 55.215098][ T67] Possible unsafe locking scenario: [ 55.215098][ T67] [ 55.215298][ T67] CPU0 [ 55.215402][ T67] ---- [ 55.215504][ T67] lock((netdev_chain).rwsem); [ 55.215647][ T67] lock((netdev_chain).rwsem); [ 55.215785][ T67] [ 55.215785][ T67] *** DEADLOCK *** [ 55.215785][ T67] [ 55.215987][ T67] May be due to missing lock nesting notation [ 55.215987][ T67] [ 55.216187][ T67] 5 locks held by kworker/u16:1/67: [ 55.216328][ T67] #0: ffff8880010b5948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ec/0x16d0 [ 55.216612][ T67] #1: ffffc90000487da0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xe0b/0x16d0 [ 55.216860][ T67] #2: ffffffff8cdec4d0 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbc/0xba0 [ 55.217127][ T67] #3: ffffffff8ce07e88 (rtnl_mutex){+.+.}-{4:4}, at: cleanup_net+0x45e/0xba0 [ 55.217378][ T67] #4: ffffffff8cdf6a70 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 55.217660][ T67] [ 55.217660][ T67] stack backtrace: [ 55.217832][ T67] CPU: 1 UID: 0 PID: 67 Comm: kworker/u16:1 Not tainted 6.13.0-rc5-virtme #1 [ 55.218076][ T67] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 55.218248][ T67] Workqueue: netns cleanup_net [ 55.218394][ T67] Call Trace: [ 55.218500][ T67] [ 55.218574][ T67] dump_stack_lvl+0x82/0xd0 [ 55.218719][ T67] print_deadlock_bug+0x40a/0x650 [ 55.218861][ T67] validate_chain+0x5bf/0xae0 [ 55.219004][ T67] ? __pfx_validate_chain+0x10/0x10 [ 55.219146][ T67] ? hlock_class+0x4e/0x130 [ 55.219284][ T67] ? mark_lock+0x38/0x3e0 [ 55.219394][ T67] __lock_acquire+0xb9a/0x1680 [ 55.219538][ T67] lock_acquire.part.0+0xeb/0x330 [ 55.219678][ T67] ? blocking_notifier_call_chain+0x50/0x90 [ 55.219850][ T67] ? __lock_acquire+0xb9a/0x1680 [ 55.219994][ T67] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 55.220135][ T67] ? trace_lock_acquire+0x14c/0x1f0 [ 55.220279][ T67] ? lock_acquire+0x32/0xc0 [ 55.220419][ T67] ? blocking_notifier_call_chain+0x50/0x90 [ 55.220592][ T67] down_read+0x9f/0x340 [ 55.220700][ T67] ? blocking_notifier_call_chain+0x50/0x90 [ 55.220871][ T67] ? __pfx_down_read+0x10/0x10 [ 55.221013][ T67] ? __lock_release+0x103/0x460 [ 55.221155][ T67] blocking_notifier_call_chain+0x50/0x90 [ 55.221296][ T67] __netdev_upper_dev_unlink+0xd9/0x220 [ 55.221436][ T67] ? mark_held_locks+0x9e/0xe0 [ 55.221578][ T67] ? __pfx___netdev_upper_dev_unlink+0x10/0x10 [ 55.221757][ T67] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 55.221932][ T67] ? __try_to_del_timer_sync+0xe7/0x140 [ 55.222072][ T67] ? __pfx___try_to_del_timer_sync+0x10/0x10 [ 55.222244][ T67] ? mark_held_locks+0x9e/0xe0 [ 55.222465][ T67] netdev_upper_dev_unlink+0x71/0xa0 [ 55.222603][ T67] ? __pfx_netdev_upper_dev_unlink+0x10/0x10 [ 55.222775][ T67] ? mutex_is_locked+0x1c/0x60 [ 55.222917][ T67] ? rtnl_is_locked+0x15/0x20 [ 55.223130][ T67] ? netdev_master_upper_dev_get+0x13/0x120 [ 55.223300][ T67] vrf_device_event+0x78/0xe0 [ 55.223438][ T67] notifier_call_chain+0xcd/0x150 [ 55.223580][ T67] blocking_notifier_call_chain+0x66/0x90 [ 55.223793][ T67] unregister_netdevice_many_notify+0xa83/0x1580 [ 55.223963][ T67] ? mark_held_locks+0x9e/0xe0 [ 55.224105][ T67] ? __pfx_unregister_netdevice_many_notify+0x10/0x10 [ 55.224351][ T67] ? mutex_is_locked+0x1c/0x60 [ 55.224488][ T67] ? rtnl_is_locked+0x15/0x20 [ 55.224628][ T67] ? mutex_is_locked+0x1c/0x60 [ 55.224765][ T67] ? nexthop_net_exit_batch_rtnl+0x83/0x210 [ 55.225017][ T67] cleanup_net+0x4cf/0xba0 [ 55.225154][ T67] ? __pfx_lock_acquire.part.0+0x10/0x10 [ 55.225294][ T67] ? __pfx_cleanup_net+0x10/0x10 [ 55.225430][ T67] ? trace_lock_acquire+0x14c/0x1f0 [ 55.225643][ T67] ? lock_acquire+0x32/0xc0 [ 55.225779][ T67] ? process_one_work+0xe0b/0x16d0 [ 55.225918][ T67] process_one_work+0xe55/0x16d0 [ 55.226057][ T67] ? __pfx___lock_release+0x10/0x10 [ 55.226196][ T67] ? __pfx_process_one_work+0x10/0x10 [ 55.226341][ T67] ? assign_work+0x16c/0x240 [ 55.226480][ T67] worker_thread+0x58c/0xce0 [ 55.226618][ T67] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 55.226870][ T67] ? __pfx_worker_thread+0x10/0x10 [ 55.227008][ T67] ? __pfx_worker_thread+0x10/0x10 [ 55.227152][ T67] kthread+0x28a/0x350 [ 55.227261][ T67] ? __pfx_kthread+0x10/0x10 [ 55.227478][ T67] ret_from_fork+0x31/0x70 [ 55.227617][ T67] ? __pfx_kthread+0x10/0x10 [ 55.227754][ T67] ret_from_fork_asm+0x1a/0x30 [ 55.227896][ T67] [ 59.160081][ T743] eth0: renamed from r1h1 [ 59.300323][ T745] eth0: renamed from r2h1 [ 59.489778][ T748] eth2: renamed from r2h2 [ 59.680885][ T751] eth1: renamed from r2r1 [ 59.967374][ T756] br0: port 1(eth0) entered blocking state [ 59.967587][ T756] br0: port 1(eth0) entered disabled state [ 59.967771][ T756] eth0: entered allmulticast mode [ 59.968673][ T756] eth0: entered promiscuous mode [ 59.970182][ T37] br0: port 1(eth0) entered blocking state [ 59.970358][ T37] br0: port 1(eth0) entered forwarding state [ 60.024249][ T757] br0: port 2(eth1) entered blocking state [ 60.024512][ T757] br0: port 2(eth1) entered disabled state [ 60.024727][ T757] eth1: entered allmulticast mode [ 60.025693][ T757] eth1: entered promiscuous mode [ 60.027288][ T39] br0: port 2(eth1) entered blocking state [ 60.027488][ T39] br0: port 2(eth1) entered forwarding state [ 75.187256][ T67] eth1: left allmulticast mode [ 75.187421][ T67] eth1: left promiscuous mode [ 75.187693][ T67] br0: port 2(eth1) entered disabled state [ 75.188821][ T67] eth0: left allmulticast mode [ 75.188962][ T67] eth0: left promiscuous mode [ 75.189221][ T67] br0: port 1(eth0) entered disabled state [ 79.065906][ T970] eth0: renamed from r1h1 [ 79.202028][ T972] eth0: renamed from r2h1 [ 79.391918][ T975] eth2: renamed from r2h2 [ 79.579688][ T978] eth1: renamed from r2r1 [ 80.388534][ T993] br0: port 1(eth0) entered blocking state [ 80.388803][ T993] br0: port 1(eth0) entered disabled state [ 80.388990][ T993] eth0: entered allmulticast mode [ 80.389892][ T993] eth0: entered promiscuous mode [ 80.391464][ T70] br0: port 1(eth0) entered blocking state [ 80.391705][ T70] br0: port 1(eth0) entered forwarding state [ 80.447522][ T994] br0: port 2(eth1) entered blocking state [ 80.447721][ T994] br0: port 2(eth1) entered disabled state [ 80.447905][ T994] eth1: entered allmulticast mode [ 80.449172][ T994] eth1: entered promiscuous mode [ 80.450311][ T37] br0: port 2(eth1) entered blocking state [ 80.450493][ T37] br0: port 2(eth1) entered forwarding state [ 95.502498][ T67] eth1: left allmulticast mode [ 95.502671][ T67] eth1: left promiscuous mode [ 95.502959][ T67] br0: port 2(eth1) entered disabled state [ 95.504167][ T67] eth0: left allmulticast mode [ 95.504312][ T67] eth0: left promiscuous mode [ 95.504550][ T67] br0: port 1(eth0) entered disabled state