[ 15.107404][ C2] [ 15.107549][ C2] ================================ [ 15.107739][ C2] WARNING: inconsistent lock state [ 15.107931][ C2] 6.15.0-virtme #1 Not tainted [ 15.108125][ C2] -------------------------------- [ 15.108318][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.108558][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.108797][ C2] ffffffffb55c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.109141][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.109329][ C2] __lock_acquire+0x20b/0x7e0 [ 15.109528][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.109721][ C2] _raw_spin_lock+0x33/0x40 [ 15.109917][ C2] simple_pin_fs+0x24/0x150 [ 15.110114][ C2] start_creating.part.0+0x52/0x310 [ 15.110309][ C2] debugfs_create_dir+0x6a/0x540 [ 15.110501][ C2] component_debug_init+0x17/0x30 [ 15.110699][ C2] do_one_initcall+0x8f/0x1e0 [ 15.110898][ C2] do_initcalls+0x176/0x280 [ 15.111094][ C2] kernel_init_freeable+0x22d/0x300 [ 15.111297][ C2] kernel_init+0x20/0x200 [ 15.111490][ C2] ret_from_fork+0x240/0x320 [ 15.111679][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.111869][ C2] irq event stamp: 329620 [ 15.112017][ C2] hardirqs last enabled at (329620): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.112403][ C2] hardirqs last disabled at (329619): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.112789][ C2] softirqs last enabled at (328988): [] handle_softirqs+0x358/0x620 [ 15.113130][ C2] softirqs last disabled at (329043): [] __irq_exit_rcu+0xfa/0x160 [ 15.113473][ C2] [ 15.113473][ C2] other info that might help us debug this: [ 15.113758][ C2] Possible unsafe locking scenario: [ 15.113758][ C2] [ 15.114042][ C2] CPU0 [ 15.114186][ C2] ---- [ 15.114330][ C2] lock(pin_fs_lock); [ 15.114478][ C2] [ 15.114624][ C2] lock(pin_fs_lock); [ 15.114772][ C2] [ 15.114772][ C2] *** DEADLOCK *** [ 15.114772][ C2] [ 15.115064][ C2] 1 lock held by swapper/2/0: [ 15.115261][ C2] #0: ffffffffb53774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.115606][ C2] [ 15.115606][ C2] stack backtrace: [ 15.115892][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.115896][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.115899][ C2] Call Trace: [ 15.115901][ C2] [ 15.115903][ C2] dump_stack_lvl+0x82/0xd0 [ 15.115911][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.115916][ C2] mark_lock_irq+0x343/0x400 [ 15.115921][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.115926][ C2] ? save_trace+0x52/0x170 [ 15.115934][ C2] mark_lock+0x174/0x2f0 [ 15.115938][ C2] mark_usage+0x46/0x150 [ 15.115941][ C2] __lock_acquire+0x20b/0x7e0 [ 15.115944][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.115948][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.115952][ C2] ? simple_pin_fs+0x24/0x150 [ 15.115956][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.115961][ C2] ? lock_acquire+0x10c/0x170 [ 15.115964][ C2] ? simple_pin_fs+0x24/0x150 [ 15.115968][ C2] _raw_spin_lock+0x33/0x40 [ 15.115972][ C2] ? simple_pin_fs+0x24/0x150 [ 15.115975][ C2] simple_pin_fs+0x24/0x150 [ 15.115979][ C2] debugfs_remove+0x35/0x70 [ 15.115982][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.115990][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.115993][ C2] ? __sk_destruct+0x383/0x780 [ 15.116001][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.116004][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.116007][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.116010][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.116015][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.116018][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.116022][ C2] ? default_idle+0x9/0x10 [ 15.116024][ C2] ? default_idle_call+0x6d/0xb0 [ 15.116027][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.116031][ C2] ? do_idle+0xf6/0x160 [ 15.116033][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.116036][ C2] ? start_secondary+0x213/0x2a0 [ 15.116040][ C2] ? common_startup_64+0x13e/0x148 [ 15.116049][ C2] __put_net+0x19/0x60 [ 15.116053][ C2] __sk_destruct+0x58a/0x780 [ 15.116057][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.116060][ C2] rcu_do_batch+0x34c/0xf20 [ 15.116063][ C2] ? find_held_lock+0x2b/0x80 [ 15.116067][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.116071][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.116075][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.116077][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.116082][ C2] rcu_core+0x2bb/0x500 [ 15.116087][ C2] handle_softirqs+0x218/0x620 [ 15.116092][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.116095][ C2] irq_exit_rcu+0xe/0x30 [ 15.116098][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.116102][ C2] [ 15.116103][ C2] [ 15.116105][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.116108][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.116112][ 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 [ 15.116115][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.116119][ C2] RAX: 0000000000050551 RBX: 1ffff92000028fc1 RCX: ffffffffb438f5d9 [ 15.116121][ C2] RDX: 0000000000000000 RSI: ffffffffb4e8f4e4 RDI: ffffffffb4653be0 [ 15.116123][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ee66fa [ 15.116125][ C2] R10: ffff88802f7337d3 R11: ffffffffb5011288 R12: 0000000000000000 [ 15.116127][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.116131][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.116136][ C2] default_idle+0x9/0x10 [ 15.116138][ C2] default_idle_call+0x6d/0xb0 [ 15.116141][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.116145][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.116149][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.116153][ C2] do_idle+0xf6/0x160 [ 15.116157][ C2] cpu_startup_entry+0x54/0x60 [ 15.116160][ C2] start_secondary+0x213/0x2a0 [ 15.116163][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.116168][ C2] common_startup_64+0x13e/0x148 [ 15.116175][ C2] [ 15.131926][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.132276][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.132610][ C2] preempt_count: 101, expected: 0 [ 15.132813][ C2] RCU nest depth: 0, expected: 0 [ 15.133004][ C2] INFO: lockdep is turned off. [ 15.133205][ C2] Preemption disabled at: [ 15.133207][ C2] [<0000000000000000>] 0x0 [ 15.133655][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.133659][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.133661][ C2] Call Trace: [ 15.133663][ C2] [ 15.133665][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.133672][ C2] __might_resched+0x360/0x5a0 [ 15.133679][ C2] down_write+0x72/0x210 [ 15.133685][ C2] ? __pfx_down_write+0x10/0x10 [ 15.133688][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.133692][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.133697][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.133703][ C2] simple_recursive_removal+0x6a/0x610 [ 15.133705][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.133709][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.133714][ C2] debugfs_remove+0x44/0x70 [ 15.133717][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.133722][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.133725][ C2] ? __sk_destruct+0x383/0x780 [ 15.133731][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.133734][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.133737][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.133742][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.133747][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.133751][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.133754][ C2] ? default_idle+0x9/0x10 [ 15.133757][ C2] ? default_idle_call+0x6d/0xb0 [ 15.133759][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.133763][ C2] ? do_idle+0xf6/0x160 [ 15.133765][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.133767][ C2] ? start_secondary+0x213/0x2a0 [ 15.133772][ C2] ? common_startup_64+0x13e/0x148 [ 15.133780][ C2] __put_net+0x19/0x60 [ 15.133783][ C2] __sk_destruct+0x58a/0x780 [ 15.133786][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.133789][ C2] rcu_do_batch+0x34c/0xf20 [ 15.133792][ C2] ? find_held_lock+0x2b/0x80 [ 15.133798][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.133801][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.133806][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.133808][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.133813][ C2] rcu_core+0x2bb/0x500 [ 15.133817][ C2] handle_softirqs+0x218/0x620 [ 15.133823][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.133826][ C2] irq_exit_rcu+0xe/0x30 [ 15.133828][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.133832][ C2] [ 15.133832][ C2] [ 15.133834][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.133836][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.133840][ 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 [ 15.133842][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.133845][ C2] RAX: 0000000000050551 RBX: 1ffff92000028fc1 RCX: ffffffffb438f5d9 [ 15.133847][ C2] RDX: 0000000000000000 RSI: ffffffffb4e8f4e4 RDI: ffffffffb4653be0 [ 15.133849][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005ee66fa [ 15.133850][ C2] R10: ffff88802f7337d3 R11: ffffffffb5011288 R12: 0000000000000000 [ 15.133851][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.133855][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.133859][ C2] default_idle+0x9/0x10 [ 15.133862][ C2] default_idle_call+0x6d/0xb0 [ 15.133865][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.133867][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.133871][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.133875][ C2] do_idle+0xf6/0x160 [ 15.133878][ C2] cpu_startup_entry+0x54/0x60 [ 15.133881][ C2] start_secondary+0x213/0x2a0 [ 15.133884][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.133888][ C2] common_startup_64+0x13e/0x148 [ 15.133894][ C2] [ 16.796618][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.796959][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.797274][ C3] preempt_count: 101, expected: 0 [ 16.797447][ C3] RCU nest depth: 0, expected: 0 [ 16.797623][ C3] INFO: lockdep is turned off. [ 16.797796][ C3] Preemption disabled at: [ 16.797797][ C3] [<0000000000000000>] 0x0 [ 16.798101][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.798106][ C3] Tainted: [W]=WARN [ 16.798108][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.798112][ C3] Call Trace: [ 16.798115][ C3] [ 16.798117][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.798129][ C3] __might_resched+0x360/0x5a0 [ 16.798139][ C3] down_write+0x72/0x210 [ 16.798146][ C3] ? __pfx_down_write+0x10/0x10 [ 16.798149][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.798155][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.798162][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.798170][ C3] simple_recursive_removal+0x6a/0x610 [ 16.798173][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.798176][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.798183][ C3] debugfs_remove+0x44/0x70 [ 16.798186][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.798194][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.798198][ C3] ? __sk_destruct+0x383/0x780 [ 16.798206][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.798210][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.798213][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.798220][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.798227][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.798232][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.798235][ C3] ? default_idle+0x9/0x10 [ 16.798238][ C3] ? default_idle_call+0x6d/0xb0 [ 16.798241][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.798245][ C3] ? do_idle+0xf6/0x160 [ 16.798248][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.798250][ C3] ? start_secondary+0x213/0x2a0 [ 16.798255][ C3] ? common_startup_64+0x13e/0x148 [ 16.798264][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.798267][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.798272][ C3] __put_net+0x19/0x60 [ 16.798276][ C3] __sk_destruct+0x58a/0x780 [ 16.798280][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.798283][ C3] rcu_do_batch+0x34c/0xf20 [ 16.798287][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.798290][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.798297][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.798304][ C3] rcu_core+0x2bb/0x500 [ 16.798310][ C3] handle_softirqs+0x218/0x620 [ 16.798315][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.798318][ C3] irq_exit_rcu+0xe/0x30 [ 16.798321][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.798324][ C3] [ 16.798326][ C3] [ 16.798327][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.798330][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.798334][ 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.798336][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.798340][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffb438f5d9 [ 16.798342][ C3] RDX: ffffed1005ef66fb RSI: ffffffffb4653b60 RDI: ffffffffb1b8d18f [ 16.798344][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ef66fa [ 16.798346][ C3] R10: ffff88802f7b37d3 R11: ffffffffb7c8bae0 R12: 0000000000000000 [ 16.798347][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.798351][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.798354][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.798358][ C3] default_idle+0x9/0x10 [ 16.798361][ C3] default_idle_call+0x6d/0xb0 [ 16.798364][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.798367][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.798371][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.798375][ C3] do_idle+0xf6/0x160 [ 16.798378][ C3] cpu_startup_entry+0x54/0x60 [ 16.798381][ C3] start_secondary+0x213/0x2a0 [ 16.798384][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.798388][ C3] common_startup_64+0x13e/0x148 [ 16.798395][ C3]