[ 15.863754][ C0] [ 15.863989][ C0] ================================ [ 15.864216][ C0] WARNING: inconsistent lock state [ 15.864436][ C0] 6.15.0-rc7-virtme #1 Not tainted [ 15.864663][ C0] -------------------------------- [ 15.864888][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.865167][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.865442][ C0] ffffffff855bff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.865835][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.866072][ C0] __lock_acquire+0x3eb/0x9d0 [ 15.866303][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.866526][ C0] _raw_spin_lock+0x33/0x40 [ 15.866750][ C0] simple_pin_fs+0x24/0x150 [ 15.866976][ C0] start_creating.part.0+0x3f/0x2f0 [ 15.867200][ C0] debugfs_create_dir+0x6a/0x540 [ 15.867425][ C0] component_debug_init+0x17/0x30 [ 15.867645][ C0] do_one_initcall+0x8f/0x1e0 [ 15.867871][ C0] do_initcalls+0x176/0x280 [ 15.868099][ C0] kernel_init_freeable+0x22d/0x300 [ 15.868322][ C0] kernel_init+0x20/0x200 [ 15.868545][ C0] ret_from_fork+0x31/0x70 [ 15.868772][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.868992][ C0] irq event stamp: 457730 [ 15.869162][ C0] hardirqs last enabled at (457730): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.869609][ C0] hardirqs last disabled at (457729): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.870046][ C0] softirqs last enabled at (455602): [] handle_softirqs+0x358/0x620 [ 15.870431][ C0] softirqs last disabled at (455609): [] __irq_exit_rcu+0xfa/0x160 [ 15.870823][ C0] [ 15.870823][ C0] other info that might help us debug this: [ 15.871159][ C0] Possible unsafe locking scenario: [ 15.871159][ C0] [ 15.871484][ C0] CPU0 [ 15.871650][ C0] ---- [ 15.871817][ C0] lock(pin_fs_lock); [ 15.871991][ C0] [ 15.872155][ C0] lock(pin_fs_lock); [ 15.872324][ C0] [ 15.872324][ C0] *** DEADLOCK *** [ 15.872324][ C0] [ 15.872642][ C0] 1 lock held by swapper/0/0: [ 15.872866][ C0] #0: ffffffff853749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.873261][ C0] [ 15.873261][ C0] stack backtrace: [ 15.873533][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.873538][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.873540][ C0] Call Trace: [ 15.873543][ C0] [ 15.873544][ C0] dump_stack_lvl+0x82/0xd0 [ 15.873551][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.873556][ C0] mark_lock_irq+0x343/0x400 [ 15.873560][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.873567][ C0] ? __lock_release+0x5d/0x170 [ 15.873571][ C0] ? save_trace+0x52/0x170 [ 15.873575][ C0] mark_lock+0x174/0x2f0 [ 15.873580][ C0] mark_usage+0x46/0x150 [ 15.873583][ C0] __lock_acquire+0x3eb/0x9d0 [ 15.873589][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.873591][ C0] ? simple_pin_fs+0x24/0x150 [ 15.873595][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.873601][ C0] ? lock_acquire+0x10c/0x170 [ 15.873603][ C0] ? simple_pin_fs+0x24/0x150 [ 15.873606][ C0] _raw_spin_lock+0x33/0x40 [ 15.873610][ C0] ? simple_pin_fs+0x24/0x150 [ 15.873612][ C0] simple_pin_fs+0x24/0x150 [ 15.873615][ C0] debugfs_remove+0x35/0x70 [ 15.873618][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.873624][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.873627][ C0] ? __sk_destruct+0x383/0x780 [ 15.873635][ C0] ? rcu_do_batch+0x34f/0xf20 [ 15.873638][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.873641][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.873643][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.873649][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.873653][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.873656][ C0] ? default_idle+0x9/0x10 [ 15.873659][ C0] ? default_idle_call+0x6d/0xb0 [ 15.873661][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.873666][ C0] ? do_idle+0xf6/0x160 [ 15.873669][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.873672][ C0] ? rest_init+0x14b/0x260 [ 15.873675][ C0] ? start_kernel+0x350/0x410 [ 15.873681][ C0] __put_net+0x19/0x60 [ 15.873685][ C0] __sk_destruct+0x58a/0x780 [ 15.873689][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.873692][ C0] rcu_do_batch+0x34f/0xf20 [ 15.873695][ C0] ? find_held_lock+0x2b/0x80 [ 15.873700][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.873703][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.873707][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.873711][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.873715][ C0] rcu_core+0x2bb/0x500 [ 15.873720][ C0] handle_softirqs+0x218/0x620 [ 15.873725][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.873727][ C0] irq_exit_rcu+0xe/0x30 [ 15.873730][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.873733][ C0] [ 15.873734][ C0] [ 15.873736][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.873739][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.873743][ C0] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.873746][ C0] RSP: 0018:ffffffff85007df8 EFLAGS: 00000246 [ 15.873749][ C0] RAX: 000000000006f3b7 RBX: 1ffffffff0a00fc3 RCX: ffffffff8435ba19 [ 15.873752][ C0] RDX: 0000000000000000 RSI: ffffffff84e87785 RDI: ffffffff84651260 [ 15.873753][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 15.873755][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.873757][ C0] R13: ffffffff8501f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.873761][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.873766][ C0] default_idle+0x9/0x10 [ 15.873768][ C0] default_idle_call+0x6d/0xb0 [ 15.873770][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.873774][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.873779][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.873786][ C0] do_idle+0xf6/0x160 [ 15.873790][ C0] cpu_startup_entry+0x54/0x60 [ 15.873793][ C0] rest_init+0x14b/0x260 [ 15.873797][ C0] start_kernel+0x350/0x410 [ 15.873801][ C0] x86_64_start_reservations+0x18/0x30 [ 15.873806][ C0] x86_64_start_kernel+0xba/0x110 [ 15.873810][ C0] common_startup_64+0x13e/0x148 [ 15.873819][ C0] [ 15.892108][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.892463][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.892948][ C0] preempt_count: 101, expected: 0 [ 15.893162][ C0] RCU nest depth: 0, expected: 0 [ 15.893370][ C0] INFO: lockdep is turned off. [ 15.893701][ C0] Preemption disabled at: [ 15.893703][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.894181][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 15.894186][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.894188][ C0] Call Trace: [ 15.894190][ C0] [ 15.894192][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.894198][ C0] __might_resched+0x360/0x5a0 [ 15.894205][ C0] down_write+0x72/0x210 [ 15.894210][ C0] ? __pfx_down_write+0x10/0x10 [ 15.894213][ C0] ? simple_recursive_removal+0x3a/0x860 [ 15.894217][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.894224][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.894230][ C0] simple_recursive_removal+0x166/0x860 [ 15.894233][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.894238][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.894243][ C0] debugfs_remove+0x44/0x70 [ 15.894245][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.894251][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.894254][ C0] ? __sk_destruct+0x383/0x780 [ 15.894260][ C0] ? rcu_do_batch+0x34f/0xf20 [ 15.894264][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.894267][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.894270][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.894275][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.894279][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.894282][ C0] ? default_idle+0x9/0x10 [ 15.894285][ C0] ? default_idle_call+0x6d/0xb0 [ 15.894287][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.894292][ C0] ? do_idle+0xf6/0x160 [ 15.894295][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.894298][ C0] ? rest_init+0x14b/0x260 [ 15.894302][ C0] ? start_kernel+0x350/0x410 [ 15.894309][ C0] __put_net+0x19/0x60 [ 15.894313][ C0] __sk_destruct+0x58a/0x780 [ 15.894317][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.894320][ C0] rcu_do_batch+0x34f/0xf20 [ 15.894324][ C0] ? find_held_lock+0x2b/0x80 [ 15.894330][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.894334][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.894338][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.894342][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.894347][ C0] rcu_core+0x2bb/0x500 [ 15.894350][ C0] handle_softirqs+0x218/0x620 [ 15.894355][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.894358][ C0] irq_exit_rcu+0xe/0x30 [ 15.894360][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.894364][ C0] [ 15.894365][ C0] [ 15.894367][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.894370][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.894374][ C0] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 15.894377][ C0] RSP: 0018:ffffffff85007df8 EFLAGS: 00000246 [ 15.894381][ C0] RAX: 000000000006f3b7 RBX: 1ffffffff0a00fc3 RCX: ffffffff8435ba19 [ 15.894383][ C0] RDX: 0000000000000000 RSI: ffffffff84e87785 RDI: ffffffff84651260 [ 15.894385][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c0667a [ 15.894386][ C0] R10: ffff8880360333d3 R11: 0000000000000000 R12: 0000000000000000 [ 15.894388][ C0] R13: ffffffff8501f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.894392][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.894397][ C0] default_idle+0x9/0x10 [ 15.894399][ C0] default_idle_call+0x6d/0xb0 [ 15.894402][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.894405][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.894410][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 15.894417][ C0] do_idle+0xf6/0x160 [ 15.894421][ C0] cpu_startup_entry+0x54/0x60 [ 15.894424][ C0] rest_init+0x14b/0x260 [ 15.894428][ C0] start_kernel+0x350/0x410 [ 15.894432][ C0] x86_64_start_reservations+0x18/0x30 [ 15.894436][ C0] x86_64_start_kernel+0xba/0x110 [ 15.894440][ C0] common_startup_64+0x13e/0x148 [ 15.894449][ C0] [ 17.819305][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.819825][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 17.820156][ C1] preempt_count: 101, expected: 0 [ 17.820340][ C1] RCU nest depth: 0, expected: 0 [ 17.820519][ C1] INFO: lockdep is turned off. [ 17.820698][ C1] Preemption disabled at: [ 17.820699][ C1] [<0000000000000000>] 0x0 [ 17.821047][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Tainted: G W 6.15.0-rc7-virtme #1 PREEMPT(full) [ 17.821053][ C1] Tainted: [W]=WARN [ 17.821054][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.821056][ C1] Call Trace: [ 17.821058][ C1] [ 17.821061][ C1] dump_stack_lvl+0xb0/0xd0 [ 17.821073][ C1] __might_resched+0x360/0x5a0 [ 17.821082][ C1] down_write+0x72/0x210 [ 17.821088][ C1] ? __pfx_down_write+0x10/0x10 [ 17.821091][ C1] ? simple_recursive_removal+0x3a/0x860 [ 17.821098][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.821106][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.821113][ C1] simple_recursive_removal+0x166/0x860 [ 17.821115][ C1] ? __pfx_remove_one+0x10/0x10 [ 17.821122][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 17.821126][ C1] debugfs_remove+0x44/0x70 [ 17.821129][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 17.821136][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.821139][ C1] ? __sk_destruct+0x383/0x780 [ 17.821147][ C1] ? rcu_do_batch+0x34f/0xf20 [ 17.821152][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.821155][ C1] ? irq_exit_rcu+0xe/0x30 [ 17.821161][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.821167][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.821173][ C1] ? pv_native_safe_halt+0xf/0x20 [ 17.821176][ C1] ? default_idle+0x9/0x10 [ 17.821178][ C1] ? default_idle_call+0x6d/0xb0 [ 17.821180][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.821187][ C1] ? do_idle+0xf6/0x160 [ 17.821190][ C1] ? cpu_startup_entry+0x54/0x60 [ 17.821194][ C1] ? start_secondary+0x213/0x2a0 [ 17.821200][ C1] ? common_startup_64+0x13e/0x148 [ 17.821206][ C1] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.821210][ C1] ? rcu_is_watching+0x12/0xc0 [ 17.821215][ C1] __put_net+0x19/0x60 [ 17.821220][ C1] __sk_destruct+0x58a/0x780 [ 17.821224][ C1] ? rcu_do_batch+0x34a/0xf20 [ 17.821227][ C1] rcu_do_batch+0x34f/0xf20 [ 17.821232][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.821236][ C1] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.821241][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.821248][ C1] rcu_core+0x2bb/0x500 [ 17.821253][ C1] handle_softirqs+0x218/0x620 [ 17.821257][ C1] __irq_exit_rcu+0xfa/0x160 [ 17.821260][ C1] irq_exit_rcu+0xe/0x30 [ 17.821262][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.821266][ C1] [ 17.821267][ C1] [ 17.821268][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.821271][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.821275][ C1] Code: 60 b8 00 e9 c3 57 02 00 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 c3 75 13 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 17.821278][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000246 [ 17.821282][ C1] RAX: 0000000000000001 RBX: 1ffff92000026fc1 RCX: ffffffff8435ba19 [ 17.821284][ C1] RDX: ffffed1006c1667b RSI: ffffffff846511e0 RDI: ffffffff81b8633f [ 17.821286][ C1] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c1667a [ 17.821288][ C1] R10: ffff8880360b33d3 R11: ffff88800acd0558 R12: 0000000000000000 [ 17.821290][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 17.821293][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.821297][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.821301][ C1] default_idle+0x9/0x10 [ 17.821304][ C1] default_idle_call+0x6d/0xb0 [ 17.821306][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 17.821310][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.821314][ C1] ? tsc_verify_tsc_adjust+0x98/0x300 [ 17.821320][ C1] do_idle+0xf6/0x160 [ 17.821324][ C1] cpu_startup_entry+0x54/0x60 [ 17.821327][ C1] start_secondary+0x213/0x2a0 [ 17.821331][ C1] ? __pfx_start_secondary+0x10/0x10 [ 17.821336][ C1] common_startup_64+0x13e/0x148 [ 17.821343][ C1]