[ 16.878031][ T228] packetdrill (228) used greatest stack depth: 24544 bytes left [ 16.887638][ C3] [ 16.887763][ C3] ================================ [ 16.887962][ C3] WARNING: inconsistent lock state [ 16.888153][ C3] 6.15.0-virtme #1 Not tainted [ 16.888343][ C3] -------------------------------- [ 16.888538][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.888783][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.889020][ C3] ffffffffb17c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.889361][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.889561][ C3] __lock_acquire+0x20b/0x7e0 [ 16.889759][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.889951][ C3] _raw_spin_lock+0x33/0x40 [ 16.890146][ C3] simple_pin_fs+0x24/0x150 [ 16.890333][ C3] start_creating.part.0+0x52/0x310 [ 16.890528][ C3] debugfs_create_dir+0x6a/0x540 [ 16.890716][ C3] component_debug_init+0x17/0x30 [ 16.890910][ C3] do_one_initcall+0x8f/0x1e0 [ 16.891105][ C3] do_initcalls+0x176/0x280 [ 16.891295][ C3] kernel_init_freeable+0x22d/0x300 [ 16.891485][ C3] kernel_init+0x20/0x200 [ 16.891673][ C3] ret_from_fork+0x240/0x320 [ 16.891867][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.892062][ C3] irq event stamp: 287350 [ 16.892208][ C3] hardirqs last enabled at (287350): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.892595][ C3] hardirqs last disabled at (287349): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.892970][ C3] softirqs last enabled at (286286): [] handle_softirqs+0x358/0x620 [ 16.893301][ C3] softirqs last disabled at (286299): [] __irq_exit_rcu+0xfa/0x160 [ 16.893635][ C3] [ 16.893635][ C3] other info that might help us debug this: [ 16.893922][ C3] Possible unsafe locking scenario: [ 16.893922][ C3] [ 16.894203][ C3] CPU0 [ 16.894345][ C3] ---- [ 16.894487][ C3] lock(pin_fs_lock); [ 16.894637][ C3] [ 16.894779][ C3] lock(pin_fs_lock); [ 16.894924][ C3] [ 16.894924][ C3] *** DEADLOCK *** [ 16.894924][ C3] [ 16.895207][ C3] 1 lock held by swapper/3/0: [ 16.895403][ C3] #0: ffffffffb15774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.895750][ C3] [ 16.895750][ C3] stack backtrace: [ 16.895986][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.895990][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.895992][ C3] Call Trace: [ 16.895994][ C3] [ 16.895996][ C3] dump_stack_lvl+0x82/0xd0 [ 16.896003][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.896007][ C3] mark_lock_irq+0x343/0x400 [ 16.896012][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.896017][ C3] ? save_trace+0x52/0x170 [ 16.896022][ C3] mark_lock+0x174/0x2f0 [ 16.896026][ C3] mark_usage+0x46/0x150 [ 16.896029][ C3] __lock_acquire+0x20b/0x7e0 [ 16.896033][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.896037][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.896040][ C3] ? simple_pin_fs+0x24/0x150 [ 16.896044][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.896048][ C3] ? lock_acquire+0x10c/0x170 [ 16.896051][ C3] ? simple_pin_fs+0x24/0x150 [ 16.896055][ C3] _raw_spin_lock+0x33/0x40 [ 16.896058][ C3] ? simple_pin_fs+0x24/0x150 [ 16.896062][ C3] simple_pin_fs+0x24/0x150 [ 16.896066][ C3] debugfs_remove+0x35/0x70 [ 16.896069][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.896075][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.896078][ C3] ? __sk_destruct+0x383/0x780 [ 16.896084][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.896087][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.896090][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.896093][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.896098][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.896101][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.896105][ C3] ? default_idle+0x9/0x10 [ 16.896107][ C3] ? default_idle_call+0x6d/0xb0 [ 16.896110][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.896113][ C3] ? do_idle+0xf6/0x160 [ 16.896116][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.896118][ C3] ? start_secondary+0x213/0x2a0 [ 16.896122][ C3] ? common_startup_64+0x13e/0x148 [ 16.896129][ C3] __put_net+0x19/0x60 [ 16.896133][ C3] __sk_destruct+0x58a/0x780 [ 16.896137][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.896139][ C3] rcu_do_batch+0x34c/0xf20 [ 16.896143][ C3] ? find_held_lock+0x2b/0x80 [ 16.896147][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.896150][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.896154][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.896156][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.896161][ C3] rcu_core+0x2bb/0x500 [ 16.896166][ C3] handle_softirqs+0x218/0x620 [ 16.896171][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.896174][ C3] irq_exit_rcu+0xe/0x30 [ 16.896177][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.896180][ C3] [ 16.896181][ C3] [ 16.896183][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.896186][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.896190][ C3] Code: a2 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 47 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 [ 16.896193][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.896196][ C3] RAX: 0000000000045e59 RBX: 1ffff9200002afc1 RCX: ffffffffb058f5d9 [ 16.896198][ C3] RDX: 0000000000000000 RSI: ffffffffb108f4e4 RDI: ffffffffb0853be0 [ 16.896200][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.896202][ C3] R10: ffff8880361b37d3 R11: ffffffffb1211288 R12: 0000000000000000 [ 16.896203][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.896207][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.896212][ C3] default_idle+0x9/0x10 [ 16.896215][ C3] default_idle_call+0x6d/0xb0 [ 16.896217][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.896220][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.896224][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.896229][ C3] do_idle+0xf6/0x160 [ 16.896232][ C3] cpu_startup_entry+0x54/0x60 [ 16.896235][ C3] start_secondary+0x213/0x2a0 [ 16.896238][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.896242][ C3] common_startup_64+0x13e/0x148 [ 16.896250][ C3] [ 16.911577][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.911900][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.912214][ C3] preempt_count: 101, expected: 0 [ 16.912395][ C3] RCU nest depth: 0, expected: 0 [ 16.912575][ C3] INFO: lockdep is turned off. [ 16.912766][ C3] Preemption disabled at: [ 16.912768][ C3] [<0000000000000000>] 0x0 [ 16.913087][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.913091][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.913093][ C3] Call Trace: [ 16.913094][ C3] [ 16.913096][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.913102][ C3] __might_resched+0x360/0x5a0 [ 16.913108][ C3] down_write+0x72/0x210 [ 16.913112][ C3] ? __pfx_down_write+0x10/0x10 [ 16.913115][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.913119][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.913124][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.913129][ C3] simple_recursive_removal+0x6a/0x610 [ 16.913132][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.913135][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.913140][ C3] debugfs_remove+0x44/0x70 [ 16.913143][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.913148][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.913151][ C3] ? __sk_destruct+0x383/0x780 [ 16.913155][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.913158][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.913161][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.913165][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.913170][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.913173][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.913177][ C3] ? default_idle+0x9/0x10 [ 16.913179][ C3] ? default_idle_call+0x6d/0xb0 [ 16.913182][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.913185][ C3] ? do_idle+0xf6/0x160 [ 16.913187][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.913189][ C3] ? start_secondary+0x213/0x2a0 [ 16.913192][ C3] ? common_startup_64+0x13e/0x148 [ 16.913198][ C3] __put_net+0x19/0x60 [ 16.913201][ C3] __sk_destruct+0x58a/0x780 [ 16.913206][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.913208][ C3] rcu_do_batch+0x34c/0xf20 [ 16.913211][ C3] ? find_held_lock+0x2b/0x80 [ 16.913216][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.913220][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.913224][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.913226][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.913231][ C3] rcu_core+0x2bb/0x500 [ 16.913235][ C3] handle_softirqs+0x218/0x620 [ 16.913240][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.913243][ C3] irq_exit_rcu+0xe/0x30 [ 16.913246][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.913250][ C3] [ 16.913251][ C3] [ 16.913252][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.913255][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.913259][ C3] Code: a2 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 47 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 [ 16.913261][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.913264][ C3] RAX: 0000000000045e59 RBX: 1ffff9200002afc1 RCX: ffffffffb058f5d9 [ 16.913266][ C3] RDX: 0000000000000000 RSI: ffffffffb108f4e4 RDI: ffffffffb0853be0 [ 16.913267][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.913269][ C3] R10: ffff8880361b37d3 R11: ffffffffb1211288 R12: 0000000000000000 [ 16.913271][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.913275][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.913280][ C3] default_idle+0x9/0x10 [ 16.913282][ C3] default_idle_call+0x6d/0xb0 [ 16.913285][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.913288][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.913292][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.913296][ C3] do_idle+0xf6/0x160 [ 16.913299][ C3] cpu_startup_entry+0x54/0x60 [ 16.913302][ C3] start_secondary+0x213/0x2a0 [ 16.913305][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.913309][ C3] common_startup_64+0x13e/0x148 [ 16.913316][ C3] [ 19.489756][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.490180][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 19.490546][ C2] preempt_count: 101, expected: 0 [ 19.490766][ C2] RCU nest depth: 0, expected: 0 [ 19.490981][ C2] INFO: lockdep is turned off. [ 19.491190][ C2] Preemption disabled at: [ 19.491192][ C2] [<0000000000000000>] 0x0 [ 19.491563][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 19.491569][ C2] Tainted: [W]=WARN [ 19.491571][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.491573][ C2] Call Trace: [ 19.491575][ C2] [ 19.491578][ C2] dump_stack_lvl+0xb0/0xd0 [ 19.491589][ C2] __might_resched+0x360/0x5a0 [ 19.491598][ C2] down_write+0x72/0x210 [ 19.491604][ C2] ? __pfx_down_write+0x10/0x10 [ 19.491607][ C2] ? simple_recursive_removal+0x33/0x610 [ 19.491613][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.491619][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.491626][ C2] simple_recursive_removal+0x6a/0x610 [ 19.491629][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 19.491632][ C2] ? __pfx_remove_one+0x10/0x10 [ 19.491642][ C2] debugfs_remove+0x44/0x70 [ 19.491646][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 19.491656][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.491661][ C2] ? __sk_destruct+0x383/0x780 [ 19.491669][ C2] ? rcu_do_batch+0x34c/0xf20 [ 19.491673][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.491677][ C2] ? irq_exit_rcu+0xe/0x30 [ 19.491683][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.491689][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.491694][ C2] ? pv_native_safe_halt+0xf/0x20 [ 19.491697][ C2] ? default_idle+0x9/0x10 [ 19.491700][ C2] ? default_idle_call+0x6d/0xb0 [ 19.491703][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.491708][ C2] ? do_idle+0xf6/0x160 [ 19.491710][ C2] ? cpu_startup_entry+0x54/0x60 [ 19.491713][ C2] ? start_secondary+0x213/0x2a0 [ 19.491717][ C2] ? common_startup_64+0x13e/0x148 [ 19.491724][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 19.491729][ C2] ? rcu_is_watching+0x12/0xc0 [ 19.491733][ C2] __put_net+0x19/0x60 [ 19.491738][ C2] __sk_destruct+0x58a/0x780 [ 19.491742][ C2] ? rcu_do_batch+0x34a/0xf20 [ 19.491744][ C2] rcu_do_batch+0x34c/0xf20 [ 19.491749][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.491753][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 19.491760][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.491767][ C2] rcu_core+0x2bb/0x500 [ 19.491772][ C2] handle_softirqs+0x218/0x620 [ 19.491778][ C2] __irq_exit_rcu+0xfa/0x160 [ 19.491781][ C2] irq_exit_rcu+0xe/0x30 [ 19.491784][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.491788][ C2] [ 19.491789][ C2] [ 19.491791][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.491794][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.491799][ C2] Code: a2 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 47 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 [ 19.491802][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 19.491806][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffb058f5d9 [ 19.491808][ C2] RDX: ffffed1006c266fb RSI: ffffffffb0853b60 RDI: ffffffffadd8d18f [ 19.491810][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 19.491812][ C2] R10: ffff8880361337d3 R11: ffff88800b644ad8 R12: 0000000000000000 [ 19.491814][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 19.491818][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.491821][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.491825][ C2] default_idle+0x9/0x10 [ 19.491828][ C2] default_idle_call+0x6d/0xb0 [ 19.491831][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 19.491833][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.491838][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.491842][ C2] do_idle+0xf6/0x160 [ 19.491845][ C2] cpu_startup_entry+0x54/0x60 [ 19.491848][ C2] start_secondary+0x213/0x2a0 [ 19.491851][ C2] ? __pfx_start_secondary+0x10/0x10 [ 19.491855][ C2] common_startup_64+0x13e/0x148 [ 19.491862][ C2]