[ 17.280995][ T258] packetdrill (258) used greatest stack depth: 24384 bytes left [ 17.290573][ C0] [ 17.290699][ C0] ================================ [ 17.290913][ C0] WARNING: inconsistent lock state [ 17.291115][ C0] 6.15.0-virtme #1 Not tainted [ 17.291323][ C0] -------------------------------- [ 17.291522][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.291774][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.292024][ C0] ffffffff981c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.292389][ C0] {SOFTIRQ-ON-W} state was registered at: [ 17.292590][ C0] __lock_acquire+0x20b/0x7e0 [ 17.292797][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.293001][ C0] _raw_spin_lock+0x33/0x40 [ 17.293207][ C0] simple_pin_fs+0x24/0x150 [ 17.293411][ C0] start_creating.part.0+0x52/0x310 [ 17.293615][ C0] debugfs_create_dir+0x6a/0x540 [ 17.293817][ C0] component_debug_init+0x17/0x30 [ 17.294021][ C0] do_one_initcall+0x8f/0x1e0 [ 17.294227][ C0] do_initcalls+0x176/0x280 [ 17.294429][ C0] kernel_init_freeable+0x22d/0x300 [ 17.294633][ C0] kernel_init+0x20/0x200 [ 17.294834][ C0] ret_from_fork+0x240/0x320 [ 17.295040][ C0] ret_from_fork_asm+0x1a/0x30 [ 17.295243][ C0] irq event stamp: 476394 [ 17.295397][ C0] hardirqs last enabled at (476394): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.295802][ C0] hardirqs last disabled at (476393): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.296202][ C0] softirqs last enabled at (475332): [] handle_softirqs+0x358/0x620 [ 17.296557][ C0] softirqs last disabled at (475345): [] __irq_exit_rcu+0xfa/0x160 [ 17.296927][ C0] [ 17.296927][ C0] other info that might help us debug this: [ 17.297228][ C0] Possible unsafe locking scenario: [ 17.297228][ C0] [ 17.297524][ C0] CPU0 [ 17.297675][ C0] ---- [ 17.297827][ C0] lock(pin_fs_lock); [ 17.297984][ C0] [ 17.298135][ C0] lock(pin_fs_lock); [ 17.298292][ C0] [ 17.298292][ C0] *** DEADLOCK *** [ 17.298292][ C0] [ 17.298590][ C0] 1 lock held by swapper/0/0: [ 17.298797][ C0] #0: ffffffff97f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.299161][ C0] [ 17.299161][ C0] stack backtrace: [ 17.299411][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.299415][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.299417][ C0] Call Trace: [ 17.299419][ C0] [ 17.299420][ C0] dump_stack_lvl+0x82/0xd0 [ 17.299426][ C0] print_usage_bug.part.0+0x25f/0x360 [ 17.299431][ C0] mark_lock_irq+0x343/0x400 [ 17.299434][ C0] ? is_bpf_text_address+0x67/0x120 [ 17.299439][ C0] ? __lock_release+0x5d/0x170 [ 17.299443][ C0] ? save_trace+0x52/0x170 [ 17.299449][ C0] mark_lock+0x174/0x2f0 [ 17.299452][ C0] mark_usage+0x46/0x150 [ 17.299455][ C0] __lock_acquire+0x20b/0x7e0 [ 17.299458][ C0] ? __lock_acquire+0x44d/0x7e0 [ 17.299463][ C0] lock_acquire.part.0+0xb6/0x240 [ 17.299466][ C0] ? simple_pin_fs+0x24/0x150 [ 17.299470][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.299474][ C0] ? lock_acquire+0x10c/0x170 [ 17.299476][ C0] ? simple_pin_fs+0x24/0x150 [ 17.299481][ C0] _raw_spin_lock+0x33/0x40 [ 17.299485][ C0] ? simple_pin_fs+0x24/0x150 [ 17.299488][ C0] simple_pin_fs+0x24/0x150 [ 17.299492][ C0] debugfs_remove+0x35/0x70 [ 17.299495][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.299501][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.299505][ C0] ? __sk_destruct+0x383/0x780 [ 17.299511][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.299513][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.299517][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.299519][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.299524][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.299527][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.299531][ C0] ? default_idle+0x9/0x10 [ 17.299533][ C0] ? default_idle_call+0x6d/0xb0 [ 17.299536][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.299540][ C0] ? do_idle+0xf6/0x160 [ 17.299542][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.299544][ C0] ? rest_init+0x14b/0x260 [ 17.299547][ C0] ? start_kernel+0x350/0x410 [ 17.299553][ C0] __put_net+0x19/0x60 [ 17.299556][ C0] __sk_destruct+0x58a/0x780 [ 17.299560][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.299563][ C0] rcu_do_batch+0x34c/0xf20 [ 17.299568][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.299571][ C0] ? __lock_release+0x5d/0x170 [ 17.299574][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.299577][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.299582][ C0] rcu_core+0x2bb/0x500 [ 17.299586][ C0] handle_softirqs+0x218/0x620 [ 17.299592][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.299595][ C0] irq_exit_rcu+0xe/0x30 [ 17.299597][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.299601][ C0] [ 17.299602][ C0] [ 17.299604][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.299606][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.299610][ 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.299613][ C0] RSP: 0018:ffffffff97c07df8 EFLAGS: 00000246 [ 17.299616][ C0] RAX: 00000000000740cf RBX: 1ffffffff2f80fc3 RCX: ffffffff96f905d9 [ 17.299618][ C0] RDX: 0000000000000000 RSI: ffffffff97a8f4e4 RDI: ffffffff97253be0 [ 17.299620][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 17.299621][ C0] R10: ffff8880360337d3 R11: ffffffff97c11288 R12: 0000000000000000 [ 17.299623][ C0] R13: ffffffff97c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.299627][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.299632][ C0] default_idle+0x9/0x10 [ 17.299634][ C0] default_idle_call+0x6d/0xb0 [ 17.299637][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.299640][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.299644][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.299649][ C0] do_idle+0xf6/0x160 [ 17.299653][ C0] cpu_startup_entry+0x54/0x60 [ 17.299656][ C0] rest_init+0x14b/0x260 [ 17.299659][ C0] start_kernel+0x350/0x410 [ 17.299663][ C0] x86_64_start_reservations+0x18/0x30 [ 17.299668][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.299672][ C0] common_startup_64+0x13e/0x148 [ 17.299681][ C0] [ 17.316175][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.316512][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 17.316845][ C0] preempt_count: 101, expected: 0 [ 17.317036][ C0] RCU nest depth: 0, expected: 0 [ 17.317225][ C0] INFO: lockdep is turned off. [ 17.317425][ C0] Preemption disabled at: [ 17.317426][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 17.317852][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.317856][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.317858][ C0] Call Trace: [ 17.317859][ C0] [ 17.317861][ C0] dump_stack_lvl+0xb0/0xd0 [ 17.317866][ C0] __might_resched+0x360/0x5a0 [ 17.317872][ C0] down_write+0x72/0x210 [ 17.317875][ C0] ? __pfx_down_write+0x10/0x10 [ 17.317879][ C0] ? simple_recursive_removal+0x33/0x610 [ 17.317883][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.317887][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.317892][ C0] simple_recursive_removal+0x6a/0x610 [ 17.317895][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 17.317898][ C0] ? __pfx_remove_one+0x10/0x10 [ 17.317903][ C0] debugfs_remove+0x44/0x70 [ 17.317906][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 17.317912][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.317915][ C0] ? __sk_destruct+0x383/0x780 [ 17.317920][ C0] ? rcu_do_batch+0x34c/0xf20 [ 17.317923][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.317926][ C0] ? irq_exit_rcu+0xe/0x30 [ 17.317930][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.317934][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.317937][ C0] ? pv_native_safe_halt+0xf/0x20 [ 17.317941][ C0] ? default_idle+0x9/0x10 [ 17.317943][ C0] ? default_idle_call+0x6d/0xb0 [ 17.317946][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.317948][ C0] ? do_idle+0xf6/0x160 [ 17.317951][ C0] ? cpu_startup_entry+0x54/0x60 [ 17.317953][ C0] ? rest_init+0x14b/0x260 [ 17.317956][ C0] ? start_kernel+0x350/0x410 [ 17.317962][ C0] __put_net+0x19/0x60 [ 17.317966][ C0] __sk_destruct+0x58a/0x780 [ 17.317970][ C0] ? rcu_do_batch+0x34a/0xf20 [ 17.317972][ C0] rcu_do_batch+0x34c/0xf20 [ 17.317977][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.317980][ C0] ? __lock_release+0x5d/0x170 [ 17.317983][ C0] ? rcu_is_watching+0x12/0xc0 [ 17.317986][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.317991][ C0] rcu_core+0x2bb/0x500 [ 17.317996][ C0] handle_softirqs+0x218/0x620 [ 17.318001][ C0] __irq_exit_rcu+0xfa/0x160 [ 17.318004][ C0] irq_exit_rcu+0xe/0x30 [ 17.318007][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.318010][ C0] [ 17.318011][ C0] [ 17.318013][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.318016][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.318019][ 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.318022][ C0] RSP: 0018:ffffffff97c07df8 EFLAGS: 00000246 [ 17.318025][ C0] RAX: 00000000000740cf RBX: 1ffffffff2f80fc3 RCX: ffffffff96f905d9 [ 17.318027][ C0] RDX: 0000000000000000 RSI: ffffffff97a8f4e4 RDI: ffffffff97253be0 [ 17.318029][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 17.318030][ C0] R10: ffff8880360337d3 R11: ffffffff97c11288 R12: 0000000000000000 [ 17.318032][ C0] R13: ffffffff97c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 17.318036][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.318041][ C0] default_idle+0x9/0x10 [ 17.318043][ C0] default_idle_call+0x6d/0xb0 [ 17.318046][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 17.318049][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.318053][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.318058][ C0] do_idle+0xf6/0x160 [ 17.318062][ C0] cpu_startup_entry+0x54/0x60 [ 17.318065][ C0] rest_init+0x14b/0x260 [ 17.318068][ C0] start_kernel+0x350/0x410 [ 17.318072][ C0] x86_64_start_reservations+0x18/0x30 [ 17.318077][ C0] x86_64_start_kernel+0xf8/0x150 [ 17.318080][ C0] common_startup_64+0x13e/0x148 [ 17.318089][ C0]