[ 16.231132][ C3] [ 16.231279][ C3] ================================ [ 16.231471][ C3] WARNING: inconsistent lock state [ 16.231662][ C3] 6.15.0-virtme #1 Not tainted [ 16.231854][ C3] -------------------------------- [ 16.232052][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.232283][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.232514][ C3] ffffffff99fc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.232852][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.233038][ C3] __lock_acquire+0x20b/0x7e0 [ 16.233236][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.233422][ C3] _raw_spin_lock+0x33/0x40 [ 16.233611][ C3] simple_pin_fs+0x24/0x150 [ 16.233806][ C3] start_creating.part.0+0x52/0x310 [ 16.233993][ C3] debugfs_create_dir+0x6a/0x540 [ 16.234177][ C3] component_debug_init+0x17/0x30 [ 16.234369][ C3] do_one_initcall+0x8f/0x1e0 [ 16.234557][ C3] do_initcalls+0x176/0x280 [ 16.234747][ C3] kernel_init_freeable+0x22d/0x300 [ 16.234933][ C3] kernel_init+0x20/0x200 [ 16.235119][ C3] ret_from_fork+0x240/0x320 [ 16.235309][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.235496][ C3] irq event stamp: 274916 [ 16.235639][ C3] hardirqs last enabled at (274916): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.236018][ C3] hardirqs last disabled at (274915): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.236391][ C3] softirqs last enabled at (274378): [] handle_softirqs+0x358/0x620 [ 16.236722][ C3] softirqs last disabled at (274391): [] __irq_exit_rcu+0xfa/0x160 [ 16.237051][ C3] [ 16.237051][ C3] other info that might help us debug this: [ 16.237326][ C3] Possible unsafe locking scenario: [ 16.237326][ C3] [ 16.237604][ C3] CPU0 [ 16.237744][ C3] ---- [ 16.237881][ C3] lock(pin_fs_lock); [ 16.238022][ C3] [ 16.238163][ C3] lock(pin_fs_lock); [ 16.238307][ C3] [ 16.238307][ C3] *** DEADLOCK *** [ 16.238307][ C3] [ 16.238583][ C3] 1 lock held by swapper/3/0: [ 16.238776][ C3] #0: ffffffff99d774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.239113][ C3] [ 16.239113][ C3] stack backtrace: [ 16.239346][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.239351][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.239353][ C3] Call Trace: [ 16.239356][ C3] [ 16.239358][ C3] dump_stack_lvl+0x82/0xd0 [ 16.239365][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.239371][ C3] mark_lock_irq+0x343/0x400 [ 16.239376][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.239382][ C3] ? save_trace+0x52/0x170 [ 16.239388][ C3] mark_lock+0x174/0x2f0 [ 16.239392][ C3] mark_usage+0x46/0x150 [ 16.239395][ C3] __lock_acquire+0x20b/0x7e0 [ 16.239398][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.239402][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.239406][ C3] ? simple_pin_fs+0x24/0x150 [ 16.239410][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.239415][ C3] ? lock_acquire+0x10c/0x170 [ 16.239418][ C3] ? simple_pin_fs+0x24/0x150 [ 16.239422][ C3] _raw_spin_lock+0x33/0x40 [ 16.239426][ C3] ? simple_pin_fs+0x24/0x150 [ 16.239429][ C3] simple_pin_fs+0x24/0x150 [ 16.239433][ C3] debugfs_remove+0x35/0x70 [ 16.239437][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.239444][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.239448][ C3] ? __sk_destruct+0x383/0x780 [ 16.239455][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.239458][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.239461][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.239464][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.239470][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.239475][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.239478][ C3] ? default_idle+0x9/0x10 [ 16.239481][ C3] ? default_idle_call+0x6d/0xb0 [ 16.239483][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.239487][ C3] ? do_idle+0xf6/0x160 [ 16.239490][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.239492][ C3] ? start_secondary+0x213/0x2a0 [ 16.239497][ C3] ? common_startup_64+0x13e/0x148 [ 16.239506][ C3] __put_net+0x19/0x60 [ 16.239510][ C3] __sk_destruct+0x58a/0x780 [ 16.239515][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.239517][ C3] rcu_do_batch+0x34c/0xf20 [ 16.239521][ C3] ? find_held_lock+0x2b/0x80 [ 16.239525][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.239528][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.239532][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.239536][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.239541][ C3] rcu_core+0x2bb/0x500 [ 16.239546][ C3] handle_softirqs+0x218/0x620 [ 16.239552][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.239555][ C3] irq_exit_rcu+0xe/0x30 [ 16.239558][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.239562][ C3] [ 16.239563][ C3] [ 16.239565][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.239567][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.239572][ C3] Code: a2 b5 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 47 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.239575][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.239578][ C3] RAX: 0000000000042fd5 RBX: 1ffff9200002afc1 RCX: ffffffff98d8f5d9 [ 16.239580][ C3] RDX: 0000000000000000 RSI: ffffffff9988f4e4 RDI: ffffffff99053be0 [ 16.239582][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.239583][ C3] R10: ffff8880361b37d3 R11: ffffffff99a11288 R12: 0000000000000000 [ 16.239585][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.239589][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.239594][ C3] default_idle+0x9/0x10 [ 16.239596][ C3] default_idle_call+0x6d/0xb0 [ 16.239599][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.239602][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.239606][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.239610][ C3] do_idle+0xf6/0x160 [ 16.239614][ C3] cpu_startup_entry+0x54/0x60 [ 16.239617][ C3] start_secondary+0x213/0x2a0 [ 16.239620][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.239625][ C3] common_startup_64+0x13e/0x148 [ 16.239632][ C3] [ 16.254572][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.254880][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.255183][ C3] preempt_count: 101, expected: 0 [ 16.255359][ C3] RCU nest depth: 0, expected: 0 [ 16.255530][ C3] INFO: lockdep is turned off. [ 16.255708][ C3] Preemption disabled at: [ 16.255710][ C3] [<0000000000000000>] 0x0 [ 16.256017][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.256022][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.256023][ C3] Call Trace: [ 16.256026][ C3] [ 16.256027][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.256036][ C3] __might_resched+0x360/0x5a0 [ 16.256044][ C3] down_write+0x72/0x210 [ 16.256048][ C3] ? __pfx_down_write+0x10/0x10 [ 16.256051][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.256056][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.256061][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.256068][ C3] simple_recursive_removal+0x6a/0x610 [ 16.256071][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.256074][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.256080][ C3] debugfs_remove+0x44/0x70 [ 16.256083][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.256089][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.256092][ C3] ? __sk_destruct+0x383/0x780 [ 16.256097][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.256100][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.256103][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.256108][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.256113][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.256117][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.256120][ C3] ? default_idle+0x9/0x10 [ 16.256123][ C3] ? default_idle_call+0x6d/0xb0 [ 16.256126][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.256130][ C3] ? do_idle+0xf6/0x160 [ 16.256132][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.256135][ C3] ? start_secondary+0x213/0x2a0 [ 16.256138][ C3] ? common_startup_64+0x13e/0x148 [ 16.256146][ C3] __put_net+0x19/0x60 [ 16.256150][ C3] __sk_destruct+0x58a/0x780 [ 16.256155][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.256157][ C3] rcu_do_batch+0x34c/0xf20 [ 16.256161][ C3] ? find_held_lock+0x2b/0x80 [ 16.256167][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.256170][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.256174][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.256177][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.256182][ C3] rcu_core+0x2bb/0x500 [ 16.256187][ C3] handle_softirqs+0x218/0x620 [ 16.256193][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.256196][ C3] irq_exit_rcu+0xe/0x30 [ 16.256198][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.256202][ C3] [ 16.256203][ C3] [ 16.256205][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.256208][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.256212][ C3] Code: a2 b5 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 47 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 16.256214][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.256217][ C3] RAX: 0000000000042fd5 RBX: 1ffff9200002afc1 RCX: ffffffff98d8f5d9 [ 16.256219][ C3] RDX: 0000000000000000 RSI: ffffffff9988f4e4 RDI: ffffffff99053be0 [ 16.256221][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.256222][ C3] R10: ffff8880361b37d3 R11: ffffffff99a11288 R12: 0000000000000000 [ 16.256224][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.256228][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.256232][ C3] default_idle+0x9/0x10 [ 16.256235][ C3] default_idle_call+0x6d/0xb0 [ 16.256238][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.256241][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.256245][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.256249][ C3] do_idle+0xf6/0x160 [ 16.256252][ C3] cpu_startup_entry+0x54/0x60 [ 16.256255][ C3] start_secondary+0x213/0x2a0 [ 16.256258][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.256262][ C3] common_startup_64+0x13e/0x148 [ 16.256269][ C3] [ 18.643774][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.644174][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.644519][ C2] preempt_count: 101, expected: 0 [ 18.644732][ C2] RCU nest depth: 0, expected: 0 [ 18.644930][ C2] INFO: lockdep is turned off. [ 18.645119][ C2] Preemption disabled at: [ 18.645121][ C2] [<0000000000000000>] 0x0 [ 18.645472][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.645479][ C2] Tainted: [W]=WARN [ 18.645480][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.645483][ C2] Call Trace: [ 18.645485][ C2] [ 18.645487][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.645499][ C2] __might_resched+0x360/0x5a0 [ 18.645508][ C2] down_write+0x72/0x210 [ 18.645514][ C2] ? __pfx_down_write+0x10/0x10 [ 18.645517][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.645523][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.645530][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.645537][ C2] simple_recursive_removal+0x6a/0x610 [ 18.645540][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.645543][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.645550][ C2] debugfs_remove+0x44/0x70 [ 18.645553][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.645560][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.645564][ C2] ? __sk_destruct+0x383/0x780 [ 18.645571][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.645575][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.645579][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.645585][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.645592][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.645596][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.645600][ C2] ? default_idle+0x9/0x10 [ 18.645603][ C2] ? default_idle_call+0x6d/0xb0 [ 18.645605][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.645611][ C2] ? do_idle+0xf6/0x160 [ 18.645614][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.645618][ C2] ? start_secondary+0x213/0x2a0 [ 18.645624][ C2] ? common_startup_64+0x13e/0x148 [ 18.645631][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.645639][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.645643][ C2] __put_net+0x19/0x60 [ 18.645649][ C2] __sk_destruct+0x58a/0x780 [ 18.645653][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.645656][ C2] rcu_do_batch+0x34c/0xf20 [ 18.645661][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.645665][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.645669][ C2] rcu_core+0x2bb/0x500 [ 18.645675][ C2] handle_softirqs+0x218/0x620 [ 18.645680][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.645683][ C2] irq_exit_rcu+0xe/0x30 [ 18.645686][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.645690][ C2] [ 18.645691][ C2] [ 18.645693][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.645696][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.645700][ C2] Code: a2 b5 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 47 10 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 18.645703][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.645707][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff98d8f5d9 [ 18.645709][ C2] RDX: ffffed1006c266fb RSI: ffffffff99053b60 RDI: ffffffff9658d18f [ 18.645711][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.645713][ C2] R10: ffff8880361337d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 18.645715][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.645719][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.645723][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.645727][ C2] default_idle+0x9/0x10 [ 18.645730][ C2] default_idle_call+0x6d/0xb0 [ 18.645732][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.645735][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.645740][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.645744][ C2] do_idle+0xf6/0x160 [ 18.645747][ C2] cpu_startup_entry+0x54/0x60 [ 18.645750][ C2] start_secondary+0x213/0x2a0 [ 18.645753][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.645758][ C2] common_startup_64+0x13e/0x148 [ 18.645765][ C2]