[ 53.937989][ T67] [ 53.938109][ T67] ============================================ [ 53.938305][ T67] WARNING: possible recursive locking detected [ 53.938504][ T67] 6.13.0-rc5-virtme #1 Not tainted [ 53.938662][ T67] -------------------------------------------- [ 53.938859][ T67] kworker/u16:1/67 is trying to acquire lock: [ 53.939056][ T67] ffffffffb7ddfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 53.939380][ T67] [ 53.939380][ T67] but task is already holding lock: [ 53.939607][ T67] ffffffffb7ddfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 53.939918][ T67] [ 53.939918][ T67] other info that might help us debug this: [ 53.940144][ T67] Possible unsafe locking scenario: [ 53.940144][ T67] [ 53.940362][ T67] CPU0 [ 53.940472][ T67] ---- [ 53.940582][ T67] lock((netdev_chain).rwsem); [ 53.940738][ T67] lock((netdev_chain).rwsem); [ 53.940885][ T67] [ 53.940885][ T67] *** DEADLOCK *** [ 53.940885][ T67] [ 53.941107][ T67] May be due to missing lock nesting notation [ 53.941107][ T67] [ 53.941332][ T67] 5 locks held by kworker/u16:1/67: [ 53.941482][ T67] #0: ffff8880010ad948 ((wq_completion)netns){+.+.}-{0:0}, at: process_one_work+0x7ec/0x16d0 [ 53.941802][ T67] #1: ffffc90000487da0 (net_cleanup_work){+.+.}-{0:0}, at: process_one_work+0xe0b/0x16d0 [ 53.942092][ T67] #2: ffffffffb7dd5690 (pernet_ops_rwsem){++++}-{4:4}, at: cleanup_net+0xbc/0xa50 [ 53.942372][ T67] #3: ffffffffb7df1088 (rtnl_mutex){+.+.}-{4:4}, at: default_device_exit_batch+0x81/0x2e0 [ 53.942684][ T67] #4: ffffffffb7ddfc30 ((netdev_chain).rwsem){++++}-{4:4}, at: blocking_notifier_call_chain+0x50/0x90 [ 53.942996][ T67] [ 53.942996][ T67] stack backtrace: [ 53.943184][ T67] CPU: 2 UID: 0 PID: 67 Comm: kworker/u16:1 Not tainted 6.13.0-rc5-virtme #1 [ 53.943453][ T67] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 53.943651][ T67] Workqueue: netns cleanup_net [ 53.943813][ T67] Call Trace: [ 53.943935][ T67] [ 53.944015][ T67] dump_stack_lvl+0x82/0xd0 [ 53.944172][ T67] print_deadlock_bug+0x40a/0x650 [ 53.944337][ T67] validate_chain+0x5bf/0xae0 [ 53.944484][ T67] ? __pfx_validate_chain+0x10/0x10 [ 53.944641][ T67] ?