[ 20.915920][ T225] packetdrill (225) used greatest stack depth: 24088 bytes left [ 20.917872][ C1] [ 20.917982][ C1] ================================ [ 20.918157][ C1] WARNING: inconsistent lock state [ 20.918329][ C1] 6.15.0-virtme #1 Not tainted [ 20.918503][ C1] -------------------------------- [ 20.918674][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 20.918888][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 20.919102][ C1] ffffffffb43c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 20.919408][ C1] {SOFTIRQ-ON-W} state was registered at: [ 20.919581][ C1] __lock_acquire+0x20b/0x7e0 [ 20.919759][ C1] lock_acquire.part.0+0xb6/0x240 [ 20.919933][ C1] _raw_spin_lock+0x33/0x40 [ 20.920105][ C1] simple_pin_fs+0x24/0x150 [ 20.920275][ C1] start_creating.part.0+0x52/0x310 [ 20.920451][ C1] debugfs_create_dir+0x6a/0x540 [ 20.920622][ C1] component_debug_init+0x17/0x30 [ 20.920794][ C1] do_one_initcall+0x8f/0x1e0 [ 20.920972][ C1] do_initcalls+0x176/0x280 [ 20.921150][ C1] kernel_init_freeable+0x22d/0x300 [ 20.921324][ C1] kernel_init+0x20/0x200 [ 20.921497][ C1] ret_from_fork+0x240/0x320 [ 20.921673][ C1] ret_from_fork_asm+0x1a/0x30 [ 20.921843][ C1] irq event stamp: 294326 [ 20.921976][ C1] hardirqs last enabled at (294326): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.922317][ C1] hardirqs last disabled at (294325): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 20.922660][ C1] softirqs last enabled at (293356): [] handle_softirqs+0x358/0x620 [ 20.922962][ C1] softirqs last disabled at (293361): [] run_ksoftirqd+0x3f/0x70 [ 20.923258][ C1] [ 20.923258][ C1] other info that might help us debug this: [ 20.923518][ C1] Possible unsafe locking scenario: [ 20.923518][ C1] [ 20.923772][ C1] CPU0 [ 20.923900][ C1] ---- [ 20.924029][ C1] lock(pin_fs_lock); [ 20.924159][ C1] [ 20.924287][ C1] lock(pin_fs_lock); [ 20.924420][ C1] [ 20.924420][ C1] *** DEADLOCK *** [ 20.924420][ C1] [ 20.924668][ C1] 1 lock held by ksoftirqd/1/22: [ 20.924839][ C1] #0: ffffffffb41774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 20.925148][ C1] [ 20.925148][ C1] stack backtrace: [ 20.925360][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 20.925364][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.925366][ C1] Call Trace: [ 20.925369][ C1] [ 20.925372][ C1] dump_stack_lvl+0x82/0xd0 [ 20.925378][ C1] print_usage_bug.part.0+0x25f/0x360 [ 20.925384][ C1] mark_lock_irq+0x343/0x400 [ 20.925388][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 20.925392][ C1] ? save_trace+0x52/0x170 [ 20.925398][ C1] mark_lock+0x174/0x2f0 [ 20.925402][ C1] mark_usage+0x46/0x150 [ 20.925405][ C1] __lock_acquire+0x20b/0x7e0 [ 20.925408][ C1] ? __lock_acquire+0x44d/0x7e0 [ 20.925412][ C1] lock_acquire.part.0+0xb6/0x240 [ 20.925415][ C1] ? simple_pin_fs+0x24/0x150 [ 20.925419][ C1] ? rcu_is_watching+0x12/0xc0 [ 20.925423][ C1] ? lock_acquire+0x10c/0x170 [ 20.925426][ C1] ? simple_pin_fs+0x24/0x150 [ 20.925430][ C1] _raw_spin_lock+0x33/0x40 [ 20.925434][ C1] ? simple_pin_fs+0x24/0x150 [ 20.925437][ C1] simple_pin_fs+0x24/0x150 [ 20.925441][ C1] debugfs_remove+0x35/0x70 [ 20.925444][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 20.925450][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.925454][ C1] ? __sk_destruct+0x383/0x780 [ 20.925459][ C1] ? rcu_do_batch+0x34c/0xf20 [ 20.925462][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.925465][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 20.925470][ C1] ? kthread+0x37e/0x600 [ 20.925472][ C1] ? ret_from_fork+0x240/0x320 [ 20.925475][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 20.925478][ C1] ? migrate_enable+0x1f2/0x270 [ 20.925481][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 20.925487][ C1] __put_net+0x19/0x60 [ 20.925490][ C1] __sk_destruct+0x58a/0x780 [ 20.925494][ C1] ? rcu_do_batch+0x34a/0xf20 [ 20.925496][ C1] rcu_do_batch+0x34c/0xf20 [ 20.925501][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.925504][ C1] ? rcu_is_watching+0x12/0xc0 [ 20.925507][ C1] ? note_gp_changes+0x182/0x1e0 [ 20.925510][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 20.925514][ C1] rcu_core+0x2bb/0x500 [ 20.925518][ C1] handle_softirqs+0x218/0x620 [ 20.925522][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 20.925526][ C1] run_ksoftirqd+0x3f/0x70 [ 20.925529][ C1] smpboot_thread_fn+0x30a/0x960 [ 20.925532][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 20.925536][ C1] kthread+0x37e/0x600 [ 20.925539][ C1] ? __pfx_kthread+0x10/0x10 [ 20.925541][ C1] ? ret_from_fork+0x1b/0x320 [ 20.925544][ C1] ? __lock_release+0x5d/0x170 [ 20.925547][ C1] ? rcu_is_watching+0x12/0xc0 [ 20.925550][ C1] ? __pfx_kthread+0x10/0x10 [ 20.925553][ C1] ret_from_fork+0x240/0x320 [ 20.925555][ C1] ? __pfx_kthread+0x10/0x10 [ 20.925558][ C1] ret_from_fork_asm+0x1a/0x30 [ 20.925565][ C1] [ 20.935126][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.935400][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 20.935668][ C1] preempt_count: 100, expected: 0 [ 20.935837][ C1] RCU nest depth: 0, expected: 0 [ 20.935996][ C1] INFO: lockdep is turned off. [ 20.936150][ C1] Preemption disabled at: [ 20.936152][ C1] [] handle_softirqs+0xe5/0x620 [ 20.936474][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 20.936478][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.936480][ C1] Call Trace: [ 20.936481][ C1] [ 20.936483][ C1] dump_stack_lvl+0xb0/0xd0 [ 20.936489][ C1] __might_resched+0x360/0x5a0 [ 20.936495][ C1] down_write+0x72/0x210 [ 20.936498][ C1] ? __pfx_down_write+0x10/0x10 [ 20.936501][ C1] ? simple_recursive_removal+0x33/0x610 [ 20.936505][ C1] ? rcu_is_watching+0x12/0xc0 [ 20.936508][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 20.936514][ C1] simple_recursive_removal+0x6a/0x610 [ 20.936516][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 20.936520][ C1] ? __pfx_remove_one+0x10/0x10 [ 20.936524][ C1] debugfs_remove+0x44/0x70 [ 20.936527][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 20.936532][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.936535][ C1] ? __sk_destruct+0x383/0x780 [ 20.936539][ C1] ? rcu_do_batch+0x34c/0xf20 [ 20.936542][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.936545][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 20.936549][ C1] ? kthread+0x37e/0x600 [ 20.936551][ C1] ? ret_from_fork+0x240/0x320 [ 20.936554][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 20.936558][ C1] ? migrate_enable+0x1f2/0x270 [ 20.936561][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 20.936567][ C1] __put_net+0x19/0x60 [ 20.936570][ C1] __sk_destruct+0x58a/0x780 [ 20.936574][ C1] ? rcu_do_batch+0x34a/0xf20 [ 20.936576][ C1] rcu_do_batch+0x34c/0xf20 [ 20.936581][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.936584][ C1] ? rcu_is_watching+0x12/0xc0 [ 20.936587][ C1] ? note_gp_changes+0x182/0x1e0 [ 20.936590][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 20.936594][ C1] rcu_core+0x2bb/0x500 [ 20.936598][ C1] handle_softirqs+0x218/0x620 [ 20.936602][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 20.936605][ C1] run_ksoftirqd+0x3f/0x70 [ 20.936608][ C1] smpboot_thread_fn+0x30a/0x960 [ 20.936612][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 20.936616][ C1] kthread+0x37e/0x600 [ 20.936618][ C1] ? __pfx_kthread+0x10/0x10 [ 20.936620][ C1] ? ret_from_fork+0x1b/0x320 [ 20.936623][ C1] ? __lock_release+0x5d/0x170 [ 20.936626][ C1] ? rcu_is_watching+0x12/0xc0 [ 20.936629][ C1] ? __pfx_kthread+0x10/0x10 [ 20.936632][ C1] ret_from_fork+0x240/0x320 [ 20.936635][ C1] ? __pfx_kthread+0x10/0x10 [ 20.936637][ C1] ret_from_fork_asm+0x1a/0x30 [ 20.936644][ C1] [ 26.211928][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 26.212364][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 26.212723][ C2] preempt_count: 101, expected: 0 [ 26.212929][ C2] RCU nest depth: 0, expected: 0 [ 26.213134][ C2] INFO: lockdep is turned off. [ 26.213328][ C2] Preemption disabled at: [ 26.213330][ C2] [<0000000000000000>] 0x0 [ 26.213694][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 26.213703][ C2] Tainted: [W]=WARN [ 26.213705][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.213708][ C2] Call Trace: [ 26.213710][ C2] [ 26.213713][ C2] dump_stack_lvl+0xb0/0xd0 [ 26.213725][ C2] __might_resched+0x360/0x5a0 [ 26.213735][ C2] down_write+0x72/0x210 [ 26.213741][ C2] ? __pfx_down_write+0x10/0x10 [ 26.213744][ C2] ? simple_recursive_removal+0x33/0x610 [ 26.213749][ C2] ? rcu_is_watching+0x12/0xc0 [ 26.213755][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 26.213763][ C2] simple_recursive_removal+0x6a/0x610 [ 26.213766][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 26.213769][ C2] ? __pfx_remove_one+0x10/0x10 [ 26.213776][ C2] debugfs_remove+0x44/0x70 [ 26.213779][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 26.213787][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 26.213790][ C2] ? __sk_destruct+0x383/0x780 [ 26.213798][ C2] ? rcu_do_batch+0x34c/0xf20 [ 26.213802][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 26.213805][ C2] ? irq_exit_rcu+0xe/0x30 [ 26.213812][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 26.213818][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.213823][ C2] ? pv_native_safe_halt+0xf/0x20 [ 26.213827][ C2] ? default_idle+0x9/0x10 [ 26.213830][ C2] ? default_idle_call+0x6d/0xb0 [ 26.213833][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 26.213837][ C2] ? do_idle+0xf6/0x160 [ 26.213839][ C2] ? cpu_startup_entry+0x54/0x60 [ 26.213842][ C2] ? start_secondary+0x213/0x2a0 [ 26.213847][ C2] ? common_startup_64+0x13e/0x148 [ 26.213854][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 26.213859][ C2] ? rcu_is_watching+0x12/0xc0 [ 26.213863][ C2] __put_net+0x19/0x60 [ 26.213868][ C2] __sk_destruct+0x58a/0x780 [ 26.213872][ C2] ? rcu_do_batch+0x34a/0xf20 [ 26.213875][ C2] rcu_do_batch+0x34c/0xf20 [ 26.213880][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 26.213884][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 26.213891][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 26.213898][ C2] rcu_core+0x2bb/0x500 [ 26.213903][ C2] handle_softirqs+0x218/0x620 [ 26.213908][ C2] __irq_exit_rcu+0xfa/0x160 [ 26.213911][ C2] irq_exit_rcu+0xe/0x30 [ 26.213914][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 26.213918][ C2] [ 26.213919][ C2] [ 26.213921][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.213923][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 26.213928][ 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 [ 26.213931][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 26.213935][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffb31905d9 [ 26.213937][ C2] RDX: ffffed1005ee66fb RSI: ffffffffb3453b60 RDI: ffffffffb098d18f [ 26.213939][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1005ee66fa [ 26.213940][ C2] R10: ffff88802f7337d3 R11: ffff888001ee2818 R12: 0000000000000000 [ 26.213942][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 26.213946][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 26.213949][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 26.213953][ C2] default_idle+0x9/0x10 [ 26.213956][ C2] default_idle_call+0x6d/0xb0 [ 26.213959][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 26.213962][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 26.213966][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 26.213970][ C2] do_idle+0xf6/0x160 [ 26.213974][ C2] cpu_startup_entry+0x54/0x60 [ 26.213977][ C2] start_secondary+0x213/0x2a0 [ 26.213980][ C2] ? __pfx_start_secondary+0x10/0x10 [ 26.213985][ C2] common_startup_64+0x13e/0x148 [ 26.213992][ C2]