[ 14.221345][ C0] [ 14.221545][ C0] ================================ [ 14.221789][ C0] WARNING: inconsistent lock state [ 14.222016][ C0] 6.15.0-virtme #1 Not tainted [ 14.222250][ C0] -------------------------------- [ 14.222478][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.222763][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.223048][ C0] ffffffffb29c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.223455][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.223681][ C0] __lock_acquire+0x20b/0x7e0 [ 14.223917][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.224142][ C0] _raw_spin_lock+0x33/0x40 [ 14.224376][ C0] simple_pin_fs+0x24/0x150 [ 14.224604][ C0] start_creating.part.0+0x52/0x310 [ 14.224829][ C0] debugfs_create_dir+0x6a/0x540 [ 14.225054][ C0] component_debug_init+0x17/0x30 [ 14.225285][ C0] do_one_initcall+0x8f/0x1e0 [ 14.225515][ C0] do_initcalls+0x176/0x280 [ 14.225751][ C0] kernel_init_freeable+0x22d/0x300 [ 14.225988][ C0] kernel_init+0x20/0x200 [ 14.226222][ C0] ret_from_fork+0x240/0x320 [ 14.226454][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.226687][ C0] irq event stamp: 411272 [ 14.226862][ C0] hardirqs last enabled at (411272): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.227324][ C0] hardirqs last disabled at (411271): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.227782][ C0] softirqs last enabled at (410992): [] handle_softirqs+0x358/0x620 [ 14.228225][ C0] softirqs last disabled at (411005): [] __irq_exit_rcu+0xfa/0x160 [ 14.228630][ C0] [ 14.228630][ C0] other info that might help us debug this: [ 14.228973][ C0] Possible unsafe locking scenario: [ 14.228973][ C0] [ 14.229336][ C0] CPU0 [ 14.229527][ C0] ---- [ 14.229700][ C0] lock(pin_fs_lock); [ 14.229878][ C0] [ 14.230055][ C0] lock(pin_fs_lock); [ 14.230252][ C0] [ 14.230252][ C0] *** DEADLOCK *** [ 14.230252][ C0] [ 14.230592][ C0] 1 lock held by swapper/0/0: [ 14.230820][ C0] #0: ffffffffb27774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.231232][ C0] [ 14.231232][ C0] stack backtrace: [ 14.231527][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.231532][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.231535][ C0] Call Trace: [ 14.231537][ C0] [ 14.231539][ C0] dump_stack_lvl+0x82/0xd0 [ 14.231547][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.231554][ C0] mark_lock_irq+0x343/0x400 [ 14.231558][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.231564][ C0] ? __lock_release+0x5d/0x170 [ 14.231568][ C0] ? save_trace+0x52/0x170 [ 14.231573][ C0] mark_lock+0x174/0x2f0 [ 14.231577][ C0] mark_usage+0x46/0x150 [ 14.231580][ C0] __lock_acquire+0x20b/0x7e0 [ 14.231584][ C0] ? __lock_acquire+0x44d/0x7e0 [ 14.231588][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.231592][ C0] ? simple_pin_fs+0x24/0x150 [ 14.231596][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.231602][ C0] ? lock_acquire+0x10c/0x170 [ 14.231605][ C0] ? simple_pin_fs+0x24/0x150 [ 14.231609][ C0] _raw_spin_lock+0x33/0x40 [ 14.231613][ C0] ? simple_pin_fs+0x24/0x150 [ 14.231615][ C0] simple_pin_fs+0x24/0x150 [ 14.231619][ C0] debugfs_remove+0x35/0x70 [ 14.231623][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.231629][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.231632][ C0] ? __sk_destruct+0x383/0x780 [ 14.231639][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.231642][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.231645][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.231648][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.231654][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.231669][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.231673][ C0] ? default_idle+0x9/0x10 [ 14.231675][ C0] ? default_idle_call+0x6d/0xb0 [ 14.231678][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.231683][ C0] ? do_idle+0xf6/0x160 [ 14.231686][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.231689][ C0] ? rest_init+0x14b/0x260 [ 14.231692][ C0] ? start_kernel+0x350/0x410 [ 14.231700][ C0] __put_net+0x19/0x60 [ 14.231705][ C0] __sk_destruct+0x58a/0x780 [ 14.231709][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.231712][ C0] rcu_do_batch+0x34c/0xf20 [ 14.231717][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.231721][ C0] ? __lock_release+0x5d/0x170 [ 14.231725][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.231728][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.231734][ C0] rcu_core+0x2bb/0x500 [ 14.231739][ C0] handle_softirqs+0x218/0x620 [ 14.231745][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.231748][ C0] irq_exit_rcu+0xe/0x30 [ 14.231751][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.231755][ C0] [ 14.231756][ C0] [ 14.231758][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.231761][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.231765][ 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 [ 14.231768][ C0] RSP: 0018:ffffffffb2407df8 EFLAGS: 00000246 [ 14.231771][ C0] RAX: 000000000006457b RBX: 1ffffffff6480fc3 RCX: ffffffffb17a35d9 [ 14.231774][ C0] RDX: 0000000000000000 RSI: ffffffffb229175c RDI: ffffffffb1a53ca0 [ 14.231776][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.231777][ C0] R10: ffff8880360337d3 R11: ffffffffb2411288 R12: 0000000000000000 [ 14.231779][ C0] R13: ffffffffb241f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.231783][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.231788][ C0] default_idle+0x9/0x10 [ 14.231790][ C0] default_idle_call+0x6d/0xb0 [ 14.231793][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.231796][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.231800][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.231807][ C0] do_idle+0xf6/0x160 [ 14.231811][ C0] cpu_startup_entry+0x54/0x60 [ 14.231815][ C0] rest_init+0x14b/0x260 [ 14.231818][ C0] start_kernel+0x350/0x410 [ 14.231822][ C0] x86_64_start_reservations+0x18/0x30 [ 14.231827][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.231832][ C0] common_startup_64+0x13e/0x148 [ 14.231842][ C0] [ 14.255511][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.256160][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.256630][ C0] preempt_count: 101, expected: 0 [ 14.256841][ C0] RCU nest depth: 0, expected: 0 [ 14.257064][ C0] INFO: lockdep is turned off. [ 14.257367][ C0] Preemption disabled at: [ 14.257369][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.258100][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.258105][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.258107][ C0] Call Trace: [ 14.258110][ C0] [ 14.258112][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.258119][ C0] __might_resched+0x360/0x5a0 [ 14.258129][ C0] down_write+0x72/0x210 [ 14.258133][ C0] ? __pfx_down_write+0x10/0x10 [ 14.258136][ C0] ? simple_recursive_removal+0x33/0x610 [ 14.258143][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.258151][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.258156][ C0] simple_recursive_removal+0x6a/0x610 [ 14.258159][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.258161][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.258168][ C0] debugfs_remove+0x44/0x70 [ 14.258172][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.258178][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.258180][ C0] ? __sk_destruct+0x383/0x780 [ 14.258187][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.258192][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.258194][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.258202][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.258207][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.258213][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.258217][ C0] ? default_idle+0x9/0x10 [ 14.258219][ C0] ? default_idle_call+0x6d/0xb0 [ 14.258222][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.258227][ C0] ? do_idle+0xf6/0x160 [ 14.258230][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.258233][ C0] ? rest_init+0x14b/0x260 [ 14.258235][ C0] ? start_kernel+0x350/0x410 [ 14.258245][ C0] __put_net+0x19/0x60 [ 14.258250][ C0] __sk_destruct+0x58a/0x780 [ 14.258255][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.258258][ C0] rcu_do_batch+0x34c/0xf20 [ 14.258263][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.258266][ C0] ? __lock_release+0x5d/0x170 [ 14.258274][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.258279][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.258288][ C0] rcu_core+0x2bb/0x500 [ 14.258296][ C0] handle_softirqs+0x218/0x620 [ 14.258305][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.258308][ C0] irq_exit_rcu+0xe/0x30 [ 14.258311][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.258315][ C0] [ 14.258317][ C0] [ 14.258318][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.258321][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.258326][ 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 [ 14.258329][ C0] RSP: 0018:ffffffffb2407df8 EFLAGS: 00000246 [ 14.258334][ C0] RAX: 000000000006457b RBX: 1ffffffff6480fc3 RCX: ffffffffb17a35d9 [ 14.258337][ C0] RDX: 0000000000000000 RSI: ffffffffb229175c RDI: ffffffffb1a53ca0 [ 14.258339][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.258340][ C0] R10: ffff8880360337d3 R11: ffffffffb2411288 R12: 0000000000000000 [ 14.258342][ C0] R13: ffffffffb241f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.258346][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.258351][ C0] default_idle+0x9/0x10 [ 14.258354][ C0] default_idle_call+0x6d/0xb0 [ 14.258356][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.258360][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.258364][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.258371][ C0] do_idle+0xf6/0x160 [ 14.258375][ C0] cpu_startup_entry+0x54/0x60 [ 14.258378][ C0] rest_init+0x14b/0x260 [ 14.258381][ C0] start_kernel+0x350/0x410 [ 14.258386][ C0] x86_64_start_reservations+0x18/0x30 [ 14.258391][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.258395][ C0] common_startup_64+0x13e/0x148 [ 14.258406][ C0]