[ 49.950795][ C1] [ 49.950945][ C1] ================================ [ 49.951154][ C1] WARNING: inconsistent lock state [ 49.951359][ C1] 6.15.0-virtme #1 Not tainted [ 49.951570][ C1] -------------------------------- [ 49.951784][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 49.952038][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 49.952299][ C1] ffffffffb11d0bb8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 49.952679][ C1] {SOFTIRQ-ON-W} state was registered at: [ 49.952892][ C1] __lock_acquire+0x20b/0x7e0 [ 49.953110][ C1] lock_acquire.part.0+0xb6/0x240 [ 49.953317][ C1] _raw_spin_lock+0x33/0x40 [ 49.953527][ C1] simple_pin_fs+0x24/0x150 [ 49.953732][ C1] start_creating.part.0+0x52/0x310 [ 49.953939][ C1] debugfs_create_dir+0x6a/0x570 [ 49.954145][ C1] component_debug_init+0x17/0x30 [ 49.954355][ C1] do_one_initcall+0x8f/0x1e0 [ 49.954565][ C1] do_initcalls+0x176/0x280 [ 49.954771][ C1] kernel_init_freeable+0x22d/0x300 [ 49.954979][ C1] kernel_init+0x20/0x200 [ 49.955174][ C1] ret_from_fork+0x240/0x320 [ 49.955369][ C1] ret_from_fork_asm+0x1a/0x30 [ 49.955565][ C1] irq event stamp: 1888810 [ 49.955765][ C1] hardirqs last enabled at (1888810): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 49.956148][ C1] hardirqs last disabled at (1888809): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 49.956529][ C1] softirqs last enabled at (1888780): [] handle_softirqs+0x358/0x620 [ 49.956869][ C1] softirqs last disabled at (1888799): [] __irq_exit_rcu+0xfa/0x160 [ 49.957208][ C1] [ 49.957208][ C1] other info that might help us debug this: [ 49.957490][ C1] Possible unsafe locking scenario: [ 49.957490][ C1] [ 49.957771][ C1] CPU0 [ 49.957916][ C1] ---- [ 49.958058][ C1] lock(pin_fs_lock); [ 49.958203][ C1] [ 49.958352][ C1] lock(pin_fs_lock); [ 49.958500][ C1] [ 49.958500][ C1] *** DEADLOCK *** [ 49.958500][ C1] [ 49.958783][ C1] 1 lock held by swapper/1/0: [ 49.958976][ C1] #0: ffffffffb0f77c00 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 49.959327][ C1] [ 49.959327][ C1] stack backtrace: [ 49.959567][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 49.959573][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.959575][ C1] Call Trace: [ 49.959577][ C1] [ 49.959580][ C1] dump_stack_lvl+0x82/0xd0 [ 49.959587][ C1] print_usage_bug.part.0+0x25f/0x360 [ 49.959592][ C1] mark_lock_irq+0x343/0x400 [ 49.959597][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 49.959602][ C1] ? save_trace+0x52/0x170 [ 49.959607][ C1] mark_lock+0x174/0x2f0 [ 49.959611][ C1] mark_usage+0x46/0x150 [ 49.959615][ C1] __lock_acquire+0x20b/0x7e0 [ 49.959619][ C1] ? __lock_acquire+0x44d/0x7e0 [ 49.959623][ C1] lock_acquire.part.0+0xb6/0x240 [ 49.959627][ C1] ? simple_pin_fs+0x24/0x150 [ 49.959631][ C1] ? rcu_is_watching+0x12/0xc0 [ 49.959636][ C1] ? lock_acquire+0x10c/0x170 [ 49.959639][ C1] ? simple_pin_fs+0x24/0x150 [ 49.959644][ C1] _raw_spin_lock+0x33/0x40 [ 49.959647][ C1] ? simple_pin_fs+0x24/0x150 [ 49.959650][ C1] simple_pin_fs+0x24/0x150 [ 49.959654][ C1] debugfs_remove+0x35/0x70 [ 49.959658][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 49.959663][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 49.959667][ C1] ? __sk_destruct+0x383/0x780 [ 49.959673][ C1] ? rcu_do_batch+0x34f/0xf20 [ 49.959676][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 49.959679][ C1] ? irq_exit_rcu+0xe/0x30 [ 49.959681][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 49.959685][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 49.959688][ C1] ? pv_native_safe_halt+0xf/0x20 [ 49.959692][ C1] ? default_idle+0x9/0x10 [ 49.959694][ C1] ? default_idle_call+0x6d/0xb0 [ 49.959696][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 49.959700][ C1] ? do_idle+0xf6/0x160 [ 49.959703][ C1] ? cpu_startup_entry+0x54/0x60 [ 49.959706][ C1] ? start_secondary+0x213/0x2a0 [ 49.959710][ C1] ? common_startup_64+0x13e/0x148 [ 49.959715][ C1] __put_net+0x19/0x60 [ 49.959719][ C1] __sk_destruct+0x58a/0x780 [ 49.959724][ C1] ? rcu_do_batch+0x34a/0xf20 [ 49.959727][ C1] rcu_do_batch+0x34f/0xf20 [ 49.959730][ C1] ? find_held_lock+0x2b/0x80 [ 49.959734][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 49.959738][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 49.959742][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 49.959746][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 49.959750][ C1] rcu_core+0x2bb/0x500 [ 49.959755][ C1] handle_softirqs+0x21b/0x620 [ 49.959760][ C1] __irq_exit_rcu+0xfa/0x160 [ 49.959764][ C1] irq_exit_rcu+0xe/0x30 [ 49.959767][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 49.959770][ C1] [ 49.959771][ C1] [ 49.959773][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 49.959776][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 49.959780][ C1] Code: f2 ce 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 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 49.959783][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 49.959786][ C1] RAX: 00000000001cd21d RBX: 1ffff92000026fc1 RCX: ffffffffafe125d9 [ 49.959788][ C1] RDX: 0000000000000000 RSI: ffffffffb0aa61cd RDI: ffffffffb0258be0 [ 49.959790][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 49.959791][ C1] R10: ffff8880360b37d3 R11: ffffffffb0c11288 R12: 0000000000000000 [ 49.959793][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 49.959797][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 49.959801][ C1] default_idle+0x9/0x10 [ 49.959804][ C1] default_idle_call+0x6d/0xb0 [ 49.959806][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 49.959810][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 49.959814][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 49.959818][ C1] do_idle+0xf6/0x160 [ 49.959822][ C1] cpu_startup_entry+0x54/0x60 [ 49.959826][ C1] start_secondary+0x213/0x2a0 [ 49.959829][ C1] ? __pfx_start_secondary+0x10/0x10 [ 49.959834][ C1] common_startup_64+0x13e/0x148 [ 49.959840][ C1] [ 49.975191][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 49.975505][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 49.975818][ C1] preempt_count: 101, expected: 0 [ 49.975992][ C1] RCU nest depth: 0, expected: 0 [ 49.976166][ C1] INFO: lockdep is turned off. [ 49.976342][ C1] Preemption disabled at: [ 49.976344][ C1] [<0000000000000000>] 0x0 [ 49.976768][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 49.976773][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 49.976775][ C1] Call Trace: [ 49.976777][ C1] [ 49.976779][ C1] dump_stack_lvl+0xb0/0xd0 [ 49.976787][ C1] __might_resched+0x360/0x5a0 [ 49.976793][ C1] down_write+0x72/0x210 [ 49.976797][ C1] ? __pfx_down_write+0x10/0x10 [ 49.976800][ C1] ? simple_recursive_removal+0x33/0x610 [ 49.976804][ C1] ? rcu_is_watching+0x12/0xc0 [ 49.976810][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 49.976815][ C1] simple_recursive_removal+0x6a/0x610 [ 49.976818][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 49.976821][ C1] ? __pfx_remove_one+0x10/0x10 [ 49.976827][ C1] debugfs_remove+0x44/0x70 [ 49.976830][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 49.976835][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 49.976839][ C1] ? __sk_destruct+0x383/0x780 [ 49.976844][ C1] ? rcu_do_batch+0x34f/0xf20 [ 49.976849][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 49.976852][ C1] ? irq_exit_rcu+0xe/0x30 [ 49.976856][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 49.976860][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 49.976864][ C1] ? pv_native_safe_halt+0xf/0x20 [ 49.976867][ C1] ? default_idle+0x9/0x10 [ 49.976870][ C1] ? default_idle_call+0x6d/0xb0 [ 49.976872][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 49.976877][ C1] ? do_idle+0xf6/0x160 [ 49.976880][ C1] ? cpu_startup_entry+0x54/0x60 [ 49.976883][ C1] ? start_secondary+0x213/0x2a0 [ 49.976887][ C1] ? common_startup_64+0x13e/0x148 [ 49.976893][ C1] __put_net+0x19/0x60 [ 49.976897][ C1] __sk_destruct+0x58a/0x780 [ 49.976901][ C1] ? rcu_do_batch+0x34a/0xf20 [ 49.976904][ C1] rcu_do_batch+0x34f/0xf20 [ 49.976908][ C1] ? find_held_lock+0x2b/0x80 [ 49.976912][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 49.976916][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 49.976921][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 49.976924][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 49.976929][ C1] rcu_core+0x2bb/0x500 [ 49.976933][ C1] handle_softirqs+0x21b/0x620 [ 49.976940][ C1] __irq_exit_rcu+0xfa/0x160 [ 49.976943][ C1] irq_exit_rcu+0xe/0x30 [ 49.976946][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 49.976950][ C1] [ 49.976951][ C1] [ 49.976952][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 49.976955][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 49.976959][ C1] Code: f2 ce 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 28 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 49.976962][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 49.976965][ C1] RAX: 00000000001cd21d RBX: 1ffff92000026fc1 RCX: ffffffffafe125d9 [ 49.976967][ C1] RDX: 0000000000000000 RSI: ffffffffb0aa61cd RDI: ffffffffb0258be0 [ 49.976968][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 49.976970][ C1] R10: ffff8880360b37d3 R11: ffffffffb0c11288 R12: 0000000000000000 [ 49.976972][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 49.976975][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 49.976980][ C1] default_idle+0x9/0x10 [ 49.976982][ C1] default_idle_call+0x6d/0xb0 [ 49.976985][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 49.976989][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 49.976993][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 49.976998][ C1] do_idle+0xf6/0x160 [ 49.977002][ C1] cpu_startup_entry+0x54/0x60 [ 49.977005][ C1] start_secondary+0x213/0x2a0 [ 49.977009][ C1] ? __pfx_start_secondary+0x10/0x10 [ 49.977014][ C1] common_startup_64+0x13e/0x148 [ 49.977020][ C1]