[ 12.862461][ C0] [ 12.862611][ C0] ================================ [ 12.862821][ C0] WARNING: inconsistent lock state [ 12.863026][ C0] 6.15.0-virtme #1 Not tainted [ 12.863233][ C0] -------------------------------- [ 12.863437][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.863692][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.863948][ C0] ffffffffa19c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.864314][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.864522][ C0] __lock_acquire+0x20b/0x7e0 [ 12.864731][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.864936][ C0] _raw_spin_lock+0x33/0x40 [ 12.865146][ C0] simple_pin_fs+0x24/0x150 [ 12.865349][ C0] start_creating.part.0+0x52/0x310 [ 12.865557][ C0] debugfs_create_dir+0x6a/0x540 [ 12.865764][ C0] component_debug_init+0x17/0x30 [ 12.865975][ C0] do_one_initcall+0x8f/0x1e0 [ 12.866182][ C0] do_initcalls+0x176/0x280 [ 12.866389][ C0] kernel_init_freeable+0x22d/0x300 [ 12.866591][ C0] kernel_init+0x20/0x200 [ 12.866811][ C0] ret_from_fork+0x240/0x320 [ 12.867018][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.867222][ C0] irq event stamp: 427336 [ 12.867379][ C0] hardirqs last enabled at (427336): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.867793][ C0] hardirqs last disabled at (427335): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.868205][ C0] softirqs last enabled at (426192): [] handle_softirqs+0x358/0x620 [ 12.868571][ C0] softirqs last disabled at (426241): [] __irq_exit_rcu+0xfa/0x160 [ 12.868929][ C0] [ 12.868929][ C0] other info that might help us debug this: [ 12.869230][ C0] Possible unsafe locking scenario: [ 12.869230][ C0] [ 12.869530][ C0] CPU0 [ 12.869682][ C0] ---- [ 12.869836][ C0] lock(pin_fs_lock); [ 12.869999][ C0] [ 12.870157][ C0] lock(pin_fs_lock); [ 12.870315][ C0] [ 12.870315][ C0] *** DEADLOCK *** [ 12.870315][ C0] [ 12.870621][ C0] 1 lock held by swapper/0/0: [ 12.870830][ C0] #0: ffffffffa17774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.871202][ C0] [ 12.871202][ C0] stack backtrace: [ 12.871455][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.871460][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.871462][ C0] Call Trace: [ 12.871464][ C0] [ 12.871466][ C0] dump_stack_lvl+0x82/0xd0 [ 12.871471][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.871476][ C0] mark_lock_irq+0x343/0x400 [ 12.871480][ C0] ? is_bpf_text_address+0x67/0x120 [ 12.871485][ C0] ? __lock_release+0x5d/0x170 [ 12.871490][ C0] ? save_trace+0x52/0x170 [ 12.871494][ C0] mark_lock+0x174/0x2f0 [ 12.871498][ C0] mark_usage+0x46/0x150 [ 12.871501][ C0] __lock_acquire+0x20b/0x7e0 [ 12.871505][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.871510][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.871513][ C0] ? simple_pin_fs+0x24/0x150 [ 12.871516][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.871521][ C0] ? lock_acquire+0x10c/0x170 [ 12.871524][ C0] ? simple_pin_fs+0x24/0x150 [ 12.871527][ C0] _raw_spin_lock+0x33/0x40 [ 12.871530][ C0] ? simple_pin_fs+0x24/0x150 [ 12.871533][ C0] simple_pin_fs+0x24/0x150 [ 12.871536][ C0] debugfs_remove+0x35/0x70 [ 12.871540][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.871544][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.871547][ C0] ? __sk_destruct+0x383/0x780 [ 12.871552][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.871555][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.871557][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.871560][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.871564][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.871568][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.871571][ C0] ? default_idle+0x9/0x10 [ 12.871574][ C0] ? default_idle_call+0x6d/0xb0 [ 12.871576][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.871580][ C0] ? do_idle+0xf6/0x160 [ 12.871583][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.871585][ C0] ? rest_init+0x14b/0x260 [ 12.871588][ C0] ? start_kernel+0x350/0x410 [ 12.871594][ C0] __put_net+0x19/0x60 [ 12.871598][ C0] __sk_destruct+0x58a/0x780 [ 12.871602][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.871605][ C0] rcu_do_batch+0x34c/0xf20 [ 12.871610][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.871613][ C0] ? __lock_release+0x5d/0x170 [ 12.871617][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.871620][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.871625][ C0] rcu_core+0x2bb/0x500 [ 12.871629][ C0] handle_softirqs+0x218/0x620 [ 12.871635][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.871638][ C0] irq_exit_rcu+0xe/0x30 [ 12.871641][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.871645][ C0] [ 12.871646][ C0] [ 12.871647][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.871650][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.871654][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.871657][ C0] RSP: 0018:ffffffffa1407df8 EFLAGS: 00000246 [ 12.871660][ C0] RAX: 00000000000680ff RBX: 1ffffffff4280fc3 RCX: ffffffffa07a35d9 [ 12.871662][ C0] RDX: 0000000000000000 RSI: ffffffffa129175c RDI: ffffffffa0a53ca0 [ 12.871663][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.871665][ C0] R10: ffff8880360337d3 R11: ffffffffa1411288 R12: 0000000000000000 [ 12.871667][ C0] R13: ffffffffa141f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.871670][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.871675][ C0] default_idle+0x9/0x10 [ 12.871677][ C0] default_idle_call+0x6d/0xb0 [ 12.871680][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.871683][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.871687][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.871693][ C0] do_idle+0xf6/0x160 [ 12.871697][ C0] cpu_startup_entry+0x54/0x60 [ 12.871700][ C0] rest_init+0x14b/0x260 [ 12.871704][ C0] start_kernel+0x350/0x410 [ 12.871708][ C0] x86_64_start_reservations+0x18/0x30 [ 12.871712][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.871716][ C0] common_startup_64+0x13e/0x148 [ 12.871726][ C0] [ 12.890318][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.890654][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 12.890992][ C0] preempt_count: 101, expected: 0 [ 12.891198][ C0] RCU nest depth: 0, expected: 0 [ 12.891390][ C0] INFO: lockdep is turned off. [ 12.891580][ C0] Preemption disabled at: [ 12.891582][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.892015][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.892019][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.892021][ C0] Call Trace: [ 12.892023][ C0] [ 12.892024][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.892029][ C0] __might_resched+0x360/0x5a0 [ 12.892037][ C0] down_write+0x72/0x210 [ 12.892040][ C0] ? __pfx_down_write+0x10/0x10 [ 12.892043][ C0] ? simple_recursive_removal+0x33/0x610 [ 12.892048][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.892053][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.892057][ C0] simple_recursive_removal+0x6a/0x610 [ 12.892060][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.892063][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.892068][ C0] debugfs_remove+0x44/0x70 [ 12.892071][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.892075][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.892078][ C0] ? __sk_destruct+0x383/0x780 [ 12.892083][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.892087][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.892089][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.892095][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.892098][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.892102][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.892105][ C0] ? default_idle+0x9/0x10 [ 12.892108][ C0] ? default_idle_call+0x6d/0xb0 [ 12.892110][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.892114][ C0] ? do_idle+0xf6/0x160 [ 12.892117][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.892119][ C0] ? rest_init+0x14b/0x260 [ 12.892122][ C0] ? start_kernel+0x350/0x410 [ 12.892130][ C0] __put_net+0x19/0x60 [ 12.892136][ C0] __sk_destruct+0x58a/0x780 [ 12.892140][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.892143][ C0] rcu_do_batch+0x34c/0xf20 [ 12.892148][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.892151][ C0] ? __lock_release+0x5d/0x170 [ 12.892156][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.892159][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.892166][ C0] rcu_core+0x2bb/0x500 [ 12.892170][ C0] handle_softirqs+0x218/0x620 [ 12.892175][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.892179][ C0] irq_exit_rcu+0xe/0x30 [ 12.892182][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.892185][ C0] [ 12.892187][ C0] [ 12.892188][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.892191][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.892195][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.892197][ C0] RSP: 0018:ffffffffa1407df8 EFLAGS: 00000246 [ 12.892200][ C0] RAX: 00000000000680ff RBX: 1ffffffff4280fc3 RCX: ffffffffa07a35d9 [ 12.892202][ C0] RDX: 0000000000000000 RSI: ffffffffa129175c RDI: ffffffffa0a53ca0 [ 12.892204][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.892206][ C0] R10: ffff8880360337d3 R11: ffffffffa1411288 R12: 0000000000000000 [ 12.892208][ C0] R13: ffffffffa141f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.892212][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.892217][ C0] default_idle+0x9/0x10 [ 12.892219][ C0] default_idle_call+0x6d/0xb0 [ 12.892221][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.892225][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.892229][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.892234][ C0] do_idle+0xf6/0x160 [ 12.892238][ C0] cpu_startup_entry+0x54/0x60 [ 12.892241][ C0] rest_init+0x14b/0x260 [ 12.892245][ C0] start_kernel+0x350/0x410 [ 12.892249][ C0] x86_64_start_reservations+0x18/0x30 [ 12.892253][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.892257][ C0] common_startup_64+0x13e/0x148 [ 12.892265][ C0]