[ 14.640945][ C2] [ 14.641141][ C2] ================================ [ 14.641330][ C2] WARNING: inconsistent lock state [ 14.641517][ C2] 6.15.0-virtme #1 Not tainted [ 14.641702][ C2] -------------------------------- [ 14.641885][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.642115][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.642345][ C2] ffffffffaafc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.642680][ C2] {SOFTIRQ-ON-W} state was registered at: [ 14.642865][ C2] __lock_acquire+0x20b/0x7e0 [ 14.643059][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.643248][ C2] _raw_spin_lock+0x33/0x40 [ 14.643438][ C2] simple_pin_fs+0x24/0x150 [ 14.643624][ C2] start_creating.part.0+0x52/0x310 [ 14.643813][ C2] debugfs_create_dir+0x6a/0x540 [ 14.644002][ C2] component_debug_init+0x17/0x30 [ 14.644190][ C2] do_one_initcall+0x8f/0x1e0 [ 14.644380][ C2] do_initcalls+0x176/0x280 [ 14.644565][ C2] kernel_init_freeable+0x22d/0x300 [ 14.644753][ C2] kernel_init+0x20/0x200 [ 14.644940][ C2] ret_from_fork+0x240/0x320 [ 14.645127][ C2] ret_from_fork_asm+0x1a/0x30 [ 14.645311][ C2] irq event stamp: 291030 [ 14.645453][ C2] hardirqs last enabled at (291030): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.645824][ C2] hardirqs last disabled at (291029): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.646207][ C2] softirqs last enabled at (290012): [] handle_softirqs+0x358/0x620 [ 14.646536][ C2] softirqs last disabled at (290019): [] __irq_exit_rcu+0xfa/0x160 [ 14.646862][ C2] [ 14.646862][ C2] other info that might help us debug this: [ 14.647134][ C2] Possible unsafe locking scenario: [ 14.647134][ C2] [ 14.647411][ C2] CPU0 [ 14.647551][ C2] ---- [ 14.647685][ C2] lock(pin_fs_lock); [ 14.647829][ C2] [ 14.647968][ C2] lock(pin_fs_lock); [ 14.648117][ C2] [ 14.648117][ C2] *** DEADLOCK *** [ 14.648117][ C2] [ 14.648390][ C2] 1 lock held by swapper/2/0: [ 14.648580][ C2] #0: ffffffffaad774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.648913][ C2] [ 14.648913][ C2] stack backtrace: [ 14.649145][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.649149][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.649151][ C2] Call Trace: [ 14.649153][ C2] [ 14.649155][ C2] dump_stack_lvl+0x82/0xd0 [ 14.649162][ C2] print_usage_bug.part.0+0x25f/0x360 [ 14.649167][ C2] mark_lock_irq+0x343/0x400 [ 14.649172][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.649176][ C2] ? save_trace+0x52/0x170 [ 14.649182][ C2] mark_lock+0x174/0x2f0 [ 14.649185][ C2] mark_usage+0x46/0x150 [ 14.649188][ C2] __lock_acquire+0x20b/0x7e0 [ 14.649191][ C2] ? __lock_acquire+0x44d/0x7e0 [ 14.649195][ C2] lock_acquire.part.0+0xb6/0x240 [ 14.649198][ C2] ? simple_pin_fs+0x24/0x150 [ 14.649203][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.649207][ C2] ? lock_acquire+0x10c/0x170 [ 14.649209][ C2] ? simple_pin_fs+0x24/0x150 [ 14.649214][ C2] _raw_spin_lock+0x33/0x40 [ 14.649217][ C2] ? simple_pin_fs+0x24/0x150 [ 14.649220][ C2] simple_pin_fs+0x24/0x150 [ 14.649225][ C2] debugfs_remove+0x35/0x70 [ 14.649227][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.649233][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.649237][ C2] ? __sk_destruct+0x383/0x780 [ 14.649243][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.649246][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.649249][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.649252][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.649256][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.649260][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.649263][ C2] ? default_idle+0x9/0x10 [ 14.649265][ C2] ? default_idle_call+0x6d/0xb0 [ 14.649268][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.649271][ C2] ? do_idle+0xf6/0x160 [ 14.649273][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.649276][ C2] ? start_secondary+0x213/0x2a0 [ 14.649279][ C2] ? common_startup_64+0x13e/0x148 [ 14.649286][ C2] __put_net+0x19/0x60 [ 14.649290][ C2] __sk_destruct+0x58a/0x780 [ 14.649294][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.649296][ C2] rcu_do_batch+0x34c/0xf20 [ 14.649300][ C2] ? find_held_lock+0x2b/0x80 [ 14.649304][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.649307][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.649311][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.649313][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.649318][ C2] rcu_core+0x2bb/0x500 [ 14.649323][ C2] handle_softirqs+0x218/0x620 [ 14.649328][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.649331][ C2] irq_exit_rcu+0xe/0x30 [ 14.649334][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.649337][ C2] [ 14.649338][ C2] [ 14.649340][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.649343][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.649347][ C2] Code: 92 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 37 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 [ 14.649349][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 14.649352][ C2] RAX: 0000000000046ce1 RBX: 1ffff92000028fc1 RCX: ffffffffa9d905d9 [ 14.649354][ C2] RDX: 0000000000000000 RSI: ffffffffaa88f4e4 RDI: ffffffffaa053be0 [ 14.649356][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.649358][ C2] R10: ffff8880361337d3 R11: ffffffffaaa11288 R12: 0000000000000000 [ 14.649359][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.649363][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.649368][ C2] default_idle+0x9/0x10 [ 14.649370][ C2] default_idle_call+0x6d/0xb0 [ 14.649373][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.649376][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.649380][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.649384][ C2] do_idle+0xf6/0x160 [ 14.649387][ C2] cpu_startup_entry+0x54/0x60 [ 14.649390][ C2] start_secondary+0x213/0x2a0 [ 14.649393][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.649398][ C2] common_startup_64+0x13e/0x148 [ 14.649405][ C2] [ 14.664568][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.664990][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 14.665417][ C2] preempt_count: 101, expected: 0 [ 14.665601][ C2] RCU nest depth: 0, expected: 0 [ 14.665785][ C2] INFO: lockdep is turned off. [ 14.666091][ C2] Preemption disabled at: [ 14.666093][ C2] [<0000000000000000>] 0x0 [ 14.666424][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.666428][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.666430][ C2] Call Trace: [ 14.666431][ C2] [ 14.666434][ C2] dump_stack_lvl+0xb0/0xd0 [ 14.666441][ C2] __might_resched+0x360/0x5a0 [ 14.666447][ C2] down_write+0x72/0x210 [ 14.666451][ C2] ? __pfx_down_write+0x10/0x10 [ 14.666454][ C2] ? simple_recursive_removal+0x33/0x610 [ 14.666458][ C2] ? rcu_is_watching+0x12/0xc0 [ 14.666463][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.666468][ C2] simple_recursive_removal+0x6a/0x610 [ 14.666471][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 14.666474][ C2] ? __pfx_remove_one+0x10/0x10 [ 14.666480][ C2] debugfs_remove+0x44/0x70 [ 14.666483][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 14.666488][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.666491][ C2] ? __sk_destruct+0x383/0x780 [ 14.666496][ C2] ? rcu_do_batch+0x34c/0xf20 [ 14.666499][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.666502][ C2] ? irq_exit_rcu+0xe/0x30 [ 14.666507][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.666511][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.666514][ C2] ? pv_native_safe_halt+0xf/0x20 [ 14.666518][ C2] ? default_idle+0x9/0x10 [ 14.666520][ C2] ? default_idle_call+0x6d/0xb0 [ 14.666523][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.666526][ C2] ? do_idle+0xf6/0x160 [ 14.666529][ C2] ? cpu_startup_entry+0x54/0x60 [ 14.666531][ C2] ? start_secondary+0x213/0x2a0 [ 14.666534][ C2] ? common_startup_64+0x13e/0x148 [ 14.666541][ C2] __put_net+0x19/0x60 [ 14.666545][ C2] __sk_destruct+0x58a/0x780 [ 14.666549][ C2] ? rcu_do_batch+0x34a/0xf20 [ 14.666551][ C2] rcu_do_batch+0x34c/0xf20 [ 14.666555][ C2] ? find_held_lock+0x2b/0x80 [ 14.666560][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.666563][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.666567][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.666570][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.666575][ C2] rcu_core+0x2bb/0x500 [ 14.666579][ C2] handle_softirqs+0x218/0x620 [ 14.666584][ C2] __irq_exit_rcu+0xfa/0x160 [ 14.666587][ C2] irq_exit_rcu+0xe/0x30 [ 14.666590][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.666594][ C2] [ 14.666595][ C2] [ 14.666596][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.666599][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.666603][ C2] Code: 92 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 37 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 [ 14.666605][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 14.666608][ C2] RAX: 0000000000046ce1 RBX: 1ffff92000028fc1 RCX: ffffffffa9d905d9 [ 14.666610][ C2] RDX: 0000000000000000 RSI: ffffffffaa88f4e4 RDI: ffffffffaa053be0 [ 14.666612][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 14.666614][ C2] R10: ffff8880361337d3 R11: ffffffffaaa11288 R12: 0000000000000000 [ 14.666615][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 14.666619][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.666624][ C2] default_idle+0x9/0x10 [ 14.666626][ C2] default_idle_call+0x6d/0xb0 [ 14.666629][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 14.666632][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.666636][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.666640][ C2] do_idle+0xf6/0x160 [ 14.666644][ C2] cpu_startup_entry+0x54/0x60 [ 14.666647][ C2] start_secondary+0x213/0x2a0 [ 14.666649][ C2] ? __pfx_start_secondary+0x10/0x10 [ 14.666654][ C2] common_startup_64+0x13e/0x148 [ 14.666661][ C2] [ 16.241618][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.242100][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.242588][ C3] preempt_count: 101, expected: 0 [ 16.242873][ C3] RCU nest depth: 0, expected: 0 [ 16.243192][ C3] INFO: lockdep is turned off. [ 16.243475][ C3] Preemption disabled at: [ 16.243479][ C3] [<0000000000000000>] 0x0 [ 16.243983][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.243992][ C3] Tainted: [W]=WARN [ 16.243994][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.243997][ C3] Call Trace: [ 16.244000][ C3] [ 16.244003][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.244017][ C3] __might_resched+0x360/0x5a0 [ 16.244026][ C3] down_write+0x72/0x210 [ 16.244032][ C3] ? __pfx_down_write+0x10/0x10 [ 16.244037][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.244043][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.244051][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.244060][ C3] simple_recursive_removal+0x6a/0x610 [ 16.244065][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.244070][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.244079][ C3] debugfs_remove+0x44/0x70 [ 16.244084][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.244092][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.244097][ C3] ? __sk_destruct+0x383/0x780 [ 16.244104][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.244109][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.244115][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.244122][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.244129][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.244135][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.244140][ C3] ? default_idle+0x9/0x10 [ 16.244145][ C3] ? default_idle_call+0x6d/0xb0 [ 16.244149][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.244154][ C3] ? do_idle+0xf6/0x160 [ 16.244158][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.244162][ C3] ? start_secondary+0x213/0x2a0 [ 16.244167][ C3] ? common_startup_64+0x13e/0x148 [ 16.244175][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.244181][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.244189][ C3] __put_net+0x19/0x60 [ 16.244195][ C3] __sk_destruct+0x58a/0x780 [ 16.244202][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.244206][ C3] rcu_do_batch+0x34c/0xf20 [ 16.244215][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.244222][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.244230][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.244240][ C3] rcu_core+0x2bb/0x500 [ 16.244247][ C3] handle_softirqs+0x218/0x620 [ 16.244257][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.244262][ C3] irq_exit_rcu+0xe/0x30 [ 16.244266][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.244273][ C3] [ 16.244275][ C3] [ 16.244277][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.244282][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.244288][ C3] Code: 92 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 37 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.244292][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.244298][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa9d905d9 [ 16.244301][ C3] RDX: ffffed1006c366fb RSI: ffffffffaa053b60 RDI: ffffffffa758d18f [ 16.244305][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.244308][ C3] R10: ffff8880361b37d3 R11: ffff888001ef8558 R12: 0000000000000000 [ 16.244310][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.244318][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.244323][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.244330][ C3] default_idle+0x9/0x10 [ 16.244335][ C3] default_idle_call+0x6d/0xb0 [ 16.244339][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.244345][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.244351][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.244359][ C3] do_idle+0xf6/0x160 [ 16.244366][ C3] cpu_startup_entry+0x54/0x60 [ 16.244371][ C3] start_secondary+0x213/0x2a0 [ 16.244376][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.244384][ C3] common_startup_64+0x13e/0x148 [ 16.244397][ C3]