[ 16.311198][ C3] [ 16.311355][ C3] ================================ [ 16.311565][ C3] WARNING: inconsistent lock state [ 16.311775][ C3] 6.15.0-virtme #1 Not tainted [ 16.311984][ C3] -------------------------------- [ 16.312208][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.312460][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.312735][ C3] ffffffff981c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.313121][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.313337][ C3] __lock_acquire+0x20b/0x7e0 [ 16.313561][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.313778][ C3] _raw_spin_lock+0x33/0x40 [ 16.313982][ C3] simple_pin_fs+0x24/0x150 [ 16.314201][ C3] start_creating.part.0+0x52/0x310 [ 16.314410][ C3] debugfs_create_dir+0x6a/0x540 [ 16.314615][ C3] component_debug_init+0x17/0x30 [ 16.314836][ C3] do_one_initcall+0x8f/0x1e0 [ 16.315047][ C3] do_initcalls+0x176/0x280 [ 16.315258][ C3] kernel_init_freeable+0x22d/0x300 [ 16.315466][ C3] kernel_init+0x20/0x200 [ 16.315682][ C3] ret_from_fork+0x240/0x320 [ 16.315889][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.316102][ C3] irq event stamp: 268624 [ 16.316262][ C3] hardirqs last enabled at (268624): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.316693][ C3] hardirqs last disabled at (268623): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.317120][ C3] softirqs last enabled at (266552): [] handle_softirqs+0x358/0x620 [ 16.317494][ C3] softirqs last disabled at (266559): [] __irq_exit_rcu+0xfa/0x160 [ 16.317854][ C3] [ 16.317854][ C3] other info that might help us debug this: [ 16.318169][ C3] Possible unsafe locking scenario: [ 16.318169][ C3] [ 16.318474][ C3] CPU0 [ 16.318638][ C3] ---- [ 16.318792][ C3] lock(pin_fs_lock); [ 16.318951][ C3] [ 16.319111][ C3] lock(pin_fs_lock); [ 16.319269][ C3] [ 16.319269][ C3] *** DEADLOCK *** [ 16.319269][ C3] [ 16.319575][ C3] 1 lock held by swapper/3/0: [ 16.319790][ C3] #0: ffffffff97f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.320163][ C3] [ 16.320163][ C3] stack backtrace: [ 16.320419][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.320424][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.320426][ C3] Call Trace: [ 16.320428][ C3] [ 16.320431][ C3] dump_stack_lvl+0x82/0xd0 [ 16.320437][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.320442][ C3] mark_lock_irq+0x343/0x400 [ 16.320446][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.320451][ C3] ? save_trace+0x52/0x170 [ 16.320457][ C3] mark_lock+0x174/0x2f0 [ 16.320461][ C3] mark_usage+0x46/0x150 [ 16.320464][ C3] __lock_acquire+0x20b/0x7e0 [ 16.320467][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.320471][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.320474][ C3] ? simple_pin_fs+0x24/0x150 [ 16.320479][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.320483][ C3] ? lock_acquire+0x10c/0x170 [ 16.320485][ C3] ? simple_pin_fs+0x24/0x150 [ 16.320490][ C3] _raw_spin_lock+0x33/0x40 [ 16.320494][ C3] ? simple_pin_fs+0x24/0x150 [ 16.320497][ C3] simple_pin_fs+0x24/0x150 [ 16.320501][ C3] debugfs_remove+0x35/0x70 [ 16.320505][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.320511][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.320514][ C3] ? __sk_destruct+0x383/0x780 [ 16.320520][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.320522][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.320526][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.320529][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.320534][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.320538][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.320541][ C3] ? default_idle+0x9/0x10 [ 16.320544][ C3] ? default_idle_call+0x6d/0xb0 [ 16.320546][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.320550][ C3] ? do_idle+0xf6/0x160 [ 16.320552][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.320555][ C3] ? start_secondary+0x213/0x2a0 [ 16.320558][ C3] ? common_startup_64+0x13e/0x148 [ 16.320566][ C3] __put_net+0x19/0x60 [ 16.320570][ C3] __sk_destruct+0x58a/0x780 [ 16.320574][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.320576][ C3] rcu_do_batch+0x34c/0xf20 [ 16.320580][ C3] ? find_held_lock+0x2b/0x80 [ 16.320584][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.320587][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.320591][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.320594][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.320598][ C3] rcu_core+0x2bb/0x500 [ 16.320603][ C3] handle_softirqs+0x218/0x620 [ 16.320608][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.320611][ C3] irq_exit_rcu+0xe/0x30 [ 16.320614][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.320618][ C3] [ 16.320619][ C3] [ 16.320620][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.320623][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.320627][ 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.320630][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.320633][ C3] RAX: 000000000004113d RBX: 1ffff9200002afc1 RCX: ffffffff96f905d9 [ 16.320635][ C3] RDX: 0000000000000000 RSI: ffffffff97a8f4e4 RDI: ffffffff97253be0 [ 16.320637][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.320638][ C3] R10: ffff8880361b37d3 R11: ffffffff97c11288 R12: 0000000000000000 [ 16.320640][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.320644][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.320649][ C3] default_idle+0x9/0x10 [ 16.320651][ C3] default_idle_call+0x6d/0xb0 [ 16.320654][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.320657][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.320661][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.320665][ C3] do_idle+0xf6/0x160 [ 16.320669][ C3] cpu_startup_entry+0x54/0x60 [ 16.320672][ C3] start_secondary+0x213/0x2a0 [ 16.320674][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.320679][ C3] common_startup_64+0x13e/0x148 [ 16.320686][ C3] [ 16.336991][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.337325][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.337644][ C3] preempt_count: 101, expected: 0 [ 16.337828][ C3] RCU nest depth: 0, expected: 0 [ 16.338016][ C3] INFO: lockdep is turned off. [ 16.338200][ C3] Preemption disabled at: [ 16.338201][ C3] [<0000000000000000>] 0x0 [ 16.338555][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.338559][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.338561][ C3] Call Trace: [ 16.338562][ C3] [ 16.338564][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.338571][ C3] __might_resched+0x360/0x5a0 [ 16.338578][ C3] down_write+0x72/0x210 [ 16.338581][ C3] ? __pfx_down_write+0x10/0x10 [ 16.338584][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.338588][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.338593][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.338599][ C3] simple_recursive_removal+0x6a/0x610 [ 16.338601][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.338604][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.338609][ C3] debugfs_remove+0x44/0x70 [ 16.338612][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.338617][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.338621][ C3] ? __sk_destruct+0x383/0x780 [ 16.338626][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.338630][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.338633][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.338638][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.338643][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.338646][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.338650][ C3] ? default_idle+0x9/0x10 [ 16.338652][ C3] ? default_idle_call+0x6d/0xb0 [ 16.338655][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.338657][ C3] ? do_idle+0xf6/0x160 [ 16.338660][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.338662][ C3] ? start_secondary+0x213/0x2a0 [ 16.338665][ C3] ? common_startup_64+0x13e/0x148 [ 16.338672][ C3] __put_net+0x19/0x60 [ 16.338676][ C3] __sk_destruct+0x58a/0x780 [ 16.338681][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.338683][ C3] rcu_do_batch+0x34c/0xf20 [ 16.338686][ C3] ? find_held_lock+0x2b/0x80 [ 16.338692][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.338695][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.338699][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.338702][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.338707][ C3] rcu_core+0x2bb/0x500 [ 16.338711][ C3] handle_softirqs+0x218/0x620 [ 16.338717][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.338719][ C3] irq_exit_rcu+0xe/0x30 [ 16.338722][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.338726][ C3] [ 16.338727][ C3] [ 16.338728][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.338731][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.338735][ 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.338738][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 16.338741][ C3] RAX: 000000000004113d RBX: 1ffff9200002afc1 RCX: ffffffff96f905d9 [ 16.338743][ C3] RDX: 0000000000000000 RSI: ffffffff97a8f4e4 RDI: ffffffff97253be0 [ 16.338744][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.338746][ C3] R10: ffff8880361b37d3 R11: ffffffff97c11288 R12: 0000000000000000 [ 16.338747][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.338751][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.338756][ C3] default_idle+0x9/0x10 [ 16.338758][ C3] default_idle_call+0x6d/0xb0 [ 16.338761][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.338764][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.338768][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.338772][ C3] do_idle+0xf6/0x160 [ 16.338775][ C3] cpu_startup_entry+0x54/0x60 [ 16.338778][ C3] start_secondary+0x213/0x2a0 [ 16.338781][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.338785][ C3] common_startup_64+0x13e/0x148 [ 16.338793][ C3] [ 18.802336][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.802802][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.803120][ C2] preempt_count: 101, expected: 0 [ 18.803318][ C2] RCU nest depth: 0, expected: 0 [ 18.803505][ C2] INFO: lockdep is turned off. [ 18.803690][ C2] Preemption disabled at: [ 18.803692][ C2] [<0000000000000000>] 0x0 [ 18.804027][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.804033][ C2] Tainted: [W]=WARN [ 18.804034][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.804037][ C2] Call Trace: [ 18.804039][ C2] [ 18.804041][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.804052][ C2] __might_resched+0x360/0x5a0 [ 18.804061][ C2] down_write+0x72/0x210 [ 18.804067][ C2] ? __pfx_down_write+0x10/0x10 [ 18.804070][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.804076][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.804082][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.804089][ C2] simple_recursive_removal+0x6a/0x610 [ 18.804092][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.804095][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.804102][ C2] debugfs_remove+0x44/0x70 [ 18.804106][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.804113][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.804117][ C2] ? __sk_destruct+0x383/0x780 [ 18.804124][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.804128][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.804131][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.804138][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.804144][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.804149][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.804152][ C2] ? default_idle+0x9/0x10 [ 18.804155][ C2] ? default_idle_call+0x6d/0xb0 [ 18.804158][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.804162][ C2] ? do_idle+0xf6/0x160 [ 18.804165][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.804167][ C2] ? start_secondary+0x213/0x2a0 [ 18.804172][ C2] ? common_startup_64+0x13e/0x148 [ 18.804179][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.804184][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.804189][ C2] __put_net+0x19/0x60 [ 18.804193][ C2] __sk_destruct+0x58a/0x780 [ 18.804197][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.804200][ C2] rcu_do_batch+0x34c/0xf20 [ 18.804205][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.804209][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.804216][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.804223][ C2] rcu_core+0x2bb/0x500 [ 18.804228][ C2] handle_softirqs+0x218/0x620 [ 18.804233][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.804236][ C2] irq_exit_rcu+0xe/0x30 [ 18.804239][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.804246][ C2] [ 18.804247][ C2] [ 18.804249][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.804252][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.804256][ 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 [ 18.804259][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.804264][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff96f905d9 [ 18.804266][ C2] RDX: ffffed1006c266fb RSI: ffffffff97253b60 RDI: ffffffff9478d18f [ 18.804268][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.804270][ C2] R10: ffff8880361337d3 R11: ffff888005240558 R12: 0000000000000000 [ 18.804272][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.804276][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.804280][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.804284][ C2] default_idle+0x9/0x10 [ 18.804286][ C2] default_idle_call+0x6d/0xb0 [ 18.804289][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.804292][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.804296][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.804301][ C2] do_idle+0xf6/0x160 [ 18.804304][ C2] cpu_startup_entry+0x54/0x60 [ 18.804307][ C2] start_secondary+0x213/0x2a0 [ 18.804310][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.804314][ C2] common_startup_64+0x13e/0x148 [ 18.804321][ C2]