[ 14.741572][ C3] [ 14.741771][ C3] ================================ [ 14.741956][ C3] WARNING: inconsistent lock state [ 14.742142][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 14.742335][ C3] -------------------------------- [ 14.742520][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.742751][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.742984][ C3] ffffffffba9bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.743312][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.743494][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.743682][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.743866][ C3] _raw_spin_lock+0x33/0x40 [ 14.744050][ C3] simple_pin_fs+0x24/0x150 [ 14.744238][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.744425][ C3] debugfs_create_dir+0x6a/0x540 [ 14.744610][ C3] component_debug_init+0x17/0x30 [ 14.744800][ C3] do_one_initcall+0x8c/0x1e0 [ 14.744983][ C3] do_initcalls+0x176/0x280 [ 14.745170][ C3] kernel_init_freeable+0x22d/0x300 [ 14.745355][ C3] kernel_init+0x20/0x200 [ 14.745538][ C3] ret_from_fork+0x31/0x70 [ 14.745725][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.745906][ C3] irq event stamp: 256072 [ 14.746048][ C3] hardirqs last enabled at (256072): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.746412][ C3] hardirqs last disabled at (256071): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.746775][ C3] softirqs last enabled at (254612): [] handle_softirqs+0x358/0x620 [ 14.747094][ C3] softirqs last disabled at (254643): [] __irq_exit_rcu+0xfa/0x160 [ 14.747415][ C3] [ 14.747415][ C3] other info that might help us debug this: [ 14.747685][ C3] Possible unsafe locking scenario: [ 14.747685][ C3] [ 14.747959][ C3] CPU0 [ 14.748096][ C3] ---- [ 14.748231][ C3] lock(pin_fs_lock); [ 14.748370][ C3] [ 14.748507][ C3] lock(pin_fs_lock); [ 14.748647][ C3] [ 14.748647][ C3] *** DEADLOCK *** [ 14.748647][ C3] [ 14.748915][ C3] 1 lock held by swapper/3/0: [ 14.749098][ C3] #0: ffffffffba774480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.749433][ C3] [ 14.749433][ C3] stack backtrace: [ 14.749659][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.749664][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.749666][ C3] Call Trace: [ 14.749668][ C3] [ 14.749670][ C3] dump_stack_lvl+0x82/0xd0 [ 14.749675][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.749680][ C3] mark_lock_irq+0x343/0x400 [ 14.749685][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.749691][ C3] ? save_trace+0x52/0x170 [ 14.749695][ C3] mark_lock+0x174/0x2f0 [ 14.749699][ C3] mark_usage+0x46/0x150 [ 14.749702][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.749708][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.749711][ C3] ? simple_pin_fs+0x24/0x150 [ 14.749715][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.749720][ C3] ? lock_acquire+0x10c/0x170 [ 14.749723][ C3] ? simple_pin_fs+0x24/0x150 [ 14.749728][ C3] _raw_spin_lock+0x33/0x40 [ 14.749731][ C3] ? simple_pin_fs+0x24/0x150 [ 14.749734][ C3] simple_pin_fs+0x24/0x150 [ 14.749738][ C3] debugfs_remove+0x35/0x70 [ 14.749741][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.749746][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.749749][ C3] ? __sk_destruct+0x383/0x780 [ 14.749754][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.749757][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.749759][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.749762][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.749765][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.749768][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.749771][ C3] ? default_idle+0x9/0x10 [ 14.749773][ C3] ? default_idle_call+0x6d/0xb0 [ 14.749776][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.749779][ C3] ? do_idle+0xf6/0x160 [ 14.749782][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.749785][ C3] ? start_secondary+0x213/0x2a0 [ 14.749789][ C3] ? common_startup_64+0x13e/0x148 [ 14.749796][ C3] __put_net+0x19/0x60 [ 14.749799][ C3] __sk_destruct+0x58a/0x780 [ 14.749803][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.749805][ C3] rcu_do_batch+0x34c/0xf20 [ 14.749809][ C3] ? find_held_lock+0x2b/0x80 [ 14.749813][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.749816][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.749820][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.749823][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.749827][ C3] rcu_core+0x2bb/0x500 [ 14.749831][ C3] handle_softirqs+0x218/0x620 [ 14.749835][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.749837][ C3] irq_exit_rcu+0xe/0x30 [ 14.749840][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.749843][ C3] [ 14.749844][ C3] [ 14.749845][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.749848][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.749852][ C3] Code: b0 b8 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 d0 13 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.749855][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.749858][ C3] RAX: 000000000003e2b1 RBX: 1ffff9200002afc1 RCX: ffffffffb9755a19 [ 14.749861][ C3] RDX: 0000000000000000 RSI: ffffffffba285f31 RDI: ffffffffb9a50ce0 [ 14.749862][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.749864][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.749866][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.749870][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.749875][ C3] default_idle+0x9/0x10 [ 14.749877][ C3] default_idle_call+0x6d/0xb0 [ 14.749879][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.749883][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.749887][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.749892][ C3] do_idle+0xf6/0x160 [ 14.749896][ C3] cpu_startup_entry+0x54/0x60 [ 14.749899][ C3] start_secondary+0x213/0x2a0 [ 14.749903][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.749908][ C3] common_startup_64+0x13e/0x148 [ 14.749914][ C3] [ 14.764327][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.764626][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.764926][ C3] preempt_count: 101, expected: 0 [ 14.765203][ C3] RCU nest depth: 0, expected: 0 [ 14.765383][ C3] INFO: lockdep is turned off. [ 14.765553][ C3] Preemption disabled at: [ 14.765555][ C3] [<0000000000000000>] 0x0 [ 14.765855][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.765859][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.765860][ C3] Call Trace: [ 14.765862][ C3] [ 14.765863][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.765869][ C3] __might_resched+0x360/0x5a0 [ 14.765874][ C3] down_write+0x72/0x210 [ 14.765878][ C3] ? __pfx_down_write+0x10/0x10 [ 14.765880][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.765884][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.765889][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.765894][ C3] simple_recursive_removal+0x166/0x860 [ 14.765896][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.765900][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.765904][ C3] debugfs_remove+0x44/0x70 [ 14.765907][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.765911][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.765914][ C3] ? __sk_destruct+0x383/0x780 [ 14.765918][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.765922][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.765925][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.765928][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.765932][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.765935][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.765938][ C3] ? default_idle+0x9/0x10 [ 14.765941][ C3] ? default_idle_call+0x6d/0xb0 [ 14.765943][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.765948][ C3] ? do_idle+0xf6/0x160 [ 14.765950][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.765953][ C3] ? start_secondary+0x213/0x2a0 [ 14.765957][ C3] ? common_startup_64+0x13e/0x148 [ 14.765962][ C3] __put_net+0x19/0x60 [ 14.765965][ C3] __sk_destruct+0x58a/0x780 [ 14.765969][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.765972][ C3] rcu_do_batch+0x34c/0xf20 [ 14.765976][ C3] ? find_held_lock+0x2b/0x80 [ 14.765980][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.765983][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.765987][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.765991][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.765995][ C3] rcu_core+0x2bb/0x500 [ 14.765998][ C3] handle_softirqs+0x218/0x620 [ 14.766003][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.766005][ C3] irq_exit_rcu+0xe/0x30 [ 14.766007][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.766011][ C3] [ 14.766012][ C3] [ 14.766013][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.766016][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.766019][ C3] Code: b0 b8 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 d0 13 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.766022][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.766025][ C3] RAX: 000000000003e2b1 RBX: 1ffff9200002afc1 RCX: ffffffffb9755a19 [ 14.766027][ C3] RDX: 0000000000000000 RSI: ffffffffba285f31 RDI: ffffffffb9a50ce0 [ 14.766028][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3667a [ 14.766030][ C3] R10: ffff8880361b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.766031][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.766035][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.766040][ C3] default_idle+0x9/0x10 [ 14.766042][ C3] default_idle_call+0x6d/0xb0 [ 14.766045][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.766048][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.766052][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.766057][ C3] do_idle+0xf6/0x160 [ 14.766061][ C3] cpu_startup_entry+0x54/0x60 [ 14.766064][ C3] start_secondary+0x213/0x2a0 [ 14.766068][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.766073][ C3] common_startup_64+0x13e/0x148 [ 14.766079][ C3] [ 16.435678][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.436117][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 16.436462][ C0] preempt_count: 101, expected: 0 [ 16.436655][ C0] RCU nest depth: 0, expected: 0 [ 16.436850][ C0] INFO: lockdep is turned off. [ 16.437041][ C0] Preemption disabled at: [ 16.437043][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.437490][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.437495][ C0] Tainted: [W]=WARN [ 16.437497][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.437498][ C0] Call Trace: [ 16.437500][ C0] [ 16.437503][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.437508][ C0] __might_resched+0x360/0x5a0 [ 16.437514][ C0] down_write+0x72/0x210 [ 16.437518][ C0] ? __pfx_down_write+0x10/0x10 [ 16.437520][ C0] ? simple_recursive_removal+0x3a/0x860 [ 16.437525][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.437531][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.437535][ C0] simple_recursive_removal+0x166/0x860 [ 16.437538][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.437542][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.437546][ C0] debugfs_remove+0x44/0x70 [ 16.437549][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.437554][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.437557][ C0] ? __sk_destruct+0x383/0x780 [ 16.437562][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.437566][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.437569][ C0] ? irq_exit_rcu+0xe/0x30 [ 16.437573][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.437577][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.437582][ C0] ? pv_native_safe_halt+0xf/0x20 [ 16.437585][ C0] ? default_idle+0x9/0x10 [ 16.437587][ C0] ? default_idle_call+0x6d/0xb0 [ 16.437589][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.437594][ C0] ? do_idle+0xf6/0x160 [ 16.437597][ C0] ? cpu_startup_entry+0x54/0x60 [ 16.437599][ C0] ? rest_init+0x14b/0x260 [ 16.437602][ C0] ? start_kernel+0x350/0x410 [ 16.437607][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.437611][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.437615][ C0] __put_net+0x19/0x60 [ 16.437618][ C0] __sk_destruct+0x58a/0x780 [ 16.437622][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.437625][ C0] rcu_do_batch+0x34c/0xf20 [ 16.437630][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.437634][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.437638][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.437644][ C0] rcu_core+0x2bb/0x500 [ 16.437647][ C0] handle_softirqs+0x218/0x620 [ 16.437652][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.437655][ C0] irq_exit_rcu+0xe/0x30 [ 16.437657][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.437660][ C0] [ 16.437661][ C0] [ 16.437663][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.437665][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.437669][ C0] Code: b0 b8 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 d0 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.437672][ C0] RSP: 0018:ffffffffba407df8 EFLAGS: 00000246 [ 16.437675][ C0] RAX: 0000000000000000 RBX: 1ffffffff7480fc3 RCX: ffffffffb9755a19 [ 16.437678][ C0] RDX: ffffed1006c0667b RSI: ffffffffb9a50c60 RDI: ffffffffb6f84d8f [ 16.437679][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c0667a [ 16.437681][ C0] R10: ffff8880360333d3 R11: ffff888001bacb58 R12: 0000000000000000 [ 16.437683][ C0] R13: ffffffffba41f240 R14: dffffc0000000000 R15: 0000000000014770 [ 16.437687][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.437691][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.437695][ C0] default_idle+0x9/0x10 [ 16.437697][ C0] default_idle_call+0x6d/0xb0 [ 16.437700][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.437703][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.437708][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.437714][ C0] do_idle+0xf6/0x160 [ 16.437718][ C0] cpu_startup_entry+0x54/0x60 [ 16.437722][ C0] rest_init+0x14b/0x260 [ 16.437725][ C0] start_kernel+0x350/0x410 [ 16.437729][ C0] x86_64_start_reservations+0x18/0x30 [ 16.437733][ C0] x86_64_start_kernel+0xba/0x110 [ 16.437736][ C0] common_startup_64+0x13e/0x148 [ 16.437744][ C0]