[ 13.145700][ C1] [ 13.145858][ C1] ================================ [ 13.146071][ C1] WARNING: inconsistent lock state [ 13.146275][ C1] 6.15.0-virtme #1 Not tainted [ 13.146480][ C1] -------------------------------- [ 13.146685][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.146942][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.147202][ C1] ffffffffa0fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.147566][ C1] {SOFTIRQ-ON-W} state was registered at: [ 13.147769][ C1] __lock_acquire+0x20b/0x7e0 [ 13.147980][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.148184][ C1] _raw_spin_lock+0x33/0x40 [ 13.148394][ C1] simple_pin_fs+0x24/0x150 [ 13.148605][ C1] start_creating.part.0+0x52/0x310 [ 13.148815][ C1] debugfs_create_dir+0x6a/0x540 [ 13.149023][ C1] component_debug_init+0x17/0x30 [ 13.149228][ C1] do_one_initcall+0x8f/0x1e0 [ 13.149437][ C1] do_initcalls+0x176/0x280 [ 13.149647][ C1] kernel_init_freeable+0x22d/0x300 [ 13.149853][ C1] kernel_init+0x20/0x200 [ 13.150057][ C1] ret_from_fork+0x240/0x320 [ 13.150265][ C1] ret_from_fork_asm+0x1a/0x30 [ 13.150468][ C1] irq event stamp: 384952 [ 13.150624][ C1] hardirqs last enabled at (384952): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.151031][ C1] hardirqs last disabled at (384951): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.151438][ C1] softirqs last enabled at (384240): [] handle_softirqs+0x358/0x620 [ 13.151798][ C1] softirqs last disabled at (384267): [] __irq_exit_rcu+0xfa/0x160 [ 13.152159][ C1] [ 13.152159][ C1] other info that might help us debug this: [ 13.152457][ C1] Possible unsafe locking scenario: [ 13.152457][ C1] [ 13.152760][ C1] CPU0 [ 13.152916][ C1] ---- [ 13.153077][ C1] lock(pin_fs_lock); [ 13.153236][ C1] [ 13.153390][ C1] lock(pin_fs_lock); [ 13.153548][ C1] [ 13.153548][ C1] *** DEADLOCK *** [ 13.153548][ C1] [ 13.153860][ C1] 1 lock held by swapper/1/0: [ 13.154066][ C1] #0: ffffffffa0d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.154432][ C1] [ 13.154432][ C1] stack backtrace: [ 13.154687][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.154691][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.154694][ C1] Call Trace: [ 13.154696][ C1] [ 13.154699][ C1] dump_stack_lvl+0x82/0xd0 [ 13.154706][ C1] print_usage_bug.part.0+0x25f/0x360 [ 13.154711][ C1] mark_lock_irq+0x343/0x400 [ 13.154715][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 13.154721][ C1] ? save_trace+0x52/0x170 [ 13.154726][ C1] mark_lock+0x174/0x2f0 [ 13.154730][ C1] mark_usage+0x46/0x150 [ 13.154733][ C1] __lock_acquire+0x20b/0x7e0 [ 13.154737][ C1] ? __lock_acquire+0x44d/0x7e0 [ 13.154741][ C1] lock_acquire.part.0+0xb6/0x240 [ 13.154744][ C1] ? simple_pin_fs+0x24/0x150 [ 13.154748][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.154754][ C1] ? lock_acquire+0x10c/0x170 [ 13.154757][ C1] ? simple_pin_fs+0x24/0x150 [ 13.154761][ C1] _raw_spin_lock+0x33/0x40 [ 13.154764][ C1] ? simple_pin_fs+0x24/0x150 [ 13.154767][ C1] simple_pin_fs+0x24/0x150 [ 13.154770][ C1] debugfs_remove+0x35/0x70 [ 13.154773][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.154779][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.154782][ C1] ? __sk_destruct+0x383/0x780 [ 13.154788][ C1] ? rcu_do_batch+0x34c/0xf20 [ 13.154791][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.154794][ C1] ? irq_exit_rcu+0xe/0x30 [ 13.154797][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.154803][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.154807][ C1] ? pv_native_safe_halt+0xf/0x20 [ 13.154810][ C1] ? default_idle+0x9/0x10 [ 13.154813][ C1] ? default_idle_call+0x6d/0xb0 [ 13.154815][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.154820][ C1] ? do_idle+0xf6/0x160 [ 13.154823][ C1] ? cpu_startup_entry+0x54/0x60 [ 13.154825][ C1] ? start_secondary+0x213/0x2a0 [ 13.154830][ C1] ? common_startup_64+0x13e/0x148 [ 13.154839][ C1] __put_net+0x19/0x60 [ 13.154843][ C1] __sk_destruct+0x58a/0x780 [ 13.154847][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.154850][ C1] rcu_do_batch+0x34c/0xf20 [ 13.154854][ C1] ? find_held_lock+0x2b/0x80 [ 13.154858][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.154861][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.154865][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.154869][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.154874][ C1] rcu_core+0x2bb/0x500 [ 13.154880][ C1] handle_softirqs+0x218/0x620 [ 13.154885][ C1] __irq_exit_rcu+0xfa/0x160 [ 13.154888][ C1] irq_exit_rcu+0xe/0x30 [ 13.154892][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.154895][ C1] [ 13.154896][ C1] [ 13.154898][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.154901][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.154905][ C1] 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 [ 13.154908][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 13.154911][ C1] RAX: 000000000005dd09 RBX: 1ffff92000026fc1 RCX: ffffffff9fda35d9 [ 13.154913][ C1] RDX: 0000000000000000 RSI: ffffffffa089175c RDI: ffffffffa0053ca0 [ 13.154915][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 13.154917][ C1] R10: ffff8880360b37d3 R11: ffffffffa0a11288 R12: 0000000000000000 [ 13.154918][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 13.154922][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.154927][ C1] default_idle+0x9/0x10 [ 13.154929][ C1] default_idle_call+0x6d/0xb0 [ 13.154932][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 13.154935][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.154940][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.154945][ C1] do_idle+0xf6/0x160 [ 13.154949][ C1] cpu_startup_entry+0x54/0x60 [ 13.154952][ C1] start_secondary+0x213/0x2a0 [ 13.154956][ C1] ? __pfx_start_secondary+0x10/0x10 [ 13.154961][ C1] common_startup_64+0x13e/0x148 [ 13.154968][ C1] [ 13.171327][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.171667][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 13.172000][ C1] preempt_count: 101, expected: 0 [ 13.172199][ C1] RCU nest depth: 0, expected: 0 [ 13.172390][ C1] INFO: lockdep is turned off. [ 13.172576][ C1] Preemption disabled at: [ 13.172578][ C1] [<0000000000000000>] 0x0 [ 13.172912][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.172917][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.172919][ C1] Call Trace: [ 13.172921][ C1] [ 13.172923][ C1] dump_stack_lvl+0xb0/0xd0 [ 13.172932][ C1] __might_resched+0x360/0x5a0 [ 13.172941][ C1] down_write+0x72/0x210 [ 13.172946][ C1] ? __pfx_down_write+0x10/0x10 [ 13.172949][ C1] ? simple_recursive_removal+0x33/0x610 [ 13.172955][ C1] ? rcu_is_watching+0x12/0xc0 [ 13.172962][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.172966][ C1] simple_recursive_removal+0x6a/0x610 [ 13.172970][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 13.172972][ C1] ? __pfx_remove_one+0x10/0x10 [ 13.172979][ C1] debugfs_remove+0x44/0x70 [ 13.172982][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 13.172987][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.172990][ C1] ? __sk_destruct+0x383/0x780 [ 13.172995][ C1] ? rcu_do_batch+0x34c/0xf20 [ 13.172999][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.173002][ C1] ? irq_exit_rcu+0xe/0x30 [ 13.173009][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.173013][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.173017][ C1] ? pv_native_safe_halt+0xf/0x20 [ 13.173021][ C1] ? default_idle+0x9/0x10 [ 13.173023][ C1] ? default_idle_call+0x6d/0xb0 [ 13.173026][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.173031][ C1] ? do_idle+0xf6/0x160 [ 13.173034][ C1] ? cpu_startup_entry+0x54/0x60 [ 13.173036][ C1] ? start_secondary+0x213/0x2a0 [ 13.173041][ C1] ? common_startup_64+0x13e/0x148 [ 13.173051][ C1] __put_net+0x19/0x60 [ 13.173056][ C1] __sk_destruct+0x58a/0x780 [ 13.173060][ C1] ? rcu_do_batch+0x34a/0xf20 [ 13.173063][ C1] rcu_do_batch+0x34c/0xf20 [ 13.173067][ C1] ? find_held_lock+0x2b/0x80 [ 13.173071][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.173075][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.173080][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.173084][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.173089][ C1] rcu_core+0x2bb/0x500 [ 13.173094][ C1] handle_softirqs+0x218/0x620 [ 13.173100][ C1] __irq_exit_rcu+0xfa/0x160 [ 13.173103][ C1] irq_exit_rcu+0xe/0x30 [ 13.173106][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.173110][ C1] [ 13.173111][ C1] [ 13.173112][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.173115][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.173119][ C1] 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 [ 13.173122][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 13.173126][ C1] RAX: 000000000005dd09 RBX: 1ffff92000026fc1 RCX: ffffffff9fda35d9 [ 13.173128][ C1] RDX: 0000000000000000 RSI: ffffffffa089175c RDI: ffffffffa0053ca0 [ 13.173130][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 13.173131][ C1] R10: ffff8880360b37d3 R11: ffffffffa0a11288 R12: 0000000000000000 [ 13.173133][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 13.173137][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.173142][ C1] default_idle+0x9/0x10 [ 13.173145][ C1] default_idle_call+0x6d/0xb0 [ 13.173147][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 13.173151][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.173155][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 13.173160][ C1] do_idle+0xf6/0x160 [ 13.173163][ C1] cpu_startup_entry+0x54/0x60 [ 13.173167][ C1] start_secondary+0x213/0x2a0 [ 13.173170][ C1] ? __pfx_start_secondary+0x10/0x10 [ 13.173175][ C1] common_startup_64+0x13e/0x148 [ 13.173182][ C1]