[ 16.340768][ T227] packetdrill (227) used greatest stack depth: 24088 bytes left [ 16.351010][ C1] [ 16.351145][ C1] ================================ [ 16.351337][ C1] WARNING: inconsistent lock state [ 16.351524][ C1] 6.15.0-virtme #1 Not tainted [ 16.351710][ C1] -------------------------------- [ 16.351894][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.352144][ C1] ksoftirqd/1/22 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.352386][ C1] ffffffffb1bc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.352725][ C1] {SOFTIRQ-ON-W} state was registered at: [ 16.352915][ C1] __lock_acquire+0x20b/0x7e0 [ 16.353131][ C1] lock_acquire.part.0+0xb6/0x240 [ 16.353322][ C1] _raw_spin_lock+0x33/0x40 [ 16.353518][ C1] simple_pin_fs+0x24/0x150 [ 16.353713][ C1] start_creating.part.0+0x52/0x310 [ 16.353911][ C1] debugfs_create_dir+0x6a/0x540 [ 16.354098][ C1] component_debug_init+0x17/0x30 [ 16.354289][ C1] do_one_initcall+0x8f/0x1e0 [ 16.354479][ C1] do_initcalls+0x176/0x280 [ 16.354678][ C1] kernel_init_freeable+0x22d/0x300 [ 16.354868][ C1] kernel_init+0x20/0x200 [ 16.355059][ C1] ret_from_fork+0x240/0x320 [ 16.355258][ C1] ret_from_fork_asm+0x1a/0x30 [ 16.355450][ C1] irq event stamp: 266564 [ 16.355593][ C1] hardirqs last enabled at (266564): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.355968][ C1] hardirqs last disabled at (266563): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.356357][ C1] softirqs last enabled at (266004): [] handle_softirqs+0x358/0x620 [ 16.356706][ C1] softirqs last disabled at (266009): [] run_ksoftirqd+0x3f/0x70 [ 16.357052][ C1] [ 16.357052][ C1] other info that might help us debug this: [ 16.357345][ C1] Possible unsafe locking scenario: [ 16.357345][ C1] [ 16.357638][ C1] CPU0 [ 16.357788][ C1] ---- [ 16.357937][ C1] lock(pin_fs_lock); [ 16.358090][ C1] [ 16.358239][ C1] lock(pin_fs_lock); [ 16.358387][ C1] [ 16.358387][ C1] *** DEADLOCK *** [ 16.358387][ C1] [ 16.358685][ C1] 1 lock held by ksoftirqd/1/22: [ 16.358879][ C1] #0: ffffffffb19774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.359243][ C1] [ 16.359243][ C1] stack backtrace: [ 16.359490][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.359495][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.359497][ C1] Call Trace: [ 16.359498][ C1] [ 16.359501][ C1] dump_stack_lvl+0x82/0xd0 [ 16.359506][ C1] print_usage_bug.part.0+0x25f/0x360 [ 16.359511][ C1] mark_lock_irq+0x343/0x400 [ 16.359516][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.359520][ C1] ? save_trace+0x52/0x170 [ 16.359526][ C1] mark_lock+0x174/0x2f0 [ 16.359530][ C1] mark_usage+0x46/0x150 [ 16.359532][ C1] __lock_acquire+0x20b/0x7e0 [ 16.359536][ C1] ? __lock_acquire+0x44d/0x7e0 [ 16.359540][ C1] lock_acquire.part.0+0xb6/0x240 [ 16.359543][ C1] ? simple_pin_fs+0x24/0x150 [ 16.359547][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.359552][ C1] ? lock_acquire+0x10c/0x170 [ 16.359554][ C1] ? simple_pin_fs+0x24/0x150 [ 16.359559][ C1] _raw_spin_lock+0x33/0x40 [ 16.359562][ C1] ? simple_pin_fs+0x24/0x150 [ 16.359565][ C1] simple_pin_fs+0x24/0x150 [ 16.359569][ C1] debugfs_remove+0x35/0x70 [ 16.359573][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 16.359578][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.359582][ C1] ? __sk_destruct+0x383/0x780 [ 16.359587][ C1] ? rcu_do_batch+0x34c/0xf20 [ 16.359590][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.359593][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 16.359597][ C1] ? kthread+0x37e/0x600 [ 16.359600][ C1] ? ret_from_fork+0x240/0x320 [ 16.359603][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 16.359606][ C1] ? migrate_enable+0x1f2/0x270 [ 16.359609][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 16.359615][ C1] __put_net+0x19/0x60 [ 16.359618][ C1] __sk_destruct+0x58a/0x780 [ 16.359622][ C1] ? rcu_do_batch+0x34a/0xf20 [ 16.359624][ C1] rcu_do_batch+0x34c/0xf20 [ 16.359629][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.359632][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.359635][ C1] ? note_gp_changes+0x182/0x1e0 [ 16.359638][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.359642][ C1] rcu_core+0x2bb/0x500 [ 16.359646][ C1] handle_softirqs+0x218/0x620 [ 16.359650][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.359654][ C1] run_ksoftirqd+0x3f/0x70 [ 16.359656][ C1] smpboot_thread_fn+0x30a/0x960 [ 16.359660][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.359664][ C1] kthread+0x37e/0x600 [ 16.359667][ C1] ? __pfx_kthread+0x10/0x10 [ 16.359669][ C1] ? ret_from_fork+0x1b/0x320 [ 16.359671][ C1] ? __lock_release+0x5d/0x170 [ 16.359675][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.359678][ C1] ? __pfx_kthread+0x10/0x10 [ 16.359680][ C1] ret_from_fork+0x240/0x320 [ 16.359683][ C1] ? __pfx_kthread+0x10/0x10 [ 16.359685][ C1] ret_from_fork_asm+0x1a/0x30 [ 16.359693][ C1] [ 16.370850][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.371183][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 22, name: ksoftirqd/1 [ 16.371495][ C1] preempt_count: 100, expected: 0 [ 16.371679][ C1] RCU nest depth: 0, expected: 0 [ 16.371851][ C1] INFO: lockdep is turned off. [ 16.372040][ C1] Preemption disabled at: [ 16.372042][ C1] [] handle_softirqs+0xe5/0x620 [ 16.372401][ C1] CPU: 1 UID: 0 PID: 22 Comm: ksoftirqd/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.372405][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.372407][ C1] Call Trace: [ 16.372408][ C1] [ 16.372410][ C1] dump_stack_lvl+0xb0/0xd0 [ 16.372416][ C1] __might_resched+0x360/0x5a0 [ 16.372423][ C1] down_write+0x72/0x210 [ 16.372427][ C1] ? __pfx_down_write+0x10/0x10 [ 16.372430][ C1] ? simple_recursive_removal+0x33/0x610 [ 16.372433][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.372437][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 16.372443][ C1] simple_recursive_removal+0x6a/0x610 [ 16.372445][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 16.372449][ C1] ? __pfx_remove_one+0x10/0x10 [ 16.372454][ C1] debugfs_remove+0x44/0x70 [ 16.372457][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 16.372463][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.372466][ C1] ? __sk_destruct+0x383/0x780 [ 16.372471][ C1] ? rcu_do_batch+0x34c/0xf20 [ 16.372474][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.372477][ C1] ? smpboot_thread_fn+0x30a/0x960 [ 16.372481][ C1] ? kthread+0x37e/0x600 [ 16.372483][ C1] ? ret_from_fork+0x240/0x320 [ 16.372487][ C1] ? ret_from_fork_asm+0x1a/0x30 [ 16.372491][ C1] ? migrate_enable+0x1f2/0x270 [ 16.372495][ C1] ? __pfx_migrate_enable+0x10/0x10 [ 16.372500][ C1] __put_net+0x19/0x60 [ 16.372504][ C1] __sk_destruct+0x58a/0x780 [ 16.372508][ C1] ? rcu_do_batch+0x34a/0xf20 [ 16.372510][ C1] rcu_do_batch+0x34c/0xf20 [ 16.372515][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.372518][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.372521][ C1] ? note_gp_changes+0x182/0x1e0 [ 16.372524][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.372528][ C1] rcu_core+0x2bb/0x500 [ 16.372532][ C1] handle_softirqs+0x218/0x620 [ 16.372536][ C1] ? __pfx_run_ksoftirqd+0x10/0x10 [ 16.372540][ C1] run_ksoftirqd+0x3f/0x70 [ 16.372542][ C1] smpboot_thread_fn+0x30a/0x960 [ 16.372546][ C1] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 16.372550][ C1] kthread+0x37e/0x600 [ 16.372553][ C1] ? __pfx_kthread+0x10/0x10 [ 16.372555][ C1] ? ret_from_fork+0x1b/0x320 [ 16.372558][ C1] ? __lock_release+0x5d/0x170 [ 16.372561][ C1] ? rcu_is_watching+0x12/0xc0 [ 16.372564][ C1] ? __pfx_kthread+0x10/0x10 [ 16.372567][ C1] ret_from_fork+0x240/0x320 [ 16.372570][ C1] ? __pfx_kthread+0x10/0x10 [ 16.372572][ C1] ret_from_fork_asm+0x1a/0x30 [ 16.372580][ C1] [ 18.711578][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.712244][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.712811][ C2] preempt_count: 101, expected: 0 [ 18.713171][ C2] RCU nest depth: 0, expected: 0 [ 18.713498][ C2] INFO: lockdep is turned off. [ 18.713828][ C2] Preemption disabled at: [ 18.713831][ C2] [<0000000000000000>] 0x0 [ 18.714462][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.714472][ C2] Tainted: [W]=WARN [ 18.714474][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.714478][ C2] Call Trace: [ 18.714481][ C2] [ 18.714485][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.714499][ C2] __might_resched+0x360/0x5a0 [ 18.714512][ C2] down_write+0x72/0x210 [ 18.714520][ C2] ? __pfx_down_write+0x10/0x10 [ 18.714525][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.714532][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.714541][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.714550][ C2] simple_recursive_removal+0x6a/0x610 [ 18.714554][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.714559][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.714569][ C2] debugfs_remove+0x44/0x70 [ 18.714574][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.714584][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.714589][ C2] ? __sk_destruct+0x383/0x780 [ 18.714598][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.714604][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.714609][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.714618][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.714626][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.714633][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.714638][ C2] ? default_idle+0x9/0x10 [ 18.714642][ C2] ? default_idle_call+0x6d/0xb0 [ 18.714647][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.714653][ C2] ? do_idle+0xf6/0x160 [ 18.714657][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.714662][ C2] ? start_secondary+0x213/0x2a0 [ 18.714668][ C2] ? common_startup_64+0x13e/0x148 [ 18.714677][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.714684][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.714691][ C2] __put_net+0x19/0x60 [ 18.714698][ C2] __sk_destruct+0x58a/0x780 [ 18.714705][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.714710][ C2] rcu_do_batch+0x34c/0xf20 [ 18.714719][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.714727][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.714736][ C2] rcu_core+0x2bb/0x500 [ 18.714744][ C2] handle_softirqs+0x218/0x620 [ 18.714754][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.714759][ C2] irq_exit_rcu+0xe/0x30 [ 18.714764][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.714770][ C2] [ 18.714772][ C2] [ 18.714775][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.714780][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.714787][ 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 [ 18.714792][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.714798][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffb09905d9 [ 18.714802][ C2] RDX: ffffed1006c266fb RSI: ffffffffb0c53b60 RDI: ffffffffae18d18f [ 18.714805][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.714808][ C2] R10: ffff8880361337d3 R11: ffff888001bdcad8 R12: 0000000000000000 [ 18.714811][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.714819][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.714825][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.714832][ C2] default_idle+0x9/0x10 [ 18.714837][ C2] default_idle_call+0x6d/0xb0 [ 18.714842][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.714848][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.714855][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.714862][ C2] do_idle+0xf6/0x160 [ 18.714869][ C2] cpu_startup_entry+0x54/0x60 [ 18.714875][ C2] start_secondary+0x213/0x2a0 [ 18.714880][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.714889][ C2] common_startup_64+0x13e/0x148 [ 18.714902][ C2]