[ 17.725209][ C0] [ 17.725372][ C0] ================================ [ 17.725584][ C0] WARNING: inconsistent lock state [ 17.725797][ C0] 6.15.0-virtme #1 Not tainted [ 17.726010][ C0] -------------------------------- [ 17.726247][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.726519][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.726793][ C0] ffffffffb27c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.727182][ C0] {SOFTIRQ-ON-W} state was registered at: [ 17.727403][ C0] __lock_acquire+0x20b/0x7e0 [ 17.727639][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.727852][ C0] _raw_spin_lock+0x33/0x40 [ 17.728077][ C0] simple_pin_fs+0x24/0x150 [ 17.728296][ C0] start_creating.part.0+0x52/0x310 [ 17.728526][ C0] debugfs_create_dir+0x6a/0x540 [ 17.728755][ C0] component_debug_init+0x17/0x30 [ 17.728974][ C0] do_one_initcall+0x8f/0x1e0 [ 17.729200][ C0] do_initcalls+0x176/0x280 [ 17.729431][ C0] kernel_init_freeable+0x22d/0x300 [ 17.729653][ C0] kernel_init+0x20/0x200 [ 17.729876][ C0] ret_from_fork+0x240/0x320 [ 17.730102][ C0] ret_from_fork_asm+0x1a/0x30 [ 17.730322][ C0] irq event stamp: 491698 [ 17.730484][ C0] hardirqs last enabled at (491698): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.730929][ C0] hardirqs last disabled at (491697): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.731375][ C0] softirqs last enabled at (490696): [] handle_softirqs+0x358/0x620 [ 17.731763][ C0] softirqs last disabled at (490715): [] __irq_exit_rcu+0xfa/0x160 [ 17.732140][ C0] [ 17.732140][ C0] other info that might help us debug this: [ 17.732467][ C0] Possible unsafe locking scenario: [ 17.732467][ C0] [ 17.732806][ C0] CPU0 [ 17.732965][ C0] ---- [ 17.733142][ C0] lock(pin_fs_lock); [ 17.733317][ C0] [ 17.733487][ C0] lock(pin_fs_lock); [ 17.733650][ C0] [ 17.733650][ C0] *** DEADLOCK *** [ 17.733650][ C0] [ 17.733980][ C0] 1 lock held by swapper/0/0: [ 17.734205][ C0] #0: ffffffffb25774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.734586][ C0] [ 17.734586][ C0] stack backtrace: [ 17.734863][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.734869][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.734871][ C0] Call Trace: [ 17.734873][ C0] [ 17.734876][ C0] dump_stack_lvl+0x82/0xd0 [ 17.734884][ C0] print_usage_bug.part.0+0x25f/0x360 [ 17.734889][ C0] mark_lock_irq+0x343/0x400 [ 17.734893][ C0] ? is_bpf_text_address+0x67/0x120 [ 17.734900][ C0] ? __lock_release+0x5d/0x170 [ 17.734904][ C0] ? save_trace+0x52/0x170 [ 17.734910][ C0] mark_lock+0x174/0x2f0 [ 17.734914][ C0] mark_usage+0x46/0x150 [ 17.734917][ C0] __lock_acquire+0x20b/0x7e0 [ 17.734920][ C0] ? __lock_acquire+0x44d/0x7e0 [ 17.734924][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.734927][ C0] ? simple_pin_fs+0x24/0x150 [ 17.734933][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.734938][ C0] ? lock_acquire+0x10c/0x170 [ 17.734940][ C0] ? simple_pin_fs+0x24/0x150 [ 17.734945][ C0] _raw_spin_lock+0x33/0x40 [ 17.734949][ C0] ? simple_pin_fs+0x24/0x150 [ 17.734952][ C0] simple_pin_fs+0x24/0x150 [ 17.734957][ C0] debugfs_remove+0x35/0x70 [ 17.734960][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.734969][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.734972][ C0] ? __sk_destruct+0x383/0x780 [ 17.734979][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.734982][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.734985][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.734988][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.734994][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.734999][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.735002][ C0] ? default_idle+0x9/0x10 [ 17.735005][ C0] ? default_idle_call+0x6d/0xb0 [ 17.735008][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.735012][ C0] ? do_idle+0xf6/0x160 [ 17.735014][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.735017][ C0] ? rest_init+0x14b/0x260 [ 17.735020][ C0] ? start_kernel+0x350/0x410 [ 17.735027][ C0] __put_net+0x19/0x60 [ 17.735032][ C0] __sk_destruct+0x58a/0x780 [ 17.735036][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.735038][ C0] rcu_do_batch+0x34c/0xf20 [ 17.735043][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.735046][ C0] ? __lock_release+0x5d/0x170 [ 17.735051][ C0] rcu_core+0x2bb/0x500 [ 17.735057][ C0] handle_softirqs+0x218/0x620 [ 17.735062][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.735065][ C0] irq_exit_rcu+0xe/0x30 [ 17.735068][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.735071][ C0] [ 17.735072][ C0] [ 17.735074][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.735077][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.735082][ 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 [ 17.735084][ C0] RSP: 0018:ffffffffb2207df8 EFLAGS: 00000242 [ 17.735088][ C0] RAX: 0000000000077cd9 RBX: 1ffffffff6440fc3 RCX: ffffffffb15905d9 [ 17.735090][ C0] RDX: 0000000000000000 RSI: ffffffffb208f4e4 RDI: ffffffffb1853be0 [ 17.735092][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 17.735094][ C0] R10: ffff8880360337d3 R11: ffffffffb2211288 R12: 0000000000000000 [ 17.735095][ C0] R13: ffffffffb221f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.735100][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.735105][ C0] default_idle+0x9/0x10 [ 17.735107][ C0] default_idle_call+0x6d/0xb0 [ 17.735110][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.735113][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.735117][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.735124][ C0] do_idle+0xf6/0x160 [ 17.735127][ C0] cpu_startup_entry+0x54/0x60 [ 17.735130][ C0] rest_init+0x14b/0x260 [ 17.735134][ C0] start_kernel+0x350/0x410 [ 17.735138][ C0] x86_64_start_reservations+0x18/0x30 [ 17.735143][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.735147][ C0] common_startup_64+0x13e/0x148 [ 17.735159][ C0] [ 17.752407][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.752774][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 17.753153][ C0] preempt_count: 101, expected: 0 [ 17.753490][ C0] RCU nest depth: 0, expected: 0 [ 17.753689][ C0] INFO: lockdep is turned off. [ 17.753898][ C0] Preemption disabled at: [ 17.753900][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.754481][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.754486][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.754489][ C0] Call Trace: [ 17.754491][ C0] [ 17.754493][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.754500][ C0] __might_resched+0x360/0x5a0 [ 17.754509][ C0] down_write+0x72/0x210 [ 17.754514][ C0] ? __pfx_down_write+0x10/0x10 [ 17.754517][ C0] ? simple_recursive_removal+0x33/0x610 [ 17.754522][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.754528][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.754535][ C0] simple_recursive_removal+0x6a/0x610 [ 17.754538][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.754541][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.754547][ C0] debugfs_remove+0x44/0x70 [ 17.754550][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.754557][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.754560][ C0] ? __sk_destruct+0x383/0x780 [ 17.754567][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.754571][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.754574][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.754580][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.754585][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.754591][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.754594][ C0] ? default_idle+0x9/0x10 [ 17.754597][ C0] ? default_idle_call+0x6d/0xb0 [ 17.754600][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.754604][ C0] ? do_idle+0xf6/0x160 [ 17.754606][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.754609][ C0] ? rest_init+0x14b/0x260 [ 17.754612][ C0] ? start_kernel+0x350/0x410 [ 17.754620][ C0] __put_net+0x19/0x60 [ 17.754625][ C0] __sk_destruct+0x58a/0x780 [ 17.754629][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.754632][ C0] rcu_do_batch+0x34c/0xf20 [ 17.754636][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.754640][ C0] ? __lock_release+0x5d/0x170 [ 17.754646][ C0] rcu_core+0x2bb/0x500 [ 17.754651][ C0] handle_softirqs+0x218/0x620 [ 17.754657][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.754660][ C0] irq_exit_rcu+0xe/0x30 [ 17.754662][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.754666][ C0] [ 17.754667][ C0] [ 17.754669][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.754671][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.754676][ 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 [ 17.754679][ C0] RSP: 0018:ffffffffb2207df8 EFLAGS: 00000242 [ 17.754682][ C0] RAX: 0000000000077cd9 RBX: 1ffffffff6440fc3 RCX: ffffffffb15905d9 [ 17.754684][ C0] RDX: 0000000000000000 RSI: ffffffffb208f4e4 RDI: ffffffffb1853be0 [ 17.754686][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 17.754688][ C0] R10: ffff8880360337d3 R11: ffffffffb2211288 R12: 0000000000000000 [ 17.754689][ C0] R13: ffffffffb221f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.754694][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.754699][ C0] default_idle+0x9/0x10 [ 17.754701][ C0] default_idle_call+0x6d/0xb0 [ 17.754704][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.754707][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.754711][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.754717][ C0] do_idle+0xf6/0x160 [ 17.754720][ C0] cpu_startup_entry+0x54/0x60 [ 17.754723][ C0] rest_init+0x14b/0x260 [ 17.754727][ C0] start_kernel+0x350/0x410 [ 17.754731][ C0] x86_64_start_reservations+0x18/0x30 [ 17.754736][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.754739][ C0] common_startup_64+0x13e/0x148 [ 17.754749][ C0] [ 20.466210][ T258] packetdrill (258) used greatest stack depth: 24584 bytes left [ 20.475552][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.475930][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 20.476285][ C0] preempt_count: 101, expected: 0 [ 20.476493][ C0] RCU nest depth: 0, expected: 0 [ 20.476691][ C0] INFO: lockdep is turned off. [ 20.476899][ C0] Preemption disabled at: [ 20.476901][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 20.477343][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.477349][ C0] Tainted: [W]=WARN [ 20.477351][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.477353][ C0] Call Trace: [ 20.477355][ C0] [ 20.477357][ C0] dump_stack_lvl+0xb0/0xd0 [ 20.477365][ C0] __might_resched+0x360/0x5a0 [ 20.477374][ C0] down_write+0x72/0x210 [ 20.477379][ C0] ? __pfx_down_write+0x10/0x10 [ 20.477382][ C0] ? simple_recursive_removal+0x33/0x610 [ 20.477388][ C0] ? rcu_is_watching+0x12/0xc0 [ 20.477395][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 20.477405][ C0] simple_recursive_removal+0x6a/0x610 [ 20.477410][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 20.477415][ C0] ? __pfx_remove_one+0x10/0x10 [ 20.477422][ C0] debugfs_remove+0x44/0x70 [ 20.477425][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 20.477434][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.477438][ C0] ? __sk_destruct+0x383/0x780 [ 20.477445][ C0] ? rcu_do_batch+0x34c/0xf20 [ 20.477449][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.477452][ C0] ? irq_exit_rcu+0xe/0x30 [ 20.477459][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.477465][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.477470][ C0] ? pv_native_safe_halt+0xf/0x20 [ 20.477474][ C0] ? default_idle+0x9/0x10 [ 20.477476][ C0] ? default_idle_call+0x6d/0xb0 [ 20.477479][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.477484][ C0] ? do_idle+0xf6/0x160 [ 20.477486][ C0] ? cpu_startup_entry+0x54/0x60 [ 20.477488][ C0] ? rest_init+0x14b/0x260 [ 20.477491][ C0] ? start_kernel+0x350/0x410 [ 20.477498][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.477504][ C0] ? rcu_is_watching+0x12/0xc0 [ 20.477509][ C0] __put_net+0x19/0x60 [ 20.477513][ C0] __sk_destruct+0x58a/0x780 [ 20.477517][ C0] ? rcu_do_batch+0x34a/0xf20 [ 20.477520][ C0] rcu_do_batch+0x34c/0xf20 [ 20.477524][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.477528][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.477536][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.477542][ C0] rcu_core+0x2bb/0x500 [ 20.477548][ C0] handle_softirqs+0x218/0x620 [ 20.477553][ C0] __irq_exit_rcu+0xfa/0x160 [ 20.477557][ C0] irq_exit_rcu+0xe/0x30 [ 20.477560][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.477563][ C0] [ 20.477564][ C0] [ 20.477566][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.477569][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.477574][ 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 [ 20.477577][ C0] RSP: 0018:ffffffffb2207df8 EFLAGS: 00000246 [ 20.477581][ C0] RAX: 0000000000000000 RBX: 1ffffffff6440fc3 RCX: ffffffffb15905d9 [ 20.477583][ C0] RDX: ffffed1006c066fb RSI: ffffffffb1853b60 RDI: ffffffffaed8d18f [ 20.477586][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 20.477588][ C0] R10: ffff8880360337d3 R11: ffffffffb22079d0 R12: 0000000000000000 [ 20.477589][ C0] R13: ffffffffb221f240 R14: dffffc0000000000 R15: 0000000000014770 [ 20.477594][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.477597][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.477601][ C0] default_idle+0x9/0x10 [ 20.477603][ C0] default_idle_call+0x6d/0xb0 [ 20.477606][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 20.477609][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.477613][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.477620][ C0] do_idle+0xf6/0x160 [ 20.477623][ C0] cpu_startup_entry+0x54/0x60 [ 20.477626][ C0] rest_init+0x14b/0x260 [ 20.477629][ C0] start_kernel+0x350/0x410 [ 20.477634][ C0] x86_64_start_reservations+0x18/0x30 [ 20.477639][ C0] x86_64_start_kernel+0xf8/0x150 [ 20.477643][ C0] common_startup_64+0x13e/0x148 [ 20.477654][ C0]