[ 14.365757][ C0] [ 14.365918][ C0] ================================ [ 14.366124][ C0] WARNING: inconsistent lock state [ 14.366349][ C0] 6.15.0-rc5-virtme #1 Not tainted [ 14.366586][ C0] -------------------------------- [ 14.366790][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.367039][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.367288][ C0] ffffffff869bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.367650][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.367856][ C0] __lock_acquire+0x3eb/0x9d0 [ 14.368063][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.368262][ C0] _raw_spin_lock+0x33/0x40 [ 14.368474][ C0] simple_pin_fs+0x24/0x150 [ 14.368672][ C0] start_creating.part.0+0x3f/0x2f0 [ 14.368877][ C0] debugfs_create_dir+0x6a/0x540 [ 14.369073][ C0] component_debug_init+0x17/0x30 [ 14.369290][ C0] do_one_initcall+0x8c/0x1e0 [ 14.369565][ C0] do_initcalls+0x176/0x280 [ 14.369795][ C0] kernel_init_freeable+0x22d/0x300 [ 14.369997][ C0] kernel_init+0x20/0x200 [ 14.370213][ C0] ret_from_fork+0x31/0x70 [ 14.370478][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.370691][ C0] irq event stamp: 446640 [ 14.370852][ C0] hardirqs last enabled at (446640): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.371303][ C0] hardirqs last disabled at (446639): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.371764][ C0] softirqs last enabled at (446616): [] handle_softirqs+0x358/0x620 [ 14.372162][ C0] softirqs last disabled at (446629): [] __irq_exit_rcu+0xfa/0x160 [ 14.372553][ C0] [ 14.372553][ C0] other info that might help us debug this: [ 14.372897][ C0] Possible unsafe locking scenario: [ 14.372897][ C0] [ 14.373207][ C0] CPU0 [ 14.373373][ C0] ---- [ 14.373559][ C0] lock(pin_fs_lock); [ 14.373758][ C0] [ 14.373944][ C0] lock(pin_fs_lock); [ 14.374163][ C0] [ 14.374163][ C0] *** DEADLOCK *** [ 14.374163][ C0] [ 14.374523][ C0] 1 lock held by swapper/0/0: [ 14.374784][ C0] #0: ffffffff86774480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.375190][ C0] [ 14.375190][ C0] stack backtrace: [ 14.375533][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.375539][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.375542][ C0] Call Trace: [ 14.375544][ C0] [ 14.375546][ C0] dump_stack_lvl+0x82/0xd0 [ 14.375556][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.375562][ C0] mark_lock_irq+0x343/0x400 [ 14.375565][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.375572][ C0] ? __lock_release+0x5d/0x170 [ 14.375577][ C0] ? save_trace+0x52/0x170 [ 14.375586][ C0] mark_lock+0x174/0x2f0 [ 14.375591][ C0] mark_usage+0x46/0x150 [ 14.375597][ C0] __lock_acquire+0x3eb/0x9d0 [ 14.375605][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.375610][ C0] ? simple_pin_fs+0x24/0x150 [ 14.375617][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.375623][ C0] ? lock_acquire+0x10c/0x170 [ 14.375627][ C0] ? simple_pin_fs+0x24/0x150 [ 14.375634][ C0] _raw_spin_lock+0x33/0x40 [ 14.375641][ C0] ? simple_pin_fs+0x24/0x150 [ 14.375645][ C0] simple_pin_fs+0x24/0x150 [ 14.375651][ C0] debugfs_remove+0x35/0x70 [ 14.375659][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.375668][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.375674][ C0] ? __sk_destruct+0x383/0x780 [ 14.375681][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.375689][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.375693][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.375698][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.375702][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.375707][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.375710][ C0] ? default_idle+0x9/0x10 [ 14.375714][ C0] ? default_idle_call+0x6d/0xb0 [ 14.375716][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.375720][ C0] ? do_idle+0xf6/0x160 [ 14.375722][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.375724][ C0] ? rest_init+0x14b/0x260 [ 14.375727][ C0] ? start_kernel+0x350/0x410 [ 14.375735][ C0] __put_net+0x19/0x60 [ 14.375739][ C0] __sk_destruct+0x58a/0x780 [ 14.375743][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.375746][ C0] rcu_do_batch+0x34c/0xf20 [ 14.375750][ C0] ? find_held_lock+0x2b/0x80 [ 14.375754][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.375759][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.375762][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.375766][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.375770][ C0] rcu_core+0x2bb/0x500 [ 14.375775][ C0] handle_softirqs+0x218/0x620 [ 14.375780][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.375782][ C0] irq_exit_rcu+0xe/0x30 [ 14.375785][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.375788][ C0] [ 14.375789][ C0] [ 14.375791][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.375794][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.375798][ C0] Code: a0 b7 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 a3 a0 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 [ 14.375801][ C0] RSP: 0018:ffffffff86407df8 EFLAGS: 00000246 [ 14.375805][ C0] RAX: 000000000006d0a3 RBX: 1ffffffff0c80fc3 RCX: ffffffff85768a19 [ 14.375808][ C0] RDX: 0000000000000000 RSI: ffffffff862881e1 RDI: ffffffff85a50e20 [ 14.375810][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 14.375811][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.375813][ C0] R13: ffffffff8641f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.375817][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.375822][ C0] default_idle+0x9/0x10 [ 14.375826][ C0] default_idle_call+0x6d/0xb0 [ 14.375828][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.375831][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.375834][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.375840][ C0] do_idle+0xf6/0x160 [ 14.375843][ C0] cpu_startup_entry+0x54/0x60 [ 14.375846][ C0] rest_init+0x14b/0x260 [ 14.375849][ C0] start_kernel+0x350/0x410 [ 14.375853][ C0] x86_64_start_reservations+0x18/0x30 [ 14.375857][ C0] x86_64_start_kernel+0xba/0x110 [ 14.375861][ C0] common_startup_64+0x13e/0x148 [ 14.375870][ C0] [ 14.395429][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.396125][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.396468][ C0] preempt_count: 101, expected: 0 [ 14.396805][ C0] RCU nest depth: 0, expected: 0 [ 14.397026][ C0] INFO: lockdep is turned off. [ 14.397322][ C0] Preemption disabled at: [ 14.397326][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.398272][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.398281][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.398285][ C0] Call Trace: [ 14.398288][ C0] [ 14.398291][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.398303][ C0] __might_resched+0x360/0x5a0 [ 14.398316][ C0] down_write+0x72/0x210 [ 14.398322][ C0] ? __pfx_down_write+0x10/0x10 [ 14.398326][ C0] ? simple_recursive_removal+0x3a/0x860 [ 14.398333][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.398341][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.398349][ C0] simple_recursive_removal+0x166/0x860 [ 14.398353][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.398361][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.398370][ C0] debugfs_remove+0x44/0x70 [ 14.398375][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.398385][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.398390][ C0] ? __sk_destruct+0x383/0x780 [ 14.398399][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.398407][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.398412][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.398418][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.398425][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.398431][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.398436][ C0] ? default_idle+0x9/0x10 [ 14.398442][ C0] ? default_idle_call+0x6d/0xb0 [ 14.398446][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.398451][ C0] ? do_idle+0xf6/0x160 [ 14.398455][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.398459][ C0] ? rest_init+0x14b/0x260 [ 14.398464][ C0] ? start_kernel+0x350/0x410 [ 14.398476][ C0] __put_net+0x19/0x60 [ 14.398482][ C0] __sk_destruct+0x58a/0x780 [ 14.398489][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.398494][ C0] rcu_do_batch+0x34c/0xf20 [ 14.398500][ C0] ? find_held_lock+0x2b/0x80 [ 14.398509][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.398515][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.398523][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.398528][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.398536][ C0] rcu_core+0x2bb/0x500 [ 14.398542][ C0] handle_softirqs+0x218/0x620 [ 14.398550][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.398554][ C0] irq_exit_rcu+0xe/0x30 [ 14.398559][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.398564][ C0] [ 14.398566][ C0] [ 14.398569][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.398574][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.398580][ C0] Code: a0 b7 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 a3 a0 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 [ 14.398585][ C0] RSP: 0018:ffffffff86407df8 EFLAGS: 00000246 [ 14.398592][ C0] RAX: 000000000006d0a3 RBX: 1ffffffff0c80fc3 RCX: ffffffff85768a19 [ 14.398596][ C0] RDX: 0000000000000000 RSI: ffffffff862881e1 RDI: ffffffff85a50e20 [ 14.398600][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 14.398603][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.398606][ C0] R13: ffffffff8641f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.398614][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.398623][ C0] default_idle+0x9/0x10 [ 14.398628][ C0] default_idle_call+0x6d/0xb0 [ 14.398633][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.398638][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.398645][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.398654][ C0] do_idle+0xf6/0x160 [ 14.398659][ C0] cpu_startup_entry+0x54/0x60 [ 14.398664][ C0] rest_init+0x14b/0x260 [ 14.398670][ C0] start_kernel+0x350/0x410 [ 14.398676][ C0] x86_64_start_reservations+0x18/0x30 [ 14.398682][ C0] x86_64_start_kernel+0xba/0x110 [ 14.398688][ C0] common_startup_64+0x13e/0x148 [ 14.398702][ C0]