[ 120.229882][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 120.230554][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 120.231119][ C2] preempt_count: 101, expected: 0 [ 120.231436][ C2] RCU nest depth: 0, expected: 0 [ 120.231764][ C2] INFO: lockdep is turned off. [ 120.232013][ C2] Preemption disabled at: [ 120.232015][ C2] [<0000000000000000>] 0x0 [ 120.232387][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 120.232394][ C2] Tainted: [W]=WARN [ 120.232395][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 120.232397][ C2] Call Trace: [ 120.232399][ C2] [ 120.232402][ C2] dump_stack_lvl+0xb0/0xd0 [ 120.232410][ C2] __might_resched+0x360/0x5a0 [ 120.232418][ C2] down_write+0x72/0x210 [ 120.232422][ C2] ? __pfx_down_write+0x10/0x10 [ 120.232425][ C2] ? simple_recursive_removal+0x33/0x610 [ 120.232430][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.232436][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 120.232440][ C2] simple_recursive_removal+0x6a/0x610 [ 120.232443][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 120.232446][ C2] ? __pfx_remove_one+0x10/0x10 [ 120.232451][ C2] debugfs_remove+0x44/0x70 [ 120.232455][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 120.232459][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 120.232462][ C2] ? __sk_destruct+0x383/0x780 [ 120.232467][ C2] ? call_timer_fn+0x13d/0x220 [ 120.232472][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 120.232475][ C2] ? handle_softirqs+0x218/0x620 [ 120.232480][ C2] ? __irq_exit_rcu+0xfa/0x160 [ 120.232483][ C2] ? irq_exit_rcu+0xe/0x30 [ 120.232486][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 120.232491][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 120.232496][ C2] ? pv_native_safe_halt+0xf/0x20 [ 120.232499][ C2] ? default_idle+0x9/0x10 [ 120.232502][ C2] ? default_idle_call+0x6d/0xb0 [ 120.232505][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 120.232509][ C2] ? do_idle+0xf6/0x160 [ 120.232511][ C2] ? cpu_startup_entry+0x54/0x60 [ 120.232514][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 120.232518][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.232523][ C2] __put_net+0x19/0x60 [ 120.232527][ C2] __sk_destruct+0x58a/0x780 [ 120.232531][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 120.232536][ C2] call_timer_fn+0x13d/0x220 [ 120.232538][ C2] ? call_timer_fn+0xe7/0x220 [ 120.232541][ C2] ? call_timer_fn+0xe7/0x220 [ 120.232544][ C2] ? __pfx_call_timer_fn+0x10/0x10 [ 120.232546][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.232550][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 120.232554][ C2] ? rcu_is_watching+0x12/0xc0 [ 120.232558][ C2] __run_timers+0x543/0x810 [ 120.232562][ C2] ? __pfx_tcp_write_timer+0x10/0x10 [ 120.232566][ C2] ? __pfx___run_timers+0x10/0x10 [ 120.232569][ C2] ? trace_lock_release+0x2a/0xd0 [ 120.232572][ C2] ? lock_release+0x13/0xc0 [ 120.232576][ C2] ? do_raw_spin_lock+0x130/0x270 [ 120.232578][ C2] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 120.232581][ C2] ? lock_acquire+0x10c/0x170 [ 120.232584][ C2] ? run_timer_base+0xab/0x110 [ 120.232588][ C2] run_timer_base+0xb3/0x110 [ 120.232591][ C2] run_timer_softirq+0x1a/0x30 [ 120.232594][ C2] handle_softirqs+0x218/0x620 [ 120.232600][ C2] __irq_exit_rcu+0xfa/0x160 [ 120.232603][ C2] irq_exit_rcu+0xe/0x30 [ 120.232606][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 120.232609][ C2] [ 120.232610][ C2] [ 120.232612][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 120.232615][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 120.232619][ C2] Code: a2 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 17 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.232621][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 120.232625][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa7fa25d9 [ 120.232627][ C2] RDX: ffffed1006c266fb RSI: ffffffffa8253c20 RDI: ffffffffa578e18f [ 120.232629][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 120.232630][ C2] R10: ffff8880361337d3 R11: ffffffffab8d9b60 R12: 0000000000000000 [ 120.232632][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 120.232636][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 120.232639][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 120.232643][ C2] default_idle+0x9/0x10 [ 120.232645][ C2] default_idle_call+0x6d/0xb0 [ 120.232648][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 120.232651][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 120.232655][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 120.232660][ C2] do_idle+0xf6/0x160 [ 120.232664][ C2] cpu_startup_entry+0x54/0x60 [ 120.232667][ C2] start_secondary+0x213/0x2a0 [ 120.232670][ C2] ? __pfx_start_secondary+0x10/0x10 [ 120.232675][ C2] common_startup_64+0x13e/0x148 [ 120.232683][ C2]