[ 120.223512][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 120.224040][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 120.224489][ C0] preempt_count: 101, expected: 0 [ 120.224747][ C0] RCU nest depth: 0, expected: 0 [ 120.225018][ C0] INFO: lockdep is turned off. [ 120.225288][ C0] Preemption disabled at: [ 120.225290][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 120.225945][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 120.225953][ C0] Tainted: [W]=WARN [ 120.225955][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 120.225957][ C0] Call Trace: [ 120.225959][ C0] [ 120.225961][ C0] dump_stack_lvl+0xb0/0xd0 [ 120.225970][ C0] __might_resched+0x360/0x5a0 [ 120.225980][ C0] down_write+0x72/0x210 [ 120.225985][ C0] ? __pfx_down_write+0x10/0x10 [ 120.225987][ C0] ? simple_recursive_removal+0x3a/0x860 [ 120.225995][ C0] ? rcu_is_watching+0x12/0xc0 [ 120.226001][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 120.226009][ C0] simple_recursive_removal+0x166/0x860 [ 120.226012][ C0] ? __pfx_remove_one+0x10/0x10 [ 120.226019][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 120.226027][ C0] debugfs_remove+0x44/0x70 [ 120.226031][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 120.226041][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 120.226046][ C0] ? __sk_destruct+0x383/0x780 [ 120.226055][ C0] ? call_timer_fn+0x13d/0x220 [ 120.226062][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 120.226067][ C0] ? tmigr_handle_remote_up+0x1a6/0x270 [ 120.226074][ C0] ? __walk_groups.isra.0+0x47/0x160 [ 120.226078][ C0] ? tmigr_handle_remote+0x247/0x350 [ 120.226083][ C0] ? handle_softirqs+0x218/0x620 [ 120.226092][ C0] ? __irq_exit_rcu+0xfa/0x160 [ 120.226096][ C0] ? irq_exit_rcu+0xe/0x30 [ 120.226101][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 120.226107][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 120.226114][ C0] ? pv_native_safe_halt+0xf/0x20 [ 120.226119][ C0] ? default_idle+0x9/0x10 [ 120.226123][ C0] ? default_idle_call+0x6d/0xb0 [ 120.226127][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 120.226133][ C0] ? rcu_is_watching+0x12/0xc0 [ 120.226140][ C0] __put_net+0x19/0x60 [ 120.226147][ C0] __sk_destruct+0x58a/0x780 [ 120.226153][ C0] ? __pfx_tcp_write_timer+0x10/0x10 [ 120.226160][ C0] call_timer_fn+0x13d/0x220 [ 120.226166][ C0] ? call_timer_fn+0xe7/0x220 [ 120.226171][ C0] ? call_timer_fn+0xe7/0x220 [ 120.226176][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 120.226182][ C0] ? do_raw_spin_lock+0x130/0x270 [ 120.226192][ C0] ? rcu_is_watching+0x12/0xc0 [ 120.226200][ C0] __run_timers+0x543/0x810 [ 120.226205][ C0] ? __pfx_tcp_write_timer+0x10/0x10 [ 120.226214][ C0] ? __pfx___run_timers+0x10/0x10 [ 120.226222][ C0] ? do_raw_spin_lock+0x130/0x270 [ 120.226226][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 120.226230][ C0] ? lock_acquire+0x10c/0x170 [ 120.226233][ C0] ? timer_expire_remote+0x96/0xf0 [ 120.226237][ C0] timer_expire_remote+0x9e/0xf0 [ 120.226242][ C0] tmigr_handle_remote_cpu+0x274/0x440 [ 120.226249][ C0] ? __pfx_tmigr_handle_remote_cpu+0x10/0x10 [ 120.226253][ C0] ? call_timer_fn+0xe7/0x220 [ 120.226258][ C0] ? call_timer_fn+0xe7/0x220 [ 120.226263][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 120.226268][ C0] ? do_raw_spin_lock+0x130/0x270 [ 120.226272][ C0] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 120.226278][ C0] ? rcu_is_watching+0x12/0xc0 [ 120.226284][ C0] tmigr_handle_remote_up+0x1a6/0x270 [ 120.226292][ C0] ? __pfx_tmigr_handle_remote_up+0x10/0x10 [ 120.226298][ C0] __walk_groups.isra.0+0x47/0x160 [ 120.226307][ C0] tmigr_handle_remote+0x247/0x350 [ 120.226312][ C0] ? __pfx_tmigr_handle_remote+0x10/0x10 [ 120.226318][ C0] ? do_raw_spin_lock+0x130/0x270 [ 120.226324][ C0] ? spin_bug+0x1c1/0x1d0 [ 120.226329][ C0] ? lock_acquire+0x10c/0x170 [ 120.226335][ C0] ? rcu_is_watching+0x12/0xc0 [ 120.226344][ C0] handle_softirqs+0x218/0x620 [ 120.226354][ C0] __irq_exit_rcu+0xfa/0x160 [ 120.226359][ C0] irq_exit_rcu+0xe/0x30 [ 120.226363][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 120.226368][ C0] [ 120.226370][ C0] [ 120.226373][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 120.226377][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 120.226383][ C0] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 120.226387][ C0] RSP: 0018:ffffffff9a807df8 EFLAGS: 00000246 [ 120.226393][ C0] RAX: 0000000000000000 RBX: 1ffffffff3500fc3 RCX: ffffffff99b6ea19 [ 120.226396][ C0] RDX: ffffed1005e8667b RSI: ffffffff99e51320 RDI: ffffffff9738733f [ 120.226399][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005e8667a [ 120.226402][ C0] R10: ffff88802f4333d3 R11: ffff88802f427f4c R12: 0000000000000000 [ 120.226406][ C0] R13: ffffffff9a81f240 R14: dffffc0000000000 R15: 0000000000014770 [ 120.226413][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 120.226421][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 120.226428][ C0] default_idle+0x9/0x10 [ 120.226432][ C0] default_idle_call+0x6d/0xb0 [ 120.226436][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 120.226442][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 120.226449][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 120.226458][ C0] do_idle+0xf6/0x160 [ 120.226464][ C0] cpu_startup_entry+0x54/0x60 [ 120.226469][ C0] rest_init+0x14b/0x260 [ 120.226475][ C0] start_kernel+0x350/0x410 [ 120.226487][ C0] x86_64_start_reservations+0x18/0x30 [ 120.226493][ C0] x86_64_start_kernel+0xba/0x110 [ 120.226498][ C0] common_startup_64+0x13e/0x148 [ 120.226514][ C0]