[ 14.624760][ C3] [ 14.624971][ C3] ================================ [ 14.625156][ C3] WARNING: inconsistent lock state [ 14.625337][ C3] 6.15.0-rc5-virtme #1 Not tainted [ 14.625516][ C3] -------------------------------- [ 14.625700][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.625918][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.626143][ C3] ffffffffa85bf978 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.626464][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.626644][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.626835][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.627012][ C3] _raw_spin_lock+0x33/0x40 [ 14.627188][ C3] simple_pin_fs+0x24/0x150 [ 14.627366][ C3] start_creating.part.0+0x3f/0x2f0 [ 14.627543][ C3] debugfs_create_dir+0x6a/0x540 [ 14.627725][ C3] component_debug_init+0x17/0x30 [ 14.627904][ C3] do_one_initcall+0x8c/0x1e0 [ 14.628082][ C3] do_initcalls+0x176/0x280 [ 14.628259][ C3] kernel_init_freeable+0x22d/0x300 [ 14.628436][ C3] kernel_init+0x20/0x200 [ 14.628614][ C3] ret_from_fork+0x31/0x70 [ 14.628798][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.628974][ C3] irq event stamp: 301520 [ 14.629116][ C3] hardirqs last enabled at (301520): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.629477][ C3] hardirqs last disabled at (301519): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.629834][ C3] softirqs last enabled at (300990): [] handle_softirqs+0x358/0x620 [ 14.630148][ C3] softirqs last disabled at (301003): [] __irq_exit_rcu+0xfa/0x160 [ 14.630460][ C3] [ 14.630460][ C3] other info that might help us debug this: [ 14.630719][ C3] Possible unsafe locking scenario: [ 14.630719][ C3] [ 14.630978][ C3] CPU0 [ 14.631113][ C3] ---- [ 14.631248][ C3] lock(pin_fs_lock); [ 14.631384][ C3] [ 14.631518][ C3] lock(pin_fs_lock); [ 14.631655][ C3] [ 14.631655][ C3] *** DEADLOCK *** [ 14.631655][ C3] [ 14.631915][ C3] 1 lock held by swapper/3/0: [ 14.632097][ C3] #0: ffffffffa8374480 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.632418][ C3] [ 14.632418][ C3] stack backtrace: [ 14.632641][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.632645][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.632647][ C3] Call Trace: [ 14.632649][ C3] [ 14.632651][ C3] dump_stack_lvl+0x82/0xd0 [ 14.632656][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.632661][ C3] mark_lock_irq+0x343/0x400 [ 14.632666][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.632671][ C3] ? save_trace+0x52/0x170 [ 14.632676][ C3] mark_lock+0x174/0x2f0 [ 14.632680][ C3] mark_usage+0x46/0x150 [ 14.632683][ C3] __lock_acquire+0x3eb/0x9d0 [ 14.632689][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.632692][ C3] ? simple_pin_fs+0x24/0x150 [ 14.632696][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.632702][ C3] ? lock_acquire+0x10c/0x170 [ 14.632705][ C3] ? simple_pin_fs+0x24/0x150 [ 14.632710][ C3] _raw_spin_lock+0x33/0x40 [ 14.632713][ C3] ? simple_pin_fs+0x24/0x150 [ 14.632716][ C3] simple_pin_fs+0x24/0x150 [ 14.632720][ C3] debugfs_remove+0x35/0x70 [ 14.632723][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.632728][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.632731][ C3] ? __sk_destruct+0x383/0x780 [ 14.632736][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.632739][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.632742][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.632744][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.632749][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.632753][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.632756][ C3] ? default_idle+0x9/0x10 [ 14.632758][ C3] ? default_idle_call+0x6d/0xb0 [ 14.632760][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.632764][ C3] ? do_idle+0xf6/0x160 [ 14.632767][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.632770][ C3] ? start_secondary+0x213/0x2a0 [ 14.632775][ C3] ? common_startup_64+0x13e/0x148 [ 14.632782][ C3] __put_net+0x19/0x60 [ 14.632785][ C3] __sk_destruct+0x58a/0x780 [ 14.632789][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.632792][ C3] rcu_do_batch+0x34c/0xf20 [ 14.632796][ C3] ? find_held_lock+0x2b/0x80 [ 14.632800][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.632803][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.632806][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.632810][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.632814][ C3] rcu_core+0x2bb/0x500 [ 14.632818][ C3] handle_softirqs+0x218/0x620 [ 14.632822][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.632825][ C3] irq_exit_rcu+0xe/0x30 [ 14.632827][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.632830][ C3] [ 14.632831][ C3] [ 14.632833][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.632836][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.632840][ 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.632843][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.632846][ C3] RAX: 00000000000497c9 RBX: 1ffff9200002afc1 RCX: ffffffffa7355a19 [ 14.632848][ C3] RDX: 0000000000000000 RSI: ffffffffa7e85f31 RDI: ffffffffa7650ce0 [ 14.632850][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef667a [ 14.632852][ C3] R10: ffff88802f7b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.632853][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.632857][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.632863][ C3] default_idle+0x9/0x10 [ 14.632865][ C3] default_idle_call+0x6d/0xb0 [ 14.632867][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.632871][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.632875][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.632880][ C3] do_idle+0xf6/0x160 [ 14.632884][ C3] cpu_startup_entry+0x54/0x60 [ 14.632887][ C3] start_secondary+0x213/0x2a0 [ 14.632890][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.632895][ C3] common_startup_64+0x13e/0x148 [ 14.632901][ C3] [ 14.646855][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.647152][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.647442][ C3] preempt_count: 101, expected: 0 [ 14.647608][ C3] RCU nest depth: 0, expected: 0 [ 14.647774][ C3] INFO: lockdep is turned off. [ 14.647948][ C3] Preemption disabled at: [ 14.647950][ C3] [<0000000000000000>] 0x0 [ 14.648244][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-rc5-virtme #1 PREEMPT(full) [ 14.648248][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.648250][ C3] Call Trace: [ 14.648251][ C3] [ 14.648253][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.648258][ C3] __might_resched+0x360/0x5a0 [ 14.648264][ C3] down_write+0x72/0x210 [ 14.648267][ C3] ? __pfx_down_write+0x10/0x10 [ 14.648270][ C3] ? simple_recursive_removal+0x3a/0x860 [ 14.648274][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.648280][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.648284][ C3] simple_recursive_removal+0x166/0x860 [ 14.648286][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.648290][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.648294][ C3] debugfs_remove+0x44/0x70 [ 14.648301][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.648305][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.648308][ C3] ? __sk_destruct+0x383/0x780 [ 14.648313][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.648316][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.648319][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.648322][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.648325][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.648328][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.648331][ C3] ? default_idle+0x9/0x10 [ 14.648334][ C3] ? default_idle_call+0x6d/0xb0 [ 14.648336][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.648340][ C3] ? do_idle+0xf6/0x160 [ 14.648343][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.648346][ C3] ? start_secondary+0x213/0x2a0 [ 14.648350][ C3] ? common_startup_64+0x13e/0x148 [ 14.648356][ C3] __put_net+0x19/0x60 [ 14.648358][ C3] __sk_destruct+0x58a/0x780 [ 14.648362][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.648365][ C3] rcu_do_batch+0x34c/0xf20 [ 14.648369][ C3] ? find_held_lock+0x2b/0x80 [ 14.648373][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.648376][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.648380][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.648384][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.648388][ C3] rcu_core+0x2bb/0x500 [ 14.648392][ C3] handle_softirqs+0x218/0x620 [ 14.648396][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.648399][ C3] irq_exit_rcu+0xe/0x30 [ 14.648401][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.648404][ C3] [ 14.648406][ C3] [ 14.648407][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.648410][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.648413][ 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.648416][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.648419][ C3] RAX: 00000000000497c9 RBX: 1ffff9200002afc1 RCX: ffffffffa7355a19 [ 14.648421][ C3] RDX: 0000000000000000 RSI: ffffffffa7e85f31 RDI: ffffffffa7650ce0 [ 14.648423][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ef667a [ 14.648424][ C3] R10: ffff88802f7b33d3 R11: 0000000000000000 R12: 0000000000000000 [ 14.648426][ C3] R13: ffff888001bb4640 R14: dffffc0000000000 R15: 0000000000000000 [ 14.648430][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.648435][ C3] default_idle+0x9/0x10 [ 14.648437][ C3] default_idle_call+0x6d/0xb0 [ 14.648440][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.648443][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.648447][ C3] ? tsc_verify_tsc_adjust+0x98/0x300 [ 14.648452][ C3] do_idle+0xf6/0x160 [ 14.648456][ C3] cpu_startup_entry+0x54/0x60 [ 14.648460][ C3] start_secondary+0x213/0x2a0 [ 14.648463][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.648468][ C3] common_startup_64+0x13e/0x148 [ 14.648474][ C3] [ 16.279822][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.280187][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.280500][ C2] preempt_count: 101, expected: 0 [ 16.280678][ C2] RCU nest depth: 0, expected: 0 [ 16.280858][ C2] INFO: lockdep is turned off. [ 16.281032][ C2] Preemption disabled at: [ 16.281034][ C2] [<0000000000000000>] 0x0 [ 16.281367][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-rc5-virtme #1 PREEMPT(full) [ 16.281372][ C2] Tainted: [W]=WARN [ 16.281374][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.281376][ C2] Call Trace: [ 16.281377][ C2] [ 16.281379][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.281387][ C2] __might_resched+0x360/0x5a0 [ 16.281394][ C2] down_write+0x72/0x210 [ 16.281398][ C2] ? __pfx_down_write+0x10/0x10 [ 16.281400][ C2] ? simple_recursive_removal+0x3a/0x860 [ 16.281405][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.281411][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.281416][ C2] simple_recursive_removal+0x166/0x860 [ 16.281418][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.281423][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.281427][ C2] debugfs_remove+0x44/0x70 [ 16.281430][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.281435][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.281438][ C2] ? __sk_destruct+0x383/0x780 [ 16.281443][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.281448][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.281450][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.281454][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.281459][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.281463][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.281466][ C2] ? default_idle+0x9/0x10 [ 16.281468][ C2] ? default_idle_call+0x6d/0xb0 [ 16.281471][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.281475][ C2] ? do_idle+0xf6/0x160 [ 16.281478][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.281481][ C2] ? start_secondary+0x213/0x2a0 [ 16.281486][ C2] ? common_startup_64+0x13e/0x148 [ 16.281490][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.281494][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.281499][ C2] __put_net+0x19/0x60 [ 16.281502][ C2] __sk_destruct+0x58a/0x780 [ 16.281506][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.281509][ C2] rcu_do_batch+0x34c/0xf20 [ 16.281514][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.281518][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.281523][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.281528][ C2] rcu_core+0x2bb/0x500 [ 16.281532][ C2] handle_softirqs+0x218/0x620 [ 16.281536][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.281539][ C2] irq_exit_rcu+0xe/0x30 [ 16.281541][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.281544][ C2] [ 16.281545][ C2] [ 16.281547][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.281550][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.281553][ C2] 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.281556][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.281560][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa7355a19 [ 16.281562][ C2] RDX: ffffed1005ee667b RSI: ffffffffa7650c60 RDI: ffffffffa4b84d8f [ 16.281564][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ee667a [ 16.281565][ C2] R10: ffff88802f7333d3 R11: ffff88800c06cb58 R12: 0000000000000000 [ 16.281567][ C2] R13: ffff888001bb2340 R14: dffffc0000000000 R15: 0000000000000000 [ 16.281571][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.281575][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.281580][ C2] default_idle+0x9/0x10 [ 16.281582][ C2] default_idle_call+0x6d/0xb0 [ 16.281584][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.281588][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.281592][ C2] ? tsc_verify_tsc_adjust+0x98/0x300 [ 16.281597][ C2] do_idle+0xf6/0x160 [ 16.281601][ C2] cpu_startup_entry+0x54/0x60 [ 16.281605][ C2] start_secondary+0x213/0x2a0 [ 16.281608][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.281613][ C2] common_startup_64+0x13e/0x148 [ 16.281619][ C2]