[ 25.301201][ C2] [ 25.301426][ C2] ================================ [ 25.301720][ C2] WARNING: inconsistent lock state [ 25.302043][ C2] 6.15.0-virtme #1 Not tainted [ 25.302365][ C2] -------------------------------- [ 25.302697][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 25.303107][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 25.303497][ C2] ffffffffb8dc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 25.304041][ C2] {SOFTIRQ-ON-W} state was registered at: [ 25.304359][ C2] __lock_acquire+0x20b/0x7e0 [ 25.304691][ C2] lock_acquire.part.0+0xb6/0x240 [ 25.305018][ C2] _raw_spin_lock+0x33/0x40 [ 25.305353][ C2] simple_pin_fs+0x24/0x150 [ 25.305690][ C2] start_creating.part.0+0x52/0x310 [ 25.306026][ C2] debugfs_create_dir+0x6a/0x540 [ 25.306355][ C2] component_debug_init+0x17/0x30 [ 25.306691][ C2] do_one_initcall+0x8f/0x1e0 [ 25.307027][ C2] do_initcalls+0x176/0x280 [ 25.307362][ C2] kernel_init_freeable+0x22d/0x300 [ 25.307696][ C2] kernel_init+0x20/0x200 [ 25.308024][ C2] ret_from_fork+0x240/0x320 [ 25.308366][ C2] ret_from_fork_asm+0x1a/0x30 [ 25.308701][ C2] irq event stamp: 296312 [ 25.308954][ C2] hardirqs last enabled at (296312): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 25.309623][ C2] hardirqs last disabled at (296311): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 25.310289][ C2] softirqs last enabled at (295764): [] handle_softirqs+0x358/0x620 [ 25.310821][ C2] softirqs last disabled at (295781): [] __irq_exit_rcu+0xfa/0x160 [ 25.311250][ C2] [ 25.311250][ C2] other info that might help us debug this: [ 25.311550][ C2] Possible unsafe locking scenario: [ 25.311550][ C2] [ 25.311838][ C2] CPU0 [ 25.311998][ C2] ---- [ 25.312143][ C2] lock(pin_fs_lock); [ 25.312289][ C2] [ 25.312433][ C2] lock(pin_fs_lock); [ 25.312581][ C2] [ 25.312581][ C2] *** DEADLOCK *** [ 25.312581][ C2] [ 25.312860][ C2] 1 lock held by swapper/2/0: [ 25.313140][ C2] #0: ffffffffb8b774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 25.313501][ C2] [ 25.313501][ C2] stack backtrace: [ 25.313738][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 25.313744][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.313747][ C2] Call Trace: [ 25.313749][ C2] [ 25.313752][ C2] dump_stack_lvl+0x82/0xd0 [ 25.313762][ C2] print_usage_bug.part.0+0x25f/0x360 [ 25.313769][ C2] mark_lock_irq+0x343/0x400 [ 25.313774][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 25.313780][ C2] ? save_trace+0x52/0x170 [ 25.313786][ C2] mark_lock+0x174/0x2f0 [ 25.313790][ C2] mark_usage+0x46/0x150 [ 25.313793][ C2] __lock_acquire+0x20b/0x7e0 [ 25.313796][ C2] ? __lock_acquire+0x44d/0x7e0 [ 25.313801][ C2] lock_acquire.part.0+0xb6/0x240 [ 25.313804][ C2] ? simple_pin_fs+0x24/0x150 [ 25.313810][ C2] ? rcu_is_watching+0x12/0xc0 [ 25.313815][ C2] ? lock_acquire+0x10c/0x170 [ 25.313818][ C2] ? simple_pin_fs+0x24/0x150 [ 25.313822][ C2] _raw_spin_lock+0x33/0x40 [ 25.313827][ C2] ? simple_pin_fs+0x24/0x150 [ 25.313830][ C2] simple_pin_fs+0x24/0x150 [ 25.313834][ C2] debugfs_remove+0x35/0x70 [ 25.313840][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 25.313847][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 25.313851][ C2] ? __sk_destruct+0x383/0x780 [ 25.313858][ C2] ? rcu_do_batch+0x34c/0xf20 [ 25.313861][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 25.313864][ C2] ? irq_exit_rcu+0xe/0x30 [ 25.313867][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 25.313873][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 25.313877][ C2] ? pv_native_safe_halt+0xf/0x20 [ 25.313880][ C2] ? default_idle+0x9/0x10 [ 25.313883][ C2] ? default_idle_call+0x6d/0xb0 [ 25.313886][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 25.313890][ C2] ? do_idle+0xf6/0x160 [ 25.313893][ C2] ? cpu_startup_entry+0x54/0x60 [ 25.313896][ C2] ? start_secondary+0x213/0x2a0 [ 25.313900][ C2] ? common_startup_64+0x13e/0x148 [ 25.313909][ C2] __put_net+0x19/0x60 [ 25.313913][ C2] __sk_destruct+0x58a/0x780 [ 25.313917][ C2] ? rcu_do_batch+0x34a/0xf20 [ 25.313920][ C2] rcu_do_batch+0x34c/0xf20 [ 25.313926][ C2] ? find_held_lock+0x2b/0x80 [ 25.313932][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 25.313938][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 25.313943][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 25.313948][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 25.313953][ C2] rcu_core+0x2bb/0x500 [ 25.313959][ C2] handle_softirqs+0x218/0x620 [ 25.313964][ C2] __irq_exit_rcu+0xfa/0x160 [ 25.313968][ C2] irq_exit_rcu+0xe/0x30 [ 25.313971][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 25.313975][ C2] [ 25.313976][ C2] [ 25.313978][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 25.313981][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 25.313986][ 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 [ 25.313988][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 25.313992][ C2] RAX: 0000000000048363 RBX: 1ffff92000028fc1 RCX: ffffffffb7b905d9 [ 25.313994][ C2] RDX: 0000000000000000 RSI: ffffffffb868f4e4 RDI: ffffffffb7e53be0 [ 25.313996][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 25.313998][ C2] R10: ffff8880361337d3 R11: ffffffffb8811288 R12: 0000000000000000 [ 25.314000][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 25.314004][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 25.314008][ C2] default_idle+0x9/0x10 [ 25.314011][ C2] default_idle_call+0x6d/0xb0 [ 25.314013][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 25.314017][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 25.314021][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 25.314025][ C2] do_idle+0xf6/0x160 [ 25.314029][ C2] cpu_startup_entry+0x54/0x60 [ 25.314032][ C2] start_secondary+0x213/0x2a0 [ 25.314035][ C2] ? __pfx_start_secondary+0x10/0x10 [ 25.314040][ C2] common_startup_64+0x13e/0x148 [ 25.314047][ C2] [ 25.331392][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 25.331762][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 25.332131][ C2] preempt_count: 101, expected: 0 [ 25.332349][ C2] RCU nest depth: 0, expected: 0 [ 25.332780][ C2] INFO: lockdep is turned off. [ 25.333003][ C2] Preemption disabled at: [ 25.333005][ C2] [<0000000000000000>] 0x0 [ 25.333406][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 25.333412][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 25.333414][ C2] Call Trace: [ 25.333417][ C2] [ 25.333420][ C2] dump_stack_lvl+0xb0/0xd0 [ 25.333442][ C2] __might_resched+0x360/0x5a0 [ 25.333451][ C2] down_write+0x72/0x210 [ 25.333455][ C2] ? __pfx_down_write+0x10/0x10 [ 25.333458][ C2] ? simple_recursive_removal+0x33/0x610 [ 25.333464][ C2] ? rcu_is_watching+0x12/0xc0 [ 25.333470][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 25.333477][ C2] simple_recursive_removal+0x6a/0x610 [ 25.333480][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 25.333484][ C2] ? __pfx_remove_one+0x10/0x10 [ 25.333490][ C2] debugfs_remove+0x44/0x70 [ 25.333493][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 25.333501][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 25.333504][ C2] ? __sk_destruct+0x383/0x780 [ 25.333511][ C2] ? rcu_do_batch+0x34c/0xf20 [ 25.333515][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 25.333518][ C2] ? irq_exit_rcu+0xe/0x30 [ 25.333524][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 25.333530][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 25.333535][ C2] ? pv_native_safe_halt+0xf/0x20 [ 25.333538][ C2] ? default_idle+0x9/0x10 [ 25.333541][ C2] ? default_idle_call+0x6d/0xb0 [ 25.333544][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 25.333548][ C2] ? do_idle+0xf6/0x160 [ 25.333551][ C2] ? cpu_startup_entry+0x54/0x60 [ 25.333554][ C2] ? start_secondary+0x213/0x2a0 [ 25.333558][ C2] ? common_startup_64+0x13e/0x148 [ 25.333567][ C2] __put_net+0x19/0x60 [ 25.333572][ C2] __sk_destruct+0x58a/0x780 [ 25.333576][ C2] ? rcu_do_batch+0x34a/0xf20 [ 25.333578][ C2] rcu_do_batch+0x34c/0xf20 [ 25.333582][ C2] ? find_held_lock+0x2b/0x80 [ 25.333589][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 25.333592][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 25.333597][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 25.333600][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 25.333605][ C2] rcu_core+0x2bb/0x500 [ 25.333610][ C2] handle_softirqs+0x218/0x620 [ 25.333616][ C2] __irq_exit_rcu+0xfa/0x160 [ 25.333619][ C2] irq_exit_rcu+0xe/0x30 [ 25.333621][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 25.333625][ C2] [ 25.333626][ C2] [ 25.333628][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 25.333631][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 25.333635][ 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 [ 25.333639][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 25.333643][ C2] RAX: 0000000000048363 RBX: 1ffff92000028fc1 RCX: ffffffffb7b905d9 [ 25.333645][ C2] RDX: 0000000000000000 RSI: ffffffffb868f4e4 RDI: ffffffffb7e53be0 [ 25.333647][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 25.333648][ C2] R10: ffff8880361337d3 R11: ffffffffb8811288 R12: 0000000000000000 [ 25.333650][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 25.333654][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 25.333659][ C2] default_idle+0x9/0x10 [ 25.333661][ C2] default_idle_call+0x6d/0xb0 [ 25.333664][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 25.333667][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 25.333671][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 25.333675][ C2] do_idle+0xf6/0x160 [ 25.333679][ C2] cpu_startup_entry+0x54/0x60 [ 25.333682][ C2] start_secondary+0x213/0x2a0 [ 25.333685][ C2] ? __pfx_start_secondary+0x10/0x10 [ 25.333689][ C2] common_startup_64+0x13e/0x148 [ 25.333697][ C2] [ 31.541256][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 31.541888][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 31.542456][ C3] preempt_count: 101, expected: 0 [ 31.542767][ C3] RCU nest depth: 0, expected: 0 [ 31.543084][ C3] INFO: lockdep is turned off. [ 31.543405][ C3] Preemption disabled at: [ 31.543408][ C3] [<0000000000000000>] 0x0 [ 31.543983][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 31.543992][ C3] Tainted: [W]=WARN [ 31.543995][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 31.543998][ C3] Call Trace: [ 31.544001][ C3] [ 31.544005][ C3] dump_stack_lvl+0xb0/0xd0 [ 31.544022][ C3] __might_resched+0x360/0x5a0 [ 31.544035][ C3] down_write+0x72/0x210 [ 31.544043][ C3] ? __pfx_down_write+0x10/0x10 [ 31.544048][ C3] ? simple_recursive_removal+0x33/0x610 [ 31.544055][ C3] ? rcu_is_watching+0x12/0xc0 [ 31.544065][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 31.544076][ C3] simple_recursive_removal+0x6a/0x610 [ 31.544080][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 31.544085][ C3] ? __pfx_remove_one+0x10/0x10 [ 31.544096][ C3] debugfs_remove+0x44/0x70 [ 31.544101][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 31.544112][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 31.544117][ C3] ? __sk_destruct+0x383/0x780 [ 31.544127][ C3] ? rcu_do_batch+0x34c/0xf20 [ 31.544134][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 31.544139][ C3] ? irq_exit_rcu+0xe/0x30 [ 31.544148][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 31.544157][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 31.544164][ C3] ? pv_native_safe_halt+0xf/0x20 [ 31.544170][ C3] ? default_idle+0x9/0x10 [ 31.544174][ C3] ? default_idle_call+0x6d/0xb0 [ 31.544178][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 31.544184][ C3] ? do_idle+0xf6/0x160 [ 31.544187][ C3] ? cpu_startup_entry+0x54/0x60 [ 31.544191][ C3] ? start_secondary+0x213/0x2a0 [ 31.544197][ C3] ? common_startup_64+0x13e/0x148 [ 31.544206][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 31.544213][ C3] ? rcu_is_watching+0x12/0xc0 [ 31.544221][ C3] __put_net+0x19/0x60 [ 31.544228][ C3] __sk_destruct+0x58a/0x780 [ 31.544234][ C3] ? rcu_do_batch+0x34a/0xf20 [ 31.544238][ C3] rcu_do_batch+0x34c/0xf20 [ 31.544247][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 31.544252][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 31.544261][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 31.544270][ C3] rcu_core+0x2bb/0x500 [ 31.544278][ C3] handle_softirqs+0x218/0x620 [ 31.544287][ C3] __irq_exit_rcu+0xfa/0x160 [ 31.544292][ C3] irq_exit_rcu+0xe/0x30 [ 31.544296][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 31.544302][ C3] [ 31.544304][ C3] [ 31.544309][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 31.544314][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 31.544320][ 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 [ 31.544325][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 31.544331][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffb7b905d9 [ 31.544334][ C3] RDX: ffffed1006c366fb RSI: ffffffffb7e53b60 RDI: ffffffffb538d18f [ 31.544337][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 31.544341][ C3] R10: ffff8880361b37d3 R11: ffff888004f14ad8 R12: 0000000000000000 [ 31.544344][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 31.544350][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 31.544356][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 31.544362][ C3] default_idle+0x9/0x10 [ 31.544366][ C3] default_idle_call+0x6d/0xb0 [ 31.544371][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 31.544377][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 31.544383][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 31.544390][ C3] do_idle+0xf6/0x160 [ 31.544396][ C3] cpu_startup_entry+0x54/0x60 [ 31.544401][ C3] start_secondary+0x213/0x2a0 [ 31.544407][ C3] ? __pfx_start_secondary+0x10/0x10 [ 31.544414][ C3] common_startup_64+0x13e/0x148 [ 31.544427][ C3]