[ 15.892543][ C2] [ 15.892759][ C2] ================================ [ 15.892948][ C2] WARNING: inconsistent lock state [ 15.893135][ C2] 6.15.0-virtme #1 Not tainted [ 15.893320][ C2] -------------------------------- [ 15.893506][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.893738][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.893969][ C2] ffffffffaa9c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.894302][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.894486][ C2] __lock_acquire+0x20b/0x7e0 [ 15.894677][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.894865][ C2] _raw_spin_lock+0x33/0x40 [ 15.895058][ C2] simple_pin_fs+0x24/0x150 [ 15.895248][ C2] start_creating.part.0+0x52/0x310 [ 15.895436][ C2] debugfs_create_dir+0x6a/0x540 [ 15.895633][ C2] component_debug_init+0x17/0x30 [ 15.895826][ C2] do_one_initcall+0x8f/0x1e0 [ 15.896017][ C2] do_initcalls+0x176/0x280 [ 15.896200][ C2] kernel_init_freeable+0x22d/0x300 [ 15.896389][ C2] kernel_init+0x20/0x200 [ 15.896578][ C2] ret_from_fork+0x240/0x320 [ 15.896767][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.896954][ C2] irq event stamp: 258342 [ 15.897098][ C2] hardirqs last enabled at (258342): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.897472][ C2] hardirqs last disabled at (258341): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.897846][ C2] softirqs last enabled at (257312): [] handle_softirqs+0x358/0x620 [ 15.898175][ C2] softirqs last disabled at (257325): [] __irq_exit_rcu+0xfa/0x160 [ 15.898510][ C2] [ 15.898510][ C2] other info that might help us debug this: [ 15.898788][ C2] Possible unsafe locking scenario: [ 15.898788][ C2] [ 15.899062][ C2] CPU0 [ 15.899202][ C2] ---- [ 15.899341][ C2] lock(pin_fs_lock); [ 15.899486][ C2] [ 15.899629][ C2] lock(pin_fs_lock); [ 15.899774][ C2] [ 15.899774][ C2] *** DEADLOCK *** [ 15.899774][ C2] [ 15.900047][ C2] 1 lock held by swapper/2/0: [ 15.900240][ C2] #0: ffffffffaa7774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.900579][ C2] [ 15.900579][ C2] stack backtrace: [ 15.900808][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.900813][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.900815][ C2] Call Trace: [ 15.900817][ C2] [ 15.900819][ C2] dump_stack_lvl+0x82/0xd0 [ 15.900825][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.900830][ C2] mark_lock_irq+0x343/0x400 [ 15.900834][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.900839][ C2] ? save_trace+0x52/0x170 [ 15.900846][ C2] mark_lock+0x174/0x2f0 [ 15.900849][ C2] mark_usage+0x46/0x150 [ 15.900852][ C2] __lock_acquire+0x20b/0x7e0 [ 15.900855][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.900859][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.900862][ C2] ? simple_pin_fs+0x24/0x150 [ 15.900866][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.900871][ C2] ? lock_acquire+0x10c/0x170 [ 15.900873][ C2] ? simple_pin_fs+0x24/0x150 [ 15.900878][ C2] _raw_spin_lock+0x33/0x40 [ 15.900881][ C2] ? simple_pin_fs+0x24/0x150 [ 15.900885][ C2] simple_pin_fs+0x24/0x150 [ 15.900889][ C2] debugfs_remove+0x35/0x70 [ 15.900892][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.900898][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.900901][ C2] ? __sk_destruct+0x383/0x780 [ 15.900907][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.900909][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.900913][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.900915][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.900921][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.900924][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.900928][ C2] ? default_idle+0x9/0x10 [ 15.900930][ C2] ? default_idle_call+0x6d/0xb0 [ 15.900933][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.900936][ C2] ? do_idle+0xf6/0x160 [ 15.900938][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.900941][ C2] ? start_secondary+0x213/0x2a0 [ 15.900944][ C2] ? common_startup_64+0x13e/0x148 [ 15.900952][ C2] __put_net+0x19/0x60 [ 15.900956][ C2] __sk_destruct+0x58a/0x780 [ 15.900960][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.900962][ C2] rcu_do_batch+0x34c/0xf20 [ 15.900965][ C2] ? find_held_lock+0x2b/0x80 [ 15.900970][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.900973][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.900977][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.900980][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.900984][ C2] rcu_core+0x2bb/0x500 [ 15.900989][ C2] handle_softirqs+0x218/0x620 [ 15.900994][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.900997][ C2] irq_exit_rcu+0xe/0x30 [ 15.901000][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.901004][ C2] [ 15.901005][ C2] [ 15.901006][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.901009][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.901013][ C2] Code: 92 b5 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 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.901016][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.901019][ C2] RAX: 000000000003ed2b RBX: 1ffff92000028fc1 RCX: ffffffffa97905d9 [ 15.901021][ C2] RDX: 0000000000000000 RSI: ffffffffaa28f4e4 RDI: ffffffffa9a53be0 [ 15.901023][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.901025][ C2] R10: ffff8880361337d3 R11: ffffffffaa411288 R12: 0000000000000000 [ 15.901027][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.901031][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.901035][ C2] default_idle+0x9/0x10 [ 15.901038][ C2] default_idle_call+0x6d/0xb0 [ 15.901040][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.901043][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.901047][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.901052][ C2] do_idle+0xf6/0x160 [ 15.901055][ C2] cpu_startup_entry+0x54/0x60 [ 15.901058][ C2] start_secondary+0x213/0x2a0 [ 15.901061][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.901065][ C2] common_startup_64+0x13e/0x148 [ 15.901072][ C2] [ 15.916768][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.917092][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.917511][ C2] preempt_count: 101, expected: 0 [ 15.917710][ C2] RCU nest depth: 0, expected: 0 [ 15.917899][ C2] INFO: lockdep is turned off. [ 15.918194][ C2] Preemption disabled at: [ 15.918196][ C2] [<0000000000000000>] 0x0 [ 15.918531][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.918535][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.918537][ C2] Call Trace: [ 15.918539][ C2] [ 15.918541][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.918548][ C2] __might_resched+0x360/0x5a0 [ 15.918556][ C2] down_write+0x72/0x210 [ 15.918560][ C2] ? __pfx_down_write+0x10/0x10 [ 15.918566][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.918570][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.918575][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.918580][ C2] simple_recursive_removal+0x6a/0x610 [ 15.918583][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.918586][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.918592][ C2] debugfs_remove+0x44/0x70 [ 15.918595][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.918600][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.918604][ C2] ? __sk_destruct+0x383/0x780 [ 15.918609][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.918612][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.918615][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.918619][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.918624][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.918627][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.918630][ C2] ? default_idle+0x9/0x10 [ 15.918633][ C2] ? default_idle_call+0x6d/0xb0 [ 15.918636][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.918639][ C2] ? do_idle+0xf6/0x160 [ 15.918641][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.918644][ C2] ? start_secondary+0x213/0x2a0 [ 15.918647][ C2] ? common_startup_64+0x13e/0x148 [ 15.918654][ C2] __put_net+0x19/0x60 [ 15.918658][ C2] __sk_destruct+0x58a/0x780 [ 15.918662][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.918664][ C2] rcu_do_batch+0x34c/0xf20 [ 15.918668][ C2] ? find_held_lock+0x2b/0x80 [ 15.918673][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.918676][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.918680][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.918683][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.918688][ C2] rcu_core+0x2bb/0x500 [ 15.918692][ C2] handle_softirqs+0x218/0x620 [ 15.918697][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.918700][ C2] irq_exit_rcu+0xe/0x30 [ 15.918703][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.918707][ C2] [ 15.918708][ C2] [ 15.918710][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.918712][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.918716][ C2] Code: 92 b5 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 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.918719][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.918722][ C2] RAX: 000000000003ed2b RBX: 1ffff92000028fc1 RCX: ffffffffa97905d9 [ 15.918724][ C2] RDX: 0000000000000000 RSI: ffffffffaa28f4e4 RDI: ffffffffa9a53be0 [ 15.918726][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.918727][ C2] R10: ffff8880361337d3 R11: ffffffffaa411288 R12: 0000000000000000 [ 15.918729][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.918733][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.918737][ C2] default_idle+0x9/0x10 [ 15.918740][ C2] default_idle_call+0x6d/0xb0 [ 15.918743][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.918746][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.918750][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.918754][ C2] do_idle+0xf6/0x160 [ 15.918757][ C2] cpu_startup_entry+0x54/0x60 [ 15.918760][ C2] start_secondary+0x213/0x2a0 [ 15.918763][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.918768][ C2] common_startup_64+0x13e/0x148 [ 15.918775][ C2] [ 18.234835][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.235252][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 18.235572][ C3] preempt_count: 101, expected: 0 [ 18.235754][ C3] RCU nest depth: 0, expected: 0 [ 18.235930][ C3] INFO: lockdep is turned off. [ 18.236104][ C3] Preemption disabled at: [ 18.236106][ C3] [<0000000000000000>] 0x0 [ 18.236415][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.236421][ C3] Tainted: [W]=WARN [ 18.236422][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.236424][ C3] Call Trace: [ 18.236426][ C3] [ 18.236428][ C3] dump_stack_lvl+0xb0/0xd0 [ 18.236437][ C3] __might_resched+0x360/0x5a0 [ 18.236444][ C3] down_write+0x72/0x210 [ 18.236449][ C3] ? __pfx_down_write+0x10/0x10 [ 18.236452][ C3] ? simple_recursive_removal+0x33/0x610 [ 18.236456][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.236461][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.236467][ C3] simple_recursive_removal+0x6a/0x610 [ 18.236470][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.236474][ C3] ? __pfx_remove_one+0x10/0x10 [ 18.236479][ C3] debugfs_remove+0x44/0x70 [ 18.236482][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 18.236488][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.236491][ C3] ? __sk_destruct+0x383/0x780 [ 18.236497][ C3] ? rcu_do_batch+0x34c/0xf20 [ 18.236500][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.236503][ C3] ? irq_exit_rcu+0xe/0x30 [ 18.236508][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.236513][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.236517][ C3] ? pv_native_safe_halt+0xf/0x20 [ 18.236520][ C3] ? default_idle+0x9/0x10 [ 18.236523][ C3] ? default_idle_call+0x6d/0xb0 [ 18.236525][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.236529][ C3] ? do_idle+0xf6/0x160 [ 18.236531][ C3] ? cpu_startup_entry+0x54/0x60 [ 18.236533][ C3] ? start_secondary+0x213/0x2a0 [ 18.236537][ C3] ? common_startup_64+0x13e/0x148 [ 18.236542][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.236547][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.236551][ C3] __put_net+0x19/0x60 [ 18.236555][ C3] __sk_destruct+0x58a/0x780 [ 18.236559][ C3] ? rcu_do_batch+0x34a/0xf20 [ 18.236565][ C3] rcu_do_batch+0x34c/0xf20 [ 18.236569][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.236573][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.236578][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.236584][ C3] rcu_core+0x2bb/0x500 [ 18.236588][ C3] handle_softirqs+0x218/0x620 [ 18.236594][ C3] __irq_exit_rcu+0xfa/0x160 [ 18.236597][ C3] irq_exit_rcu+0xe/0x30 [ 18.236600][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.236603][ C3] [ 18.236605][ C3] [ 18.236606][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.236609][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.236614][ C3] Code: 92 b5 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 37 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 18.236616][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 18.236620][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa97905d9 [ 18.236622][ C3] RDX: ffffed1006c366fb RSI: ffffffffa9a53b60 RDI: ffffffffa6f8d18f [ 18.236624][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 18.236625][ C3] R10: ffff8880361b37d3 R11: ffffffffad050d88 R12: 0000000000000000 [ 18.236627][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 18.236631][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.236634][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.236638][ C3] default_idle+0x9/0x10 [ 18.236640][ C3] default_idle_call+0x6d/0xb0 [ 18.236643][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 18.236646][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.236650][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.236654][ C3] do_idle+0xf6/0x160 [ 18.236657][ C3] cpu_startup_entry+0x54/0x60 [ 18.236660][ C3] start_secondary+0x213/0x2a0 [ 18.236663][ C3] ? __pfx_start_secondary+0x10/0x10 [ 18.236668][ C3] common_startup_64+0x13e/0x148 [ 18.236674][ C3]