[   66.777004][  T413] netdevsim netdevsim311 eni311np1: renamed from eth0
[   66.859594][  T414] netdevsim netdevsim761 eni761np1: renamed from eth1
[   75.710837][  T477] 
[   75.711061][  T477] ======================================================
[   75.711332][  T477] WARNING: possible circular locking dependency detected
[   75.711576][  T477] 6.12.0-rc5-virtme #1 Not tainted
[   75.711732][  T477] ------------------------------------------------------
[   75.711924][  T477] modprobe/477 is trying to acquire lock:
[   75.712080][  T477] ffffffffc0536700 (&ops->srcu){.+.+}-{0:0}, at: __synchronize_srcu+0x21/0x2b0
[   75.712363][  T477] 
[   75.712363][  T477] but task is already holding lock:
[   75.712614][  T477] ffffffffb4df7d48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_link_unregister+0x10c/0x1c0
[   75.712985][  T477] 
[   75.712985][  T477] which lock already depends on the new lock.
[   75.712985][  T477] 
[   75.713400][  T477] 
[   75.713400][  T477] the existing dependency chain (in reverse order) is:
[   75.713701][  T477] 
[   75.713701][  T477] -> #1 (rtnl_mutex){+.+.}-{3:3}:
[   75.713943][  T477]        __lock_acquire+0xb3f/0x1580
[   75.714102][  T477]        lock_acquire.part.0+0xeb/0x330
[   75.714272][  T477]        __mutex_lock+0x149/0xac0
[   75.714440][  T477]        rtnl_newlink+0x64b/0xa30
[   75.714597][  T477]        rtnetlink_rcv_msg+0x712/0xc10
[   75.714752][  T477]        netlink_rcv_skb+0x130/0x360
[   75.714907][  T477]        netlink_unicast+0x44b/0x710
[   75.715078][  T477]        netlink_sendmsg+0x723/0xbe0
[   75.715237][  T477]        ____sys_sendmsg+0x7ac/0xa10
[   75.715396][  T477]        ___sys_sendmsg+0xee/0x170
[   75.715557][  T477]        __sys_sendmsg+0xcd/0x170
[   75.715718][  T477]        do_syscall_64+0xc1/0x1d0
[   75.715885][  T477]        entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   75.716076][  T477] 
[   75.716076][  T477] -> #0 (&ops->srcu){.+.+}-{0:0}:
[   75.716316][  T477]        check_prev_add+0x182/0xce0
[   75.716471][  T477]        validate_chain+0x71d/0x9b0
[   75.716627][  T477]        __lock_acquire+0xb3f/0x1580
[   75.716782][  T477]        lock_sync+0xd7/0x180
[   75.716936][  T477]        __synchronize_srcu+0x9e/0x2b0
[   75.717103][  T477]        __rtnl_link_unregister+0x14a/0x380
[   75.717295][  T477]        rtnl_link_unregister+0x14c/0x1c0
[   75.717452][  T477]        nsim_module_exit+0x10/0x1a [netdevsim]
[   75.717672][  T477]        __do_sys_delete_module+0x2bd/0x470
[   75.717882][  T477]        do_syscall_64+0xc1/0x1d0
[   75.718040][  T477]        entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   75.718258][  T477] 
[   75.718258][  T477] other info that might help us debug this:
[   75.718258][  T477] 
[   75.718582][  T477]  Possible unsafe locking scenario:
[   75.718582][  T477] 
[   75.718815][  T477]        CPU0                    CPU1
[   75.718973][  T477]        ----                    ----
[   75.719144][  T477]   lock(rtnl_mutex);
[   75.719264][  T477]                                lock(&ops->srcu);
[   75.719494][  T477]                                lock(rtnl_mutex);
[   75.719699][  T477]   sync(&ops->srcu);
[   75.719819][  T477] 
[   75.719819][  T477]  *** DEADLOCK ***
[   75.719819][  T477] 
[   75.720054][  T477] 2 locks held by modprobe/477:
[   75.720213][  T477]  #0: ffffffffb4ddc8d0 (pernet_ops_rwsem){++++}-{3:3}, at: rtnl_link_unregister+0xa6/0x1c0
[   75.720536][  T477]  #1: ffffffffb4df7d48 (rtnl_mutex){+.+.}-{3:3}, at: rtnl_link_unregister+0x10c/0x1c0
[   75.720834][  T477] 
[   75.720834][  T477] stack backtrace:
[   75.721025][  T477] CPU: 1 UID: 0 PID: 477 Comm: modprobe Not tainted 6.12.0-rc5-virtme #1
[   75.721252][  T477] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[   75.721647][  T477] Call Trace:
[   75.721810][  T477]  <TASK>
[   75.721916][  T477]  dump_stack_lvl+0x82/0xd0
[   75.722129][  T477]  print_circular_bug+0x2e2/0x4b0
[   75.722339][  T477]  check_noncircular+0x2f9/0x3e0
[   75.722551][  T477]  ? __pfx_check_noncircular+0x10/0x10
[   75.722738][  T477]  ? __kernel_text_address+0x12/0x40
[   75.722892][  T477]  ? unwind_get_return_address+0x5e/0xa0
[   75.723045][  T477]  ? __pfx_stack_trace_consume_entry+0x10/0x10
[   75.723243][  T477]  ? arch_stack_walk+0xa2/0xf0
[   75.723396][  T477]  ? alloc_chain_hlocks+0x4e0/0x720
[   75.723564][  T477]  check_prev_add+0x182/0xce0
[   75.723720][  T477]  ? __pfx_stack_trace_save+0x10/0x10
[   75.723876][  T477]  validate_chain+0x71d/0x9b0
[   75.724037][  T477]  ? __pfx_validate_chain+0x10/0x10
[   75.724194][  T477]  ? mark_lock+0x335/0x3e0
[   75.724349][  T477]  ? __pfx_validate_chain+0x10/0x10
[   75.724525][  T477]  __lock_acquire+0xb3f/0x1580
[   75.724685][  T477]  lock_sync+0xd7/0x180
[   75.724804][  T477]  ? __synchronize_srcu+0x21/0x2b0
[   75.724964][  T477]  __synchronize_srcu+0x9e/0x2b0
[   75.725121][  T477]  ? __pfx___synchronize_srcu+0x10/0x10
[   75.725278][  T477]  ? hlock_class+0x4e/0x130
[   75.725436][  T477]  ? mark_lock+0x38/0x3e0
[   75.725559][  T477]  ? kvm_clock_get_cycles+0x18/0x30
[   75.725721][  T477]  ? ktime_get_mono_fast_ns+0x84/0x360
[   75.725900][  T477]  ? lockdep_hardirqs_on_prepare+0x275/0x410
[   75.726104][  T477]  __rtnl_link_unregister+0x14a/0x380
[   75.726268][  T477]  ? mark_lock+0x38/0x3e0
[   75.726392][  T477]  ? __pfx___rtnl_link_unregister+0x10/0x10
[   75.726603][  T477]  ? mark_held_locks+0x9e/0xe0
[   75.726780][  T477]  rtnl_link_unregister+0x14c/0x1c0
[   75.726948][  T477]  ? __pfx_rtnl_link_unregister+0x10/0x10
[   75.727109][  T477]  ? __pfx_woken_wake_function+0x10/0x10
[   75.727265][  T477]  nsim_module_exit+0x10/0x1a [netdevsim]
[   75.727429][  T477]  __do_sys_delete_module+0x2bd/0x470
[   75.727587][  T477]  ? __pfx___do_sys_delete_module+0x10/0x10
[   75.727781][  T477]  ? __pfx_slab_free_after_rcu_debug+0x10/0x10
[   75.727976][  T477]  ? __pfx_slab_free_after_rcu_debug+0x10/0x10
[   75.728172][  T477]  ? trace_rcu_segcb_stats+0x37/0x1e0
[   75.728326][  T477]  ? __pfx_slab_free_after_rcu_debug+0x10/0x10
[   75.728520][  T477]  ? lockdep_hardirqs_on_prepare+0x275/0x410
[   75.728715][  T477]  do_syscall_64+0xc1/0x1d0
[   75.728879][  T477]  entry_SYSCALL_64_after_hwframe+0x77/0x7f
[   75.729070][  T477] RIP: 0033:0x7fc6f9fde5ab
[   75.729227][  T477] 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
[   75.729817][  T477] RSP: 002b:00007ffe6ef01a58 EFLAGS: 00000206 ORIG_RAX: 00000000000000b0
[   75.730063][  T477] RAX: ffffffffffffffda RBX: 0000564c5e47fab0 RCX: 00007fc6f9fde5ab
[   75.730301][  T477] RDX: 0000000000000000 RSI: 0000000000000800 RDI: 0000564c5e47fb18
[   75.730536][  T477] RBP: 0000564c5e47fab0 R08: 0000000000000000 R09: 0000000000000000
[   75.730778][  T477] R10: 00007fc6fa13dac0 R11: 0000000000000206 R12: 0000564c5e47fb18
[   75.731024][  T477] R13: 0000000000000000 R14: 0000564c5e47fb18 R15: 00007ffe6ef03d88
[   75.731255][  T477]  </TASK>