[ 25.844755][ T259] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 25.855036][ T264] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 25.934338][ T260] netdevsim netdevsim10 eni10np2: renamed from eth1 [ 25.959355][ T266] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 31.556191][ T274] devlink (274) used greatest stack depth: 22544 bytes left [ 57.127580][ T321] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 57.137784][ T330] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 57.234955][ T331] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 57.249009][ T324] netdevsim netdevsim10 eni10np2: renamed from eth1 [ 61.579843][ T410] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 61.614689][ T421] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 62.232699][ T410] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 62.254645][ T419] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 62.268841][ T418] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 62.674334][ T418] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 62.685281][ T419] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 62.727992][ T421] netdevsim netdevsim10 eni10np2: renamed from eth1 [ 62.803143][ T414] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 63.876907][ T418] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 63.904052][ T421] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 63.935206][ T414] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 64.006035][ T419] netdevsim netdevsim10 eni10np2: renamed from eth1 [ 68.470020][ T541] Failed to register fib notifier [ 68.975836][ T419] netdevsim netdevsim10 eni10np2: renamed from eth1 [ 68.981853][ T410] netdevsim netdevsim10 eni10np3: renamed from eth2 [ 69.005324][ T414] netdevsim netdevsim10 eni10np4: renamed from eth3 [ 69.077538][ T418] netdevsim netdevsim10 eni10np1: renamed from eth0 [ 82.225392][ T789] netdevsim netdevsim10 eni10npf0vf0: renamed from eth0 [ 82.269015][ T791] netdevsim netdevsim10 eni10npf0vf1: renamed from eth1 [ 82.280123][ T792] netdevsim netdevsim10 eni10npf0vf2: renamed from eth2 [ 82.293991][ T794] netdevsim netdevsim10 eni10npf0vf3: renamed from eth3 [ 92.439051][ T926] [ 92.439141][ T926] ====================================================== [ 92.439301][ T926] WARNING: possible circular locking dependency detected [ 92.439456][ T926] 6.12.0-rc5-virtme #1 Not tainted [ 92.439584][ T926] ------------------------------------------------------ [ 92.439740][ T926] modprobe/926 is trying to acquire lock: [ 92.439864][ T926] ffffffffc0427420 (&ops->srcu){.+.+}-{0:0}, at: __synchronize_srcu+0x21/0x2b0 [ 92.440094][ T926] [ 92.440094][ T926] but task is already holding lock: [ 92.440285][ T926] ffffffff9edd3948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_link_unregister+0x10c/0x1c0 [ 92.440513][ T926] [ 92.440513][ T926] which lock already depends on the new lock. [ 92.440513][ T926] [ 92.440758][ T926] [ 92.440758][ T926] the existing dependency chain (in reverse order) is: [ 92.440971][ T926] [ 92.440971][ T926] -> #1 (rtnl_mutex){+.+.}-{3:3}: [ 92.441157][ T926] __lock_acquire+0xb3f/0x1580 [ 92.441285][ T926] lock_acquire.part.0+0xeb/0x330 [ 92.441411][ T926] __mutex_lock+0x149/0xac0 [ 92.441542][ T926] rtnl_newlink+0x64b/0xa30 [ 92.441668][ T926] rtnetlink_rcv_msg+0x712/0xc10 [ 92.441793][ T926] netlink_rcv_skb+0x130/0x360 [ 92.441920][ T926] netlink_unicast+0x44b/0x710 [ 92.442046][ T926] netlink_sendmsg+0x723/0xbe0 [ 92.442171][ T926] ____sys_sendmsg+0x7ac/0xa10 [ 92.442295][ T926] ___sys_sendmsg+0xee/0x170 [ 92.442421][ T926] __sys_sendmsg+0xcd/0x170 [ 92.442545][ T926] do_syscall_64+0xc1/0x1d0 [ 92.442670][ T926] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 92.442827][ T926] [ 92.442827][ T926] -> #0 (&ops->srcu){.+.+}-{0:0}: [ 92.443020][ T926] check_prev_add+0x182/0xce0 [ 92.443149][ T926] validate_chain+0x71d/0x9b0 [ 92.443276][ T926] __lock_acquire+0xb3f/0x1580 [ 92.443405][ T926] lock_sync+0xd7/0x180 [ 92.443533][ T926] __synchronize_srcu+0x9e/0x2b0 [ 92.443659][ T926] __rtnl_link_unregister+0x14a/0x380 [ 92.443818][ T926] rtnl_link_unregister+0x14c/0x1c0 [ 92.443944][ T926] nsim_module_exit+0x10/0x1a [netdevsim] [ 92.444111][ T926] __do_sys_delete_module+0x2bd/0x470 [ 92.444269][ T926] do_syscall_64+0xc1/0x1d0 [ 92.444394][ T926] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 92.444560][ T926] [ 92.444560][ T926] other info that might help us debug this: [ 92.444560][ T926] [ 92.444800][ T926] Possible unsafe locking scenario: [ 92.444800][ T926] [ 92.444991][ T926] CPU0 CPU1 [ 92.445113][ T926] ---- ---- [ 92.445233][ T926] lock(rtnl_mutex); [ 92.445328][ T926] lock(&ops->srcu); [ 92.445483][ T926] lock(rtnl_mutex); [ 92.445636][ T926] sync(&ops->srcu); [ 92.445732][ T926] [ 92.445732][ T926] *** DEADLOCK *** [ 92.445732][ T926] [ 92.445913][ T926] 2 locks held by modprobe/926: [ 92.446039][ T926] #0: ffffffff9edb8650 (pernet_ops_rwsem){++++}-{3:3}, at: rtnl_link_unregister+0xa6/0x1c0 [ 92.446293][ T926] #1: ffffffff9edd3948 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_link_unregister+0x10c/0x1c0 [ 92.446513][ T926] [ 92.446513][ T926] stack backtrace: [ 92.446665][ T926] CPU: 3 UID: 0 PID: 926 Comm: modprobe Not tainted 6.12.0-rc5-virtme #1 [ 92.446855][ T926] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 92.447128][ T926] Call Trace: [ 92.447230][ T926] [ 92.447296][ T926] dump_stack_lvl+0x82/0xd0 [ 92.447425][ T926] print_circular_bug+0x2e2/0x4b0 [ 92.447552][ T926] check_noncircular+0x2f9/0x3e0 [ 92.447683][ T926] ? __pfx_check_noncircular+0x10/0x10 [ 92.447810][ T926] ? __kernel_text_address+0x12/0x40 [ 92.447940][ T926] ? unwind_get_return_address+0x5e/0xa0 [ 92.448066][ T926] ? __pfx_stack_trace_consume_entry+0x10/0x10 [ 92.448223][ T926] ? arch_stack_walk+0xa2/0xf0 [ 92.448352][ T926] check_prev_add+0x182/0xce0 [ 92.448478][ T926] ? __pfx_stack_trace_save+0x10/0x10 [ 92.448604][ T926] validate_chain+0x71d/0x9b0 [ 92.448732][ T926] ? __pfx_validate_chain+0x10/0x10 [ 92.448861][ T926] ? mark_lock+0x335/0x3e0 [ 92.448986][ T926] ? __pfx_validate_chain+0x10/0x10 [ 92.449112][ T926] __lock_acquire+0xb3f/0x1580 [ 92.449241][ T926] lock_sync+0xd7/0x180 [ 92.449336][ T926] ? __synchronize_srcu+0x21/0x2b0 [ 92.449461][ T926] __synchronize_srcu+0x9e/0x2b0 [ 92.449586][ T926] ? __pfx___synchronize_srcu+0x10/0x10 [ 92.449710][ T926] ? hlock_class+0x4e/0x130 [ 92.449836][ T926] ? mark_lock+0x38/0x3e0 [ 92.449934][ T926] ? kvm_clock_get_cycles+0x18/0x30 [ 92.450059][ T926] ? ktime_get_mono_fast_ns+0x84/0x360 [ 92.450183][ T926] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 92.450340][ T926] __rtnl_link_unregister+0x14a/0x380 [ 92.450465][ T926] ? mark_lock+0x38/0x3e0 [ 92.450560][ T926] ? __pfx___rtnl_link_unregister+0x10/0x10 [ 92.450714][ T926] ? mark_held_locks+0x9e/0xe0 [ 92.450845][ T926] rtnl_link_unregister+0x14c/0x1c0 [ 92.450971][ T926] ? __pfx_rtnl_link_unregister+0x10/0x10 [ 92.451097][ T926] ? __pfx_woken_wake_function+0x10/0x10 [ 92.451223][ T926] nsim_module_exit+0x10/0x1a [netdevsim] [ 92.451358][ T926] __do_sys_delete_module+0x2bd/0x470 [ 92.451483][ T926] ? __pfx___do_sys_delete_module+0x10/0x10 [ 92.451637][ T926] ? __pfx_slab_free_after_rcu_debug+0x10/0x10 [ 92.451795][ T926] ? __pfx_slab_free_after_rcu_debug+0x10/0x10 [ 92.451951][ T926] ? trace_rcu_segcb_stats+0x37/0x1e0 [ 92.452076][ T926] ? __pfx_slab_free_after_rcu_debug+0x10/0x10 [ 92.452230][ T926] ? lockdep_hardirqs_on_prepare+0x275/0x410 [ 92.452385][ T926] do_syscall_64+0xc1/0x1d0 [ 92.452513][ T926] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 92.452665][ T926] RIP: 0033:0x7f75b2da45ab [ 92.452796][ T926] Code: 73 01 c3 48 8b 0d 55 98 1b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa b8 b0 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 25 98 1b 00 f7 d8 64 89 01 48 [ 92.453233][ T926] RSP: 002b:00007ffc66e41d88 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0 [ 92.453420][ T926] RAX: ffffffffffffffda RBX: 0000559fb950c980 RCX: 00007f75b2da45ab [ 92.453607][ T926] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000559fb950c9e8 [ 92.453794][ T926] RBP: 0000559fb950c980 R08: 0000000000000000 R09: 0000000000000000 [ 92.453980][ T926] R10: 00007f75b2f03ac0 R11: 0000000000000206 R12: 0000559fb950c9e8 [ 92.454165][ T926] R13: 0000000000000000 R14: 0000559fb950c9e8 R15: 00007ffc66e440b8 [ 92.454352][ T926]