[ 120.216885][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 120.217396][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 120.217749][ C2] preempt_count: 101, expected: 0 [ 120.217963][ C2] RCU nest depth: 0, expected: 0 [ 120.218424][ C2] INFO: lockdep is turned off. [ 120.218634][ C2] Preemption disabled at: [ 120.218635][ C2] [<0000000000000000>] 0x0 [ 120.219002][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 120.219009][ C2] Tainted: [W]=WARN [ 120.219010][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 120.219012][ C2] Call Trace: [ 120.219014][ C2] [ 120.219017][ C2] dump_stack_lvl+0xb0/0xd0 [ 120.219024][ C2] __might_resched+0x360/0x5a0 [ 120.219033][ C2] down_write+0x72/0x210 [ 120.219038][ C2] ? __pfx_down_write+0x10/0x10 [ 120.219040][ C2] ? simple_recursive_removal+0x33/0x610 [ 120.219046][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.219052][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 120.219056][ C2] simple_recursive_removal+0x6a/0x610 [ 120.219059][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 120.219062][ C2] ? __pfx_remove_one+0x10/0x10 [ 120.219068][ C2] debugfs_remove+0x44/0x70 [ 120.219071][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 120.219076][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 120.219079][ C2] ? __sk_destruct+0x383/0x780 [ 120.219084][ C2] ? call_timer_fn+0x13d/0x220 [ 120.219089][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 120.219092][ C2] ? handle_softirqs+0x218/0x620 [ 120.219097][ C2] ? __irq_exit_rcu+0xfa/0x160 [ 120.219100][ C2] ? irq_exit_rcu+0xe/0x30 [ 120.219103][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 120.219108][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 120.219112][ C2] ? pv_native_safe_halt+0xf/0x20 [ 120.219115][ C2] ? default_idle+0x9/0x10 [ 120.219118][ C2] ? default_idle_call+0x6d/0xb0 [ 120.219120][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 120.219124][ C2] ? do_idle+0xf6/0x160 [ 120.219127][ C2] ? cpu_startup_entry+0x54/0x60 [ 120.219130][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 120.219134][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.219139][ C2] __put_net+0x19/0x60 [ 120.219143][ C2] __sk_destruct+0x58a/0x780 [ 120.219147][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 120.219151][ C2] call_timer_fn+0x13d/0x220 [ 120.219154][ C2] ? call_timer_fn+0xe7/0x220 [ 120.219157][ C2] ? call_timer_fn+0xe7/0x220 [ 120.219160][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 120.219162][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.219167][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 120.219170][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.219174][ C2] __run_timers+0x543/0x810 [ 120.219178][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 120.219183][ C2] ? __pfx___run_timers+0x10/0x10 [ 120.219186][ C2] ? trace_lock_release+0x2a/0xd0 [ 120.219190][ C2] ? lock_release+0x13/0xc0 [ 120.219194][ C2] ? do_raw_spin_lock+0x130/0x270 [ 120.219197][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 120.219199][ C2] ? lock_acquire+0x10c/0x170 [ 120.219202][ C2] ? run_timer_base+0xab/0x110 [ 120.219207][ C2] run_timer_base+0xb3/0x110 [ 120.219210][ C2] run_timer_softirq+0x1a/0x30 [ 120.219213][ C2] handle_softirqs+0x218/0x620 [ 120.219218][ C2] __irq_exit_rcu+0xfa/0x160 [ 120.219222][ C2] irq_exit_rcu+0xe/0x30 [ 120.219225][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 120.219228][ C2] [ 120.219229][ C2] [ 120.219231][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 120.219234][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 120.219238][ C2] Code: 92 b4 00 c3 cc cc cc cc 0f 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 66 90 0f 00 2d 83 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 120.219241][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 120.219244][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff973a35d9 [ 120.219246][ C2] RDX: ffffed1006c266fb RSI: ffffffff97653c20 RDI: ffffffff94b8e18f [ 120.219248][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 120.219249][ C2] R10: ffff8880361337d3 R11: ffff88803612834c R12: 0000000000000000 [ 120.219251][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 120.219255][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 120.219258][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 120.219262][ C2] default_idle+0x9/0x10 [ 120.219265][ C2] default_idle_call+0x6d/0xb0 [ 120.219267][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 120.219271][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 120.219275][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 120.219281][ C2] do_idle+0xf6/0x160 [ 120.219284][ C2] cpu_startup_entry+0x54/0x60 [ 120.219287][ C2] start_secondary+0x213/0x2a0 [ 120.219291][ C2] ? __pfx_start_secondary+0x10/0x10 [ 120.219296][ C2] common_startup_64+0x13e/0x148 [ 120.219305][ C2]