[ 14.942611][ C3] [ 14.942748][ C3] ================================ [ 14.942933][ C3] WARNING: inconsistent lock state [ 14.943122][ C3] 6.15.0-virtme #1 Not tainted [ 14.943306][ C3] -------------------------------- [ 14.943484][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.943712][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.943940][ C3] ffffffffa8dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.944271][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.944453][ C3] __lock_acquire+0x20b/0x7e0 [ 14.944643][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.944830][ C3] _raw_spin_lock+0x33/0x40 [ 14.945018][ C3] simple_pin_fs+0x24/0x150 [ 14.945210][ C3] start_creating.part.0+0x52/0x310 [ 14.945401][ C3] debugfs_create_dir+0x6a/0x540 [ 14.945585][ C3] component_debug_init+0x17/0x30 [ 14.945773][ C3] do_one_initcall+0x8f/0x1e0 [ 14.945962][ C3] do_initcalls+0x176/0x280 [ 14.946145][ C3] kernel_init_freeable+0x22d/0x300 [ 14.946328][ C3] kernel_init+0x20/0x200 [ 14.946511][ C3] ret_from_fork+0x240/0x320 [ 14.946698][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.946877][ C3] irq event stamp: 290190 [ 14.947015][ C3] hardirqs last enabled at (290190): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.947378][ C3] hardirqs last disabled at (290189): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.947739][ C3] softirqs last enabled at (289592): [] handle_softirqs+0x358/0x620 [ 14.948055][ C3] softirqs last disabled at (289617): [] __irq_exit_rcu+0xfa/0x160 [ 14.948373][ C3] [ 14.948373][ C3] other info that might help us debug this: [ 14.948638][ C3] Possible unsafe locking scenario: [ 14.948638][ C3] [ 14.948904][ C3] CPU0 [ 14.949039][ C3] ---- [ 14.949173][ C3] lock(pin_fs_lock); [ 14.949309][ C3] [ 14.949450][ C3] lock(pin_fs_lock); [ 14.949590][ C3] [ 14.949590][ C3] *** DEADLOCK *** [ 14.949590][ C3] [ 14.949858][ C3] 1 lock held by swapper/3/0: [ 14.950041][ C3] #0: ffffffffa8b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.950368][ C3] [ 14.950368][ C3] stack backtrace: [ 14.950597][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.950601][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.950604][ C3] Call Trace: [ 14.950606][ C3] [ 14.950608][ C3] dump_stack_lvl+0x82/0xd0 [ 14.950616][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.950620][ C3] mark_lock_irq+0x343/0x400 [ 14.950625][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.950631][ C3] ? save_trace+0x52/0x170 [ 14.950637][ C3] mark_lock+0x174/0x2f0 [ 14.950641][ C3] mark_usage+0x46/0x150 [ 14.950644][ C3] __lock_acquire+0x20b/0x7e0 [ 14.950647][ C3] ? __lock_acquire+0x44d/0x7e0 [ 14.950651][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.950654][ C3] ? simple_pin_fs+0x24/0x150 [ 14.950658][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.950663][ C3] ? lock_acquire+0x10c/0x170 [ 14.950666][ C3] ? simple_pin_fs+0x24/0x150 [ 14.950670][ C3] _raw_spin_lock+0x33/0x40 [ 14.950673][ C3] ? simple_pin_fs+0x24/0x150 [ 14.950676][ C3] simple_pin_fs+0x24/0x150 [ 14.950680][ C3] debugfs_remove+0x35/0x70 [ 14.950683][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.950691][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.950695][ C3] ? __sk_destruct+0x383/0x780 [ 14.950703][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.950706][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.950709][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.950712][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.950718][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.950722][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.950725][ C3] ? default_idle+0x9/0x10 [ 14.950728][ C3] ? default_idle_call+0x6d/0xb0 [ 14.950730][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.950735][ C3] ? do_idle+0xf6/0x160 [ 14.950737][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.950740][ C3] ? start_secondary+0x213/0x2a0 [ 14.950744][ C3] ? common_startup_64+0x13e/0x148 [ 14.950753][ C3] __put_net+0x19/0x60 [ 14.950758][ C3] __sk_destruct+0x58a/0x780 [ 14.950762][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.950764][ C3] rcu_do_batch+0x34c/0xf20 [ 14.950767][ C3] ? find_held_lock+0x2b/0x80 [ 14.950771][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.950774][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.950778][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.950781][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.950786][ C3] rcu_core+0x2bb/0x500 [ 14.950790][ C3] handle_softirqs+0x218/0x620 [ 14.950795][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.950798][ C3] irq_exit_rcu+0xe/0x30 [ 14.950801][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.950804][ C3] [ 14.950805][ C3] [ 14.950807][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.950809][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.950813][ C3] Code: a2 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 47 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 [ 14.950816][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.950819][ C3] RAX: 0000000000046b4f RBX: 1ffff9200002afc1 RCX: ffffffffa7b8f5d9 [ 14.950821][ C3] RDX: 0000000000000000 RSI: ffffffffa868f4e4 RDI: ffffffffa7e53be0 [ 14.950823][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.950824][ C3] R10: ffff8880361b37d3 R11: ffffffffa8811288 R12: 0000000000000000 [ 14.950826][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.950829][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.950834][ C3] default_idle+0x9/0x10 [ 14.950837][ C3] default_idle_call+0x6d/0xb0 [ 14.950839][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.950842][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.950846][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.950851][ C3] do_idle+0xf6/0x160 [ 14.950854][ C3] cpu_startup_entry+0x54/0x60 [ 14.950857][ C3] start_secondary+0x213/0x2a0 [ 14.950860][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.950864][ C3] common_startup_64+0x13e/0x148 [ 14.950871][ C3] [ 14.965674][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.965971][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.966283][ C3] preempt_count: 101, expected: 0 [ 14.966456][ C3] RCU nest depth: 0, expected: 0 [ 14.966634][ C3] INFO: lockdep is turned off. [ 14.966809][ C3] Preemption disabled at: [ 14.966810][ C3] [<0000000000000000>] 0x0 [ 14.967112][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.967116][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.967118][ C3] Call Trace: [ 14.967119][ C3] [ 14.967121][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.967127][ C3] __might_resched+0x360/0x5a0 [ 14.967135][ C3] down_write+0x72/0x210 [ 14.967139][ C3] ? __pfx_down_write+0x10/0x10 [ 14.967142][ C3] ? simple_recursive_removal+0x33/0x610 [ 14.967145][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.967151][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.967156][ C3] simple_recursive_removal+0x6a/0x610 [ 14.967159][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.967162][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.967167][ C3] debugfs_remove+0x44/0x70 [ 14.967170][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.967175][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.967178][ C3] ? __sk_destruct+0x383/0x780 [ 14.967182][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.967185][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.967188][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.967191][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.967196][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.967199][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.967202][ C3] ? default_idle+0x9/0x10 [ 14.967205][ C3] ? default_idle_call+0x6d/0xb0 [ 14.967207][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.967211][ C3] ? do_idle+0xf6/0x160 [ 14.967213][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.967216][ C3] ? start_secondary+0x213/0x2a0 [ 14.967219][ C3] ? common_startup_64+0x13e/0x148 [ 14.967224][ C3] __put_net+0x19/0x60 [ 14.967228][ C3] __sk_destruct+0x58a/0x780 [ 14.967232][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.967234][ C3] rcu_do_batch+0x34c/0xf20 [ 14.967237][ C3] ? find_held_lock+0x2b/0x80 [ 14.967242][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.967246][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.967250][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.967253][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.967257][ C3] rcu_core+0x2bb/0x500 [ 14.967262][ C3] handle_softirqs+0x218/0x620 [ 14.967267][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.967270][ C3] irq_exit_rcu+0xe/0x30 [ 14.967272][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.967276][ C3] [ 14.967277][ C3] [ 14.967279][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.967281][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.967285][ C3] Code: a2 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 47 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 [ 14.967287][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 14.967290][ C3] RAX: 0000000000046b4f RBX: 1ffff9200002afc1 RCX: ffffffffa7b8f5d9 [ 14.967292][ C3] RDX: 0000000000000000 RSI: ffffffffa868f4e4 RDI: ffffffffa7e53be0 [ 14.967293][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.967295][ C3] R10: ffff8880361b37d3 R11: ffffffffa8811288 R12: 0000000000000000 [ 14.967297][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.967300][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.967305][ C3] default_idle+0x9/0x10 [ 14.967307][ C3] default_idle_call+0x6d/0xb0 [ 14.967310][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.967313][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.967316][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.967320][ C3] do_idle+0xf6/0x160 [ 14.967324][ C3] cpu_startup_entry+0x54/0x60 [ 14.967326][ C3] start_secondary+0x213/0x2a0 [ 14.967329][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.967334][ C3] common_startup_64+0x13e/0x148 [ 14.967340][ C3] [ 16.705407][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.705792][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.706130][ C2] preempt_count: 101, expected: 0 [ 16.706316][ C2] RCU nest depth: 0, expected: 0 [ 16.706507][ C2] INFO: lockdep is turned off. [ 16.706694][ C2] Preemption disabled at: [ 16.706696][ C2] [<0000000000000000>] 0x0 [ 16.707052][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.707057][ C2] Tainted: [W]=WARN [ 16.707059][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.707060][ C2] Call Trace: [ 16.707062][ C2] [ 16.707064][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.707074][ C2] __might_resched+0x360/0x5a0 [ 16.707081][ C2] down_write+0x72/0x210 [ 16.707086][ C2] ? __pfx_down_write+0x10/0x10 [ 16.707089][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.707093][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.707098][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.707104][ C2] simple_recursive_removal+0x6a/0x610 [ 16.707107][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.707110][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.707115][ C2] debugfs_remove+0x44/0x70 [ 16.707118][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.707125][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.707128][ C2] ? __sk_destruct+0x383/0x780 [ 16.707133][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.707136][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.707139][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.707144][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.707149][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.707153][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.707156][ C2] ? default_idle+0x9/0x10 [ 16.707159][ C2] ? default_idle_call+0x6d/0xb0 [ 16.707161][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.707165][ C2] ? do_idle+0xf6/0x160 [ 16.707167][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.707169][ C2] ? start_secondary+0x213/0x2a0 [ 16.707172][ C2] ? common_startup_64+0x13e/0x148 [ 16.707178][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.707183][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.707187][ C2] __put_net+0x19/0x60 [ 16.707191][ C2] __sk_destruct+0x58a/0x780 [ 16.707195][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.707197][ C2] rcu_do_batch+0x34c/0xf20 [ 16.707202][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.707205][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.707212][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.707218][ C2] rcu_core+0x2bb/0x500 [ 16.707222][ C2] handle_softirqs+0x218/0x620 [ 16.707228][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.707230][ C2] irq_exit_rcu+0xe/0x30 [ 16.707233][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.707237][ C2] [ 16.707238][ C2] [ 16.707239][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.707242][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.707246][ C2] Code: a2 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 47 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 [ 16.707249][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.707252][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa7b8f5d9 [ 16.707254][ C2] RDX: ffffed1006c266fb RSI: ffffffffa7e53b60 RDI: ffffffffa538d18f [ 16.707256][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 16.707258][ C2] R10: ffff8880361337d3 R11: ffffffffab4f0748 R12: 0000000000000000 [ 16.707260][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.707263][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.707266][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.707270][ C2] default_idle+0x9/0x10 [ 16.707273][ C2] default_idle_call+0x6d/0xb0 [ 16.707275][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.707278][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.707282][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.707286][ C2] do_idle+0xf6/0x160 [ 16.707289][ C2] cpu_startup_entry+0x54/0x60 [ 16.707292][ C2] start_secondary+0x213/0x2a0 [ 16.707295][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.707299][ C2] common_startup_64+0x13e/0x148 [ 16.707306][ C2]