[ 17.097069][ C2] [ 17.097227][ C2] ================================ [ 17.097546][ C2] WARNING: inconsistent lock state [ 17.097869][ C2] 6.15.0-virtme #1 Not tainted [ 17.098192][ C2] -------------------------------- [ 17.098505][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.098900][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.099295][ C2] ffffffffa59c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.099887][ C2] {SOFTIRQ-ON-W} state was registered at: [ 17.100201][ C2] __lock_acquire+0x20b/0x7e0 [ 17.100410][ C2] lock_acquire.part.0+0xb6/0x240 [ 17.100601][ C2] _raw_spin_lock+0x33/0x40 [ 17.100792][ C2] simple_pin_fs+0x24/0x150 [ 17.100993][ C2] start_creating.part.0+0x52/0x310 [ 17.101180][ C2] debugfs_create_dir+0x6a/0x540 [ 17.101379][ C2] component_debug_init+0x17/0x30 [ 17.101573][ C2] do_one_initcall+0x8f/0x1e0 [ 17.101765][ C2] do_initcalls+0x176/0x280 [ 17.101953][ C2] kernel_init_freeable+0x22d/0x300 [ 17.102138][ C2] kernel_init+0x20/0x200 [ 17.102428][ C2] ret_from_fork+0x240/0x320 [ 17.102729][ C2] ret_from_fork_asm+0x1a/0x30 [ 17.102917][ C2] irq event stamp: 291260 [ 17.103062][ C2] hardirqs last enabled at (291260): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.103449][ C2] hardirqs last disabled at (291259): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.103843][ C2] softirqs last enabled at (290696): [] handle_softirqs+0x358/0x620 [ 17.104175][ C2] softirqs last disabled at (290727): [] __irq_exit_rcu+0xfa/0x160 [ 17.104521][ C2] [ 17.104521][ C2] other info that might help us debug this: [ 17.104804][ C2] Possible unsafe locking scenario: [ 17.104804][ C2] [ 17.105084][ C2] CPU0 [ 17.105236][ C2] ---- [ 17.105379][ C2] lock(pin_fs_lock); [ 17.105522][ C2] [ 17.105665][ C2] lock(pin_fs_lock); [ 17.105809][ C2] [ 17.105809][ C2] *** DEADLOCK *** [ 17.105809][ C2] [ 17.106084][ C2] 1 lock held by swapper/2/0: [ 17.106285][ C2] #0: ffffffffa57774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.106623][ C2] [ 17.106623][ C2] stack backtrace: [ 17.106858][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.106863][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.106865][ C2] Call Trace: [ 17.106867][ C2] [ 17.106870][ C2] dump_stack_lvl+0x82/0xd0 [ 17.106876][ C2] print_usage_bug.part.0+0x25f/0x360 [ 17.106881][ C2] mark_lock_irq+0x343/0x400 [ 17.106885][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.106889][ C2] ? save_trace+0x52/0x170 [ 17.106895][ C2] mark_lock+0x174/0x2f0 [ 17.106899][ C2] mark_usage+0x46/0x150 [ 17.106902][ C2] __lock_acquire+0x20b/0x7e0 [ 17.106905][ C2] ? __lock_acquire+0x44d/0x7e0 [ 17.106909][ C2] lock_acquire.part.0+0xb6/0x240 [ 17.106912][ C2] ? simple_pin_fs+0x24/0x150 [ 17.106917][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.106921][ C2] ? lock_acquire+0x10c/0x170 [ 17.106923][ C2] ? simple_pin_fs+0x24/0x150 [ 17.106928][ C2] _raw_spin_lock+0x33/0x40 [ 17.106931][ C2] ? simple_pin_fs+0x24/0x150 [ 17.106934][ C2] simple_pin_fs+0x24/0x150 [ 17.106938][ C2] debugfs_remove+0x35/0x70 [ 17.106942][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.106947][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.106951][ C2] ? __sk_destruct+0x383/0x780 [ 17.106957][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.106959][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.106963][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.106966][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.106970][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.106974][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.106977][ C2] ? default_idle+0x9/0x10 [ 17.106980][ C2] ? default_idle_call+0x6d/0xb0 [ 17.106982][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.106986][ C2] ? do_idle+0xf6/0x160 [ 17.106989][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.106991][ C2] ? start_secondary+0x213/0x2a0 [ 17.106995][ C2] ? common_startup_64+0x13e/0x148 [ 17.107002][ C2] __put_net+0x19/0x60 [ 17.107005][ C2] __sk_destruct+0x58a/0x780 [ 17.107010][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.107012][ C2] rcu_do_batch+0x34c/0xf20 [ 17.107016][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.107019][ C2] ? __lock_release+0x5d/0x170 [ 17.107023][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.107026][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.107030][ C2] rcu_core+0x2bb/0x500 [ 17.107034][ C2] handle_softirqs+0x218/0x620 [ 17.107040][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.107042][ C2] irq_exit_rcu+0xe/0x30 [ 17.107045][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.107049][ C2] [ 17.107050][ C2] [ 17.107051][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.107054][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.107058][ 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 [ 17.107061][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.107064][ C2] RAX: 0000000000046fa5 RBX: 1ffff92000028fc1 RCX: ffffffffa47905d9 [ 17.107066][ C2] RDX: 0000000000000000 RSI: ffffffffa528f4e4 RDI: ffffffffa4a53be0 [ 17.107068][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 17.107069][ C2] R10: ffff8880361337d3 R11: ffffffffa5411288 R12: 0000000000000000 [ 17.107071][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.107075][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.107080][ C2] default_idle+0x9/0x10 [ 17.107082][ C2] default_idle_call+0x6d/0xb0 [ 17.107085][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.107088][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.107092][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.107096][ C2] do_idle+0xf6/0x160 [ 17.107100][ C2] cpu_startup_entry+0x54/0x60 [ 17.107103][ C2] start_secondary+0x213/0x2a0 [ 17.107105][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.107110][ C2] common_startup_64+0x13e/0x148 [ 17.107117][ C2] [ 17.125212][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.125746][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.126458][ C2] preempt_count: 101, expected: 0 [ 17.126774][ C2] RCU nest depth: 0, expected: 0 [ 17.127080][ C2] INFO: lockdep is turned off. [ 17.127381][ C2] Preemption disabled at: [ 17.127383][ C2] [<0000000000000000>] 0x0 [ 17.128145][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.128153][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.128156][ C2] Call Trace: [ 17.128159][ C2] [ 17.128163][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.128174][ C2] __might_resched+0x360/0x5a0 [ 17.128184][ C2] down_write+0x72/0x210 [ 17.128190][ C2] ? __pfx_down_write+0x10/0x10 [ 17.128194][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.128200][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.128208][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.128217][ C2] simple_recursive_removal+0x6a/0x610 [ 17.128222][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.128227][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.128237][ C2] debugfs_remove+0x44/0x70 [ 17.128242][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.128251][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.128256][ C2] ? __sk_destruct+0x383/0x780 [ 17.128263][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.128268][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.128273][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.128279][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.128286][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.128292][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.128297][ C2] ? default_idle+0x9/0x10 [ 17.128301][ C2] ? default_idle_call+0x6d/0xb0 [ 17.128306][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.128311][ C2] ? do_idle+0xf6/0x160 [ 17.128314][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.128319][ C2] ? start_secondary+0x213/0x2a0 [ 17.128324][ C2] ? common_startup_64+0x13e/0x148 [ 17.128337][ C2] __put_net+0x19/0x60 [ 17.128342][ C2] __sk_destruct+0x58a/0x780 [ 17.128349][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.128353][ C2] rcu_do_batch+0x34c/0xf20 [ 17.128362][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.128368][ C2] ? __lock_release+0x5d/0x170 [ 17.128373][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.128378][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.128387][ C2] rcu_core+0x2bb/0x500 [ 17.128394][ C2] handle_softirqs+0x218/0x620 [ 17.128404][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.128409][ C2] irq_exit_rcu+0xe/0x30 [ 17.128413][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.128420][ C2] [ 17.128422][ C2] [ 17.128425][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.128429][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.128434][ 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 [ 17.128438][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.128443][ C2] RAX: 0000000000046fa5 RBX: 1ffff92000028fc1 RCX: ffffffffa47905d9 [ 17.128446][ C2] RDX: 0000000000000000 RSI: ffffffffa528f4e4 RDI: ffffffffa4a53be0 [ 17.128449][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 17.128452][ C2] R10: ffff8880361337d3 R11: ffffffffa5411288 R12: 0000000000000000 [ 17.128455][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.128462][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.128471][ C2] default_idle+0x9/0x10 [ 17.128475][ C2] default_idle_call+0x6d/0xb0 [ 17.128480][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.128484][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.128491][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.128499][ C2] do_idle+0xf6/0x160 [ 17.128505][ C2] cpu_startup_entry+0x54/0x60 [ 17.128510][ C2] start_secondary+0x213/0x2a0 [ 17.128515][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.128523][ C2] common_startup_64+0x13e/0x148 [ 17.128537][ C2] [ 19.647029][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.647404][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 19.647756][ C3] preempt_count: 101, expected: 0 [ 19.647931][ C3] RCU nest depth: 0, expected: 0 [ 19.648104][ C3] INFO: lockdep is turned off. [ 19.648297][ C3] Preemption disabled at: [ 19.648298][ C3] [<0000000000000000>] 0x0 [ 19.648654][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 19.648660][ C3] Tainted: [W]=WARN [ 19.648661][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.648663][ C3] Call Trace: [ 19.648665][ C3] [ 19.648667][ C3] dump_stack_lvl+0xb0/0xd0 [ 19.648676][ C3] __might_resched+0x360/0x5a0 [ 19.648684][ C3] down_write+0x72/0x210 [ 19.648688][ C3] ? __pfx_down_write+0x10/0x10 [ 19.648691][ C3] ? simple_recursive_removal+0x33/0x610 [ 19.648696][ C3] ? rcu_is_watching+0x12/0xc0 [ 19.648700][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 19.648707][ C3] simple_recursive_removal+0x6a/0x610 [ 19.648709][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 19.648712][ C3] ? __pfx_remove_one+0x10/0x10 [ 19.648719][ C3] debugfs_remove+0x44/0x70 [ 19.648722][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 19.648728][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.648732][ C3] ? __sk_destruct+0x383/0x780 [ 19.648738][ C3] ? rcu_do_batch+0x34c/0xf20 [ 19.648741][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.648744][ C3] ? irq_exit_rcu+0xe/0x30 [ 19.648749][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.648754][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.648758][ C3] ? pv_native_safe_halt+0xf/0x20 [ 19.648761][ C3] ? default_idle+0x9/0x10 [ 19.648764][ C3] ? default_idle_call+0x6d/0xb0 [ 19.648766][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.648770][ C3] ? do_idle+0xf6/0x160 [ 19.648772][ C3] ? cpu_startup_entry+0x54/0x60 [ 19.648775][ C3] ? start_secondary+0x213/0x2a0 [ 19.648778][ C3] ? common_startup_64+0x13e/0x148 [ 19.648783][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.648787][ C3] ? rcu_is_watching+0x12/0xc0 [ 19.648792][ C3] __put_net+0x19/0x60 [ 19.648795][ C3] __sk_destruct+0x58a/0x780 [ 19.648799][ C3] ? rcu_do_batch+0x34a/0xf20 [ 19.648802][ C3] rcu_do_batch+0x34c/0xf20 [ 19.648806][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.648810][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.648816][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.648821][ C3] rcu_core+0x2bb/0x500 [ 19.648826][ C3] handle_softirqs+0x218/0x620 [ 19.648831][ C3] __irq_exit_rcu+0xfa/0x160 [ 19.648834][ C3] irq_exit_rcu+0xe/0x30 [ 19.648837][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.648841][ C3] [ 19.648842][ C3] [ 19.648844][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.648846][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.648851][ 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 [ 19.648856][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 19.648861][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa47905d9 [ 19.648864][ C3] RDX: ffffed1006c366fb RSI: ffffffffa4a53b60 RDI: ffffffffa1f8d18f [ 19.648867][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 19.648871][ C3] R10: ffff8880361b37d3 R11: ffff88800b55cad8 R12: 0000000000000000 [ 19.648874][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 19.648878][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.648882][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.648886][ C3] default_idle+0x9/0x10 [ 19.648889][ C3] default_idle_call+0x6d/0xb0 [ 19.648891][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 19.648894][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.648898][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.648902][ C3] do_idle+0xf6/0x160 [ 19.648906][ C3] cpu_startup_entry+0x54/0x60 [ 19.648909][ C3] start_secondary+0x213/0x2a0 [ 19.648911][ C3] ? __pfx_start_secondary+0x10/0x10 [ 19.648916][ C3] common_startup_64+0x13e/0x148 [ 19.648923][ C3]