[ 14.553869][ C0] [ 14.554008][ C0] ================================ [ 14.554212][ C0] WARNING: inconsistent lock state [ 14.554414][ C0] 6.15.0-virtme #1 Not tainted [ 14.554622][ C0] -------------------------------- [ 14.554824][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.555072][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.555331][ C0] ffffffffad3c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.555693][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.555893][ C0] __lock_acquire+0x20b/0x7e0 [ 14.556109][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.556311][ C0] _raw_spin_lock+0x33/0x40 [ 14.556517][ C0] simple_pin_fs+0x24/0x150 [ 14.556718][ C0] start_creating.part.0+0x52/0x310 [ 14.556924][ C0] debugfs_create_dir+0x6a/0x540 [ 14.557126][ C0] component_debug_init+0x17/0x30 [ 14.557331][ C0] do_one_initcall+0x8f/0x1e0 [ 14.557534][ C0] do_initcalls+0x176/0x280 [ 14.557738][ C0] kernel_init_freeable+0x22d/0x300 [ 14.557941][ C0] kernel_init+0x20/0x200 [ 14.558143][ C0] ret_from_fork+0x240/0x320 [ 14.558347][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.558550][ C0] irq event stamp: 471596 [ 14.558705][ C0] hardirqs last enabled at (471596): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.559112][ C0] hardirqs last disabled at (471595): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.559515][ C0] softirqs last enabled at (469656): [] handle_softirqs+0x358/0x620 [ 14.559870][ C0] softirqs last disabled at (469663): [] __irq_exit_rcu+0xfa/0x160 [ 14.560226][ C0] [ 14.560226][ C0] other info that might help us debug this: [ 14.560527][ C0] Possible unsafe locking scenario: [ 14.560527][ C0] [ 14.560827][ C0] CPU0 [ 14.560980][ C0] ---- [ 14.561132][ C0] lock(pin_fs_lock); [ 14.561287][ C0] [ 14.561439][ C0] lock(pin_fs_lock); [ 14.561597][ C0] [ 14.561597][ C0] *** DEADLOCK *** [ 14.561597][ C0] [ 14.561900][ C0] 1 lock held by swapper/0/0: [ 14.562106][ C0] #0: ffffffffad1774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.562468][ C0] [ 14.562468][ C0] stack backtrace: [ 14.562724][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.562728][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.562730][ C0] Call Trace: [ 14.562732][ C0] [ 14.562734][ C0] dump_stack_lvl+0x82/0xd0 [ 14.562739][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.562744][ C0] mark_lock_irq+0x343/0x400 [ 14.562748][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.562752][ C0] ? __lock_release+0x5d/0x170 [ 14.562756][ C0] ? save_trace+0x52/0x170 [ 14.562762][ C0] mark_lock+0x174/0x2f0 [ 14.562766][ C0] mark_usage+0x46/0x150 [ 14.562769][ C0] __lock_acquire+0x20b/0x7e0 [ 14.562772][ C0] ? __lock_acquire+0x44d/0x7e0 [ 14.562776][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.562779][ C0] ? simple_pin_fs+0x24/0x150 [ 14.562783][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.562788][ C0] ? lock_acquire+0x10c/0x170 [ 14.562790][ C0] ? simple_pin_fs+0x24/0x150 [ 14.562795][ C0] _raw_spin_lock+0x33/0x40 [ 14.562798][ C0] ? simple_pin_fs+0x24/0x150 [ 14.562801][ C0] simple_pin_fs+0x24/0x150 [ 14.562806][ C0] debugfs_remove+0x35/0x70 [ 14.562809][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.562815][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.562818][ C0] ? __sk_destruct+0x383/0x780 [ 14.562824][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.562826][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.562830][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.562832][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.562837][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.562841][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.562844][ C0] ? default_idle+0x9/0x10 [ 14.562847][ C0] ? default_idle_call+0x6d/0xb0 [ 14.562849][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.562853][ C0] ? do_idle+0xf6/0x160 [ 14.562855][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.562857][ C0] ? rest_init+0x14b/0x260 [ 14.562860][ C0] ? start_kernel+0x350/0x410 [ 14.562866][ C0] __put_net+0x19/0x60 [ 14.562870][ C0] __sk_destruct+0x58a/0x780 [ 14.562874][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.562876][ C0] rcu_do_batch+0x34c/0xf20 [ 14.562879][ C0] ? find_held_lock+0x2b/0x80 [ 14.562884][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.562887][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.562891][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.562893][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.562898][ C0] rcu_core+0x2bb/0x500 [ 14.562903][ C0] handle_softirqs+0x218/0x620 [ 14.562908][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.562911][ C0] irq_exit_rcu+0xe/0x30 [ 14.562914][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.562917][ C0] [ 14.562918][ C0] [ 14.562920][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.562923][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.562927][ C0] 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 [ 14.562930][ C0] RSP: 0000:fffffffface07df8 EFLAGS: 00000242 [ 14.562933][ C0] RAX: 0000000000072a9d RBX: 1ffffffff59c0fc3 RCX: ffffffffac1905d9 [ 14.562935][ C0] RDX: 0000000000000000 RSI: ffffffffacc8f4e4 RDI: ffffffffac453be0 [ 14.562937][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.562938][ C0] R10: ffff8880360337d3 R11: fffffffface11288 R12: 0000000000000000 [ 14.562940][ C0] R13: fffffffface1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.562944][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.562948][ C0] default_idle+0x9/0x10 [ 14.562951][ C0] default_idle_call+0x6d/0xb0 [ 14.562953][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.562957][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.562960][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.562966][ C0] do_idle+0xf6/0x160 [ 14.562969][ C0] cpu_startup_entry+0x54/0x60 [ 14.562972][ C0] rest_init+0x14b/0x260 [ 14.562976][ C0] start_kernel+0x350/0x410 [ 14.562980][ C0] x86_64_start_reservations+0x18/0x30 [ 14.562984][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.562988][ C0] common_startup_64+0x13e/0x148 [ 14.562997][ C0] [ 14.580197][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.580541][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.580996][ C0] preempt_count: 101, expected: 0 [ 14.581186][ C0] RCU nest depth: 0, expected: 0 [ 14.581510][ C0] INFO: lockdep is turned off. [ 14.581702][ C0] Preemption disabled at: [ 14.581703][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.582259][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.582263][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.582264][ C0] Call Trace: [ 14.582266][ C0] [ 14.582268][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.582273][ C0] __might_resched+0x360/0x5a0 [ 14.582280][ C0] down_write+0x72/0x210 [ 14.582284][ C0] ? __pfx_down_write+0x10/0x10 [ 14.582287][ C0] ? simple_recursive_removal+0x33/0x610 [ 14.582290][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.582295][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.582301][ C0] simple_recursive_removal+0x6a/0x610 [ 14.582303][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.582306][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.582311][ C0] debugfs_remove+0x44/0x70 [ 14.582314][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.582319][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.582323][ C0] ? __sk_destruct+0x383/0x780 [ 14.582327][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.582330][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.582333][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.582338][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.582342][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.582346][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.582349][ C0] ? default_idle+0x9/0x10 [ 14.582352][ C0] ? default_idle_call+0x6d/0xb0 [ 14.582354][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.582357][ C0] ? do_idle+0xf6/0x160 [ 14.582360][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.582362][ C0] ? rest_init+0x14b/0x260 [ 14.582365][ C0] ? start_kernel+0x350/0x410 [ 14.582372][ C0] __put_net+0x19/0x60 [ 14.582375][ C0] __sk_destruct+0x58a/0x780 [ 14.582379][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.582382][ C0] rcu_do_batch+0x34c/0xf20 [ 14.582385][ C0] ? find_held_lock+0x2b/0x80 [ 14.582390][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.582393][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.582397][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.582400][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.582405][ C0] rcu_core+0x2bb/0x500 [ 14.582409][ C0] handle_softirqs+0x218/0x620 [ 14.582414][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.582417][ C0] irq_exit_rcu+0xe/0x30 [ 14.582420][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.582423][ C0] [ 14.582424][ C0] [ 14.582426][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.582429][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.582433][ C0] 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 [ 14.582435][ C0] RSP: 0000:fffffffface07df8 EFLAGS: 00000242 [ 14.582438][ C0] RAX: 0000000000072a9d RBX: 1ffffffff59c0fc3 RCX: ffffffffac1905d9 [ 14.582440][ C0] RDX: 0000000000000000 RSI: ffffffffacc8f4e4 RDI: ffffffffac453be0 [ 14.582441][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.582443][ C0] R10: ffff8880360337d3 R11: fffffffface11288 R12: 0000000000000000 [ 14.582444][ C0] R13: fffffffface1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.582448][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.582453][ C0] default_idle+0x9/0x10 [ 14.582458][ C0] default_idle_call+0x6d/0xb0 [ 14.582460][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.582464][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.582467][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.582473][ C0] do_idle+0xf6/0x160 [ 14.582476][ C0] cpu_startup_entry+0x54/0x60 [ 14.582479][ C0] rest_init+0x14b/0x260 [ 14.582483][ C0] start_kernel+0x350/0x410 [ 14.582487][ C0] x86_64_start_reservations+0x18/0x30 [ 14.582491][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.582495][ C0] common_startup_64+0x13e/0x148 [ 14.582503][ C0] [ 16.162467][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.162806][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.163107][ C3] preempt_count: 101, expected: 0 [ 16.163288][ C3] RCU nest depth: 0, expected: 0 [ 16.163468][ C3] INFO: lockdep is turned off. [ 16.163644][ C3] Preemption disabled at: [ 16.163646][ C3] [<0000000000000000>] 0x0 [ 16.163953][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.163958][ C3] Tainted: [W]=WARN [ 16.163960][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.163962][ C3] Call Trace: [ 16.163964][ C3] [ 16.163966][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.163975][ C3] __might_resched+0x360/0x5a0 [ 16.163982][ C3] down_write+0x72/0x210 [ 16.163986][ C3] ? __pfx_down_write+0x10/0x10 [ 16.163989][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.163993][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.163998][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.164004][ C3] simple_recursive_removal+0x6a/0x610 [ 16.164007][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.164010][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.164015][ C3] debugfs_remove+0x44/0x70 [ 16.164018][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.164024][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.164028][ C3] ? __sk_destruct+0x383/0x780 [ 16.164033][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.164036][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.164040][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.164045][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.164049][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.164053][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.164057][ C3] ? default_idle+0x9/0x10 [ 16.164059][ C3] ? default_idle_call+0x6d/0xb0 [ 16.164062][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.164065][ C3] ? do_idle+0xf6/0x160 [ 16.164067][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.164070][ C3] ? start_secondary+0x213/0x2a0 [ 16.164073][ C3] ? common_startup_64+0x13e/0x148 [ 16.164078][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.164082][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.164087][ C3] __put_net+0x19/0x60 [ 16.164091][ C3] __sk_destruct+0x58a/0x780 [ 16.164095][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.164097][ C3] rcu_do_batch+0x34c/0xf20 [ 16.164102][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.164105][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.164112][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.164117][ C3] rcu_core+0x2bb/0x500 [ 16.164122][ C3] handle_softirqs+0x218/0x620 [ 16.164127][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.164130][ C3] irq_exit_rcu+0xe/0x30 [ 16.164133][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.164136][ C3] [ 16.164137][ C3] [ 16.164139][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.164142][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.164146][ 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.164149][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.164153][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffac1905d9 [ 16.164155][ C3] RDX: ffffed1006c366fb RSI: ffffffffac453b60 RDI: ffffffffa998d18f [ 16.164157][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.164158][ C3] R10: ffff8880361b37d3 R11: ffffffffafa49b10 R12: 0000000000000000 [ 16.164160][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.164164][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.164167][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.164171][ C3] default_idle+0x9/0x10 [ 16.164174][ C3] default_idle_call+0x6d/0xb0 [ 16.164177][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.164180][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.164183][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.164188][ C3] do_idle+0xf6/0x160 [ 16.164191][ C3] cpu_startup_entry+0x54/0x60 [ 16.164194][ C3] start_secondary+0x213/0x2a0 [ 16.164197][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.164201][ C3] common_startup_64+0x13e/0x148 [ 16.164208][ C3]