[ 14.854987][ C0] [ 14.855145][ C0] ================================ [ 14.855365][ C0] WARNING: inconsistent lock state [ 14.855581][ C0] 6.15.0-virtme #1 Not tainted [ 14.855791][ C0] -------------------------------- [ 14.856007][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.856273][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.856542][ C0] ffffffffbb1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.856920][ C0] {SOFTIRQ-ON-W} state was registered at: [ 14.857148][ C0] __lock_acquire+0x20b/0x7e0 [ 14.857373][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.857594][ C0] _raw_spin_lock+0x33/0x40 [ 14.857814][ C0] simple_pin_fs+0x24/0x150 [ 14.858034][ C0] start_creating.part.0+0x52/0x310 [ 14.858255][ C0] debugfs_create_dir+0x6a/0x540 [ 14.858476][ C0] component_debug_init+0x17/0x30 [ 14.858689][ C0] do_one_initcall+0x8f/0x1e0 [ 14.858905][ C0] do_initcalls+0x176/0x280 [ 14.859118][ C0] kernel_init_freeable+0x22d/0x300 [ 14.859333][ C0] kernel_init+0x20/0x200 [ 14.859542][ C0] ret_from_fork+0x240/0x320 [ 14.859755][ C0] ret_from_fork_asm+0x1a/0x30 [ 14.859965][ C0] irq event stamp: 448252 [ 14.860124][ C0] hardirqs last enabled at (448252): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.860546][ C0] hardirqs last disabled at (448251): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.860962][ C0] softirqs last enabled at (446918): [] handle_softirqs+0x358/0x620 [ 14.861329][ C0] softirqs last disabled at (446925): [] __irq_exit_rcu+0xfa/0x160 [ 14.861696][ C0] [ 14.861696][ C0] other info that might help us debug this: [ 14.862005][ C0] Possible unsafe locking scenario: [ 14.862005][ C0] [ 14.862312][ C0] CPU0 [ 14.862471][ C0] ---- [ 14.862628][ C0] lock(pin_fs_lock); [ 14.862788][ C0] [ 14.862945][ C0] lock(pin_fs_lock); [ 14.863103][ C0] [ 14.863103][ C0] *** DEADLOCK *** [ 14.863103][ C0] [ 14.863409][ C0] 1 lock held by swapper/0/0: [ 14.863628][ C0] #0: ffffffffbaf774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.864008][ C0] [ 14.864008][ C0] stack backtrace: [ 14.864273][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.864278][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.864281][ C0] Call Trace: [ 14.864283][ C0] [ 14.864285][ C0] dump_stack_lvl+0x82/0xd0 [ 14.864292][ C0] print_usage_bug.part.0+0x25f/0x360 [ 14.864297][ C0] mark_lock_irq+0x343/0x400 [ 14.864300][ C0] ? is_bpf_text_address+0x67/0x120 [ 14.864306][ C0] ? __lock_release+0x5d/0x170 [ 14.864310][ C0] ? save_trace+0x52/0x170 [ 14.864317][ C0] mark_lock+0x174/0x2f0 [ 14.864320][ C0] mark_usage+0x46/0x150 [ 14.864323][ C0] __lock_acquire+0x20b/0x7e0 [ 14.864326][ C0] ? __lock_acquire+0x44d/0x7e0 [ 14.864330][ C0] lock_acquire.part.0+0xb6/0x240 [ 14.864333][ C0] ? simple_pin_fs+0x24/0x150 [ 14.864337][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.864341][ C0] ? lock_acquire+0x10c/0x170 [ 14.864344][ C0] ? simple_pin_fs+0x24/0x150 [ 14.864348][ C0] _raw_spin_lock+0x33/0x40 [ 14.864351][ C0] ? simple_pin_fs+0x24/0x150 [ 14.864354][ C0] simple_pin_fs+0x24/0x150 [ 14.864358][ C0] debugfs_remove+0x35/0x70 [ 14.864361][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.864368][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.864371][ C0] ? __sk_destruct+0x383/0x780 [ 14.864379][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.864381][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.864384][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.864387][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.864393][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.864396][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.864399][ C0] ? default_idle+0x9/0x10 [ 14.864402][ C0] ? default_idle_call+0x6d/0xb0 [ 14.864404][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.864407][ C0] ? do_idle+0xf6/0x160 [ 14.864409][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.864412][ C0] ? rest_init+0x14b/0x260 [ 14.864414][ C0] ? start_kernel+0x350/0x410 [ 14.864419][ C0] __put_net+0x19/0x60 [ 14.864424][ C0] __sk_destruct+0x58a/0x780 [ 14.864427][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.864430][ C0] rcu_do_batch+0x34c/0xf20 [ 14.864433][ C0] ? find_held_lock+0x2b/0x80 [ 14.864437][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.864440][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.864443][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.864446][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.864450][ C0] rcu_core+0x2bb/0x500 [ 14.864455][ C0] handle_softirqs+0x218/0x620 [ 14.864460][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.864463][ C0] irq_exit_rcu+0xe/0x30 [ 14.864465][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.864469][ C0] [ 14.864470][ C0] [ 14.864471][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.864474][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.864478][ 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.864480][ C0] RSP: 0018:ffffffffbac07df8 EFLAGS: 00000242 [ 14.864484][ C0] RAX: 000000000006d1cb RBX: 1ffffffff7580fc3 RCX: ffffffffb9f905d9 [ 14.864485][ C0] RDX: 0000000000000000 RSI: ffffffffbaa8f4e4 RDI: ffffffffba253be0 [ 14.864487][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.864488][ C0] R10: ffff8880360337d3 R11: ffffffffbac11288 R12: 0000000000000000 [ 14.864490][ C0] R13: ffffffffbac1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.864494][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.864498][ C0] default_idle+0x9/0x10 [ 14.864500][ C0] default_idle_call+0x6d/0xb0 [ 14.864503][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.864505][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.864509][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.864513][ C0] do_idle+0xf6/0x160 [ 14.864517][ C0] cpu_startup_entry+0x54/0x60 [ 14.864519][ C0] rest_init+0x14b/0x260 [ 14.864522][ C0] start_kernel+0x350/0x410 [ 14.864526][ C0] x86_64_start_reservations+0x18/0x30 [ 14.864530][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.864534][ C0] common_startup_64+0x13e/0x148 [ 14.864544][ C0] [ 14.882420][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.882890][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 14.883257][ C0] preempt_count: 101, expected: 0 [ 14.883462][ C0] RCU nest depth: 0, expected: 0 [ 14.883663][ C0] INFO: lockdep is turned off. [ 14.883979][ C0] Preemption disabled at: [ 14.883981][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 14.884444][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.884448][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.884450][ C0] Call Trace: [ 14.884451][ C0] [ 14.884453][ C0] dump_stack_lvl+0xb0/0xd0 [ 14.884457][ C0] __might_resched+0x360/0x5a0 [ 14.884464][ C0] down_write+0x72/0x210 [ 14.884469][ C0] ? __pfx_down_write+0x10/0x10 [ 14.884471][ C0] ? simple_recursive_removal+0x33/0x610 [ 14.884475][ C0] ? rcu_is_watching+0x12/0xc0 [ 14.884479][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.884485][ C0] simple_recursive_removal+0x6a/0x610 [ 14.884487][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 14.884491][ C0] ? __pfx_remove_one+0x10/0x10 [ 14.884495][ C0] debugfs_remove+0x44/0x70 [ 14.884498][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 14.884502][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.884506][ C0] ? __sk_destruct+0x383/0x780 [ 14.884510][ C0] ? rcu_do_batch+0x34c/0xf20 [ 14.884513][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.884516][ C0] ? irq_exit_rcu+0xe/0x30 [ 14.884520][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.884524][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.884528][ C0] ? pv_native_safe_halt+0xf/0x20 [ 14.884531][ C0] ? default_idle+0x9/0x10 [ 14.884533][ C0] ? default_idle_call+0x6d/0xb0 [ 14.884536][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.884539][ C0] ? do_idle+0xf6/0x160 [ 14.884541][ C0] ? cpu_startup_entry+0x54/0x60 [ 14.884543][ C0] ? rest_init+0x14b/0x260 [ 14.884546][ C0] ? start_kernel+0x350/0x410 [ 14.884552][ C0] __put_net+0x19/0x60 [ 14.884555][ C0] __sk_destruct+0x58a/0x780 [ 14.884559][ C0] ? rcu_do_batch+0x34a/0xf20 [ 14.884562][ C0] rcu_do_batch+0x34c/0xf20 [ 14.884565][ C0] ? find_held_lock+0x2b/0x80 [ 14.884571][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.884574][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.884578][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.884581][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.884585][ C0] rcu_core+0x2bb/0x500 [ 14.884589][ C0] handle_softirqs+0x218/0x620 [ 14.884594][ C0] __irq_exit_rcu+0xfa/0x160 [ 14.884597][ C0] irq_exit_rcu+0xe/0x30 [ 14.884599][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.884602][ C0] [ 14.884603][ C0] [ 14.884605][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.884608][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.884611][ 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.884614][ C0] RSP: 0018:ffffffffbac07df8 EFLAGS: 00000242 [ 14.884617][ C0] RAX: 000000000006d1cb RBX: 1ffffffff7580fc3 RCX: ffffffffb9f905d9 [ 14.884619][ C0] RDX: 0000000000000000 RSI: ffffffffbaa8f4e4 RDI: ffffffffba253be0 [ 14.884620][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 14.884622][ C0] R10: ffff8880360337d3 R11: ffffffffbac11288 R12: 0000000000000000 [ 14.884623][ C0] R13: ffffffffbac1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 14.884627][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.884631][ C0] default_idle+0x9/0x10 [ 14.884633][ C0] default_idle_call+0x6d/0xb0 [ 14.884636][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 14.884639][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.884642][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.884646][ C0] do_idle+0xf6/0x160 [ 14.884649][ C0] cpu_startup_entry+0x54/0x60 [ 14.884652][ C0] rest_init+0x14b/0x260 [ 14.884655][ C0] start_kernel+0x350/0x410 [ 14.884659][ C0] x86_64_start_reservations+0x18/0x30 [ 14.884662][ C0] x86_64_start_kernel+0xf8/0x150 [ 14.884666][ C0] common_startup_64+0x13e/0x148 [ 14.884673][ C0] [ 17.077292][ T258] packetdrill (258) used greatest stack depth: 24584 bytes left [ 17.086897][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.087275][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.087600][ C2] preempt_count: 101, expected: 0 [ 17.087795][ C2] RCU nest depth: 0, expected: 0 [ 17.087994][ C2] INFO: lockdep is turned off. [ 17.088201][ C2] Preemption disabled at: [ 17.088205][ C2] [<0000000000000000>] 0x0 [ 17.088579][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.088585][ C2] Tainted: [W]=WARN [ 17.088588][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.088593][ C2] Call Trace: [ 17.088598][ C2] [ 17.088601][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.088641][ C2] __might_resched+0x360/0x5a0 [ 17.088660][ C2] down_write+0x72/0x210 [ 17.088667][ C2] ? __pfx_down_write+0x10/0x10 [ 17.088670][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.088684][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.088693][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.088703][ C2] simple_recursive_removal+0x6a/0x610 [ 17.088706][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.088709][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.088719][ C2] debugfs_remove+0x44/0x70 [ 17.088722][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.088737][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.088742][ C2] ? __sk_destruct+0x383/0x780 [ 17.088757][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.088762][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.088765][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.088779][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.088786][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.088796][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.088799][ C2] ? default_idle+0x9/0x10 [ 17.088802][ C2] ? default_idle_call+0x6d/0xb0 [ 17.088805][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.088810][ C2] ? do_idle+0xf6/0x160 [ 17.088812][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.088814][ C2] ? start_secondary+0x213/0x2a0 [ 17.088822][ C2] ? common_startup_64+0x13e/0x148 [ 17.088835][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.088842][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.088847][ C2] __put_net+0x19/0x60 [ 17.088852][ C2] __sk_destruct+0x58a/0x780 [ 17.088856][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.088859][ C2] rcu_do_batch+0x34c/0xf20 [ 17.088863][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.088867][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.088878][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.088886][ C2] rcu_core+0x2bb/0x500 [ 17.088890][ C2] handle_softirqs+0x218/0x620 [ 17.088896][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.088899][ C2] irq_exit_rcu+0xe/0x30 [ 17.088903][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.088907][ C2] [ 17.088908][ C2] [ 17.088910][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.088913][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.088919][ 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 [ 17.088922][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.088930][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffb9f905d9 [ 17.088932][ C2] RDX: ffffed1006c266fb RSI: ffffffffba253b60 RDI: ffffffffb778d18f [ 17.088934][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 17.088936][ C2] R10: ffff8880361337d3 R11: ffff888001ee2818 R12: 0000000000000000 [ 17.088938][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.088942][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.088945][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.088949][ C2] default_idle+0x9/0x10 [ 17.088952][ C2] default_idle_call+0x6d/0xb0 [ 17.088955][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.088958][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.088961][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.088966][ C2] do_idle+0xf6/0x160 [ 17.088969][ C2] cpu_startup_entry+0x54/0x60 [ 17.088972][ C2] start_secondary+0x213/0x2a0 [ 17.088974][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.088979][ C2] common_startup_64+0x13e/0x148 [ 17.088986][ C2]