[ 19.259064][ C3] [ 19.259219][ C3] ================================ [ 19.259426][ C3] WARNING: inconsistent lock state [ 19.259636][ C3] 6.15.0-virtme #1 Not tainted [ 19.259843][ C3] -------------------------------- [ 19.260084][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 19.260369][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 19.260615][ C3] ffffffffa35c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 19.261015][ C3] {SOFTIRQ-ON-W} state was registered at: [ 19.261217][ C3] __lock_acquire+0x20b/0x7e0 [ 19.261421][ C3] lock_acquire.part.0+0xb6/0x240 [ 19.261619][ C3] _raw_spin_lock+0x33/0x40 [ 19.261824][ C3] simple_pin_fs+0x24/0x150 [ 19.262030][ C3] start_creating.part.0+0x52/0x310 [ 19.262236][ C3] debugfs_create_dir+0x6a/0x540 [ 19.262435][ C3] component_debug_init+0x17/0x30 [ 19.262639][ C3] do_one_initcall+0x8f/0x1e0 [ 19.262838][ C3] do_initcalls+0x176/0x280 [ 19.263047][ C3] kernel_init_freeable+0x22d/0x300 [ 19.263251][ C3] kernel_init+0x20/0x200 [ 19.263453][ C3] ret_from_fork+0x240/0x320 [ 19.263668][ C3] ret_from_fork_asm+0x1a/0x30 [ 19.263889][ C3] irq event stamp: 292428 [ 19.264053][ C3] hardirqs last enabled at (292428): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.264456][ C3] hardirqs last disabled at (292427): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 19.264855][ C3] softirqs last enabled at (291482): [] handle_softirqs+0x358/0x620 [ 19.265217][ C3] softirqs last disabled at (291489): [] __irq_exit_rcu+0xfa/0x160 [ 19.265572][ C3] [ 19.265572][ C3] other info that might help us debug this: [ 19.265878][ C3] Possible unsafe locking scenario: [ 19.265878][ C3] [ 19.266172][ C3] CPU0 [ 19.266319][ C3] ---- [ 19.266469][ C3] lock(pin_fs_lock); [ 19.266621][ C3] [ 19.266772][ C3] lock(pin_fs_lock); [ 19.266930][ C3] [ 19.266930][ C3] *** DEADLOCK *** [ 19.266930][ C3] [ 19.267219][ C3] 1 lock held by swapper/3/0: [ 19.267419][ C3] #0: ffffffffa33774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 19.267783][ C3] [ 19.267783][ C3] stack backtrace: [ 19.268038][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 19.268043][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.268046][ C3] Call Trace: [ 19.268047][ C3] [ 19.268050][ C3] dump_stack_lvl+0x82/0xd0 [ 19.268057][ C3] print_usage_bug.part.0+0x25f/0x360 [ 19.268062][ C3] mark_lock_irq+0x343/0x400 [ 19.268067][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 19.268072][ C3] ? save_trace+0x52/0x170 [ 19.268078][ C3] mark_lock+0x174/0x2f0 [ 19.268081][ C3] mark_usage+0x46/0x150 [ 19.268084][ C3] __lock_acquire+0x20b/0x7e0 [ 19.268087][ C3] ? __lock_acquire+0x44d/0x7e0 [ 19.268092][ C3] lock_acquire.part.0+0xb6/0x240 [ 19.268095][ C3] ? simple_pin_fs+0x24/0x150 [ 19.268100][ C3] ? rcu_is_watching+0x12/0xc0 [ 19.268104][ C3] ? lock_acquire+0x10c/0x170 [ 19.268106][ C3] ? simple_pin_fs+0x24/0x150 [ 19.268111][ C3] _raw_spin_lock+0x33/0x40 [ 19.268114][ C3] ? simple_pin_fs+0x24/0x150 [ 19.268117][ C3] simple_pin_fs+0x24/0x150 [ 19.268121][ C3] debugfs_remove+0x35/0x70 [ 19.268126][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 19.268132][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.268135][ C3] ? __sk_destruct+0x383/0x780 [ 19.268141][ C3] ? rcu_do_batch+0x34c/0xf20 [ 19.268144][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.268147][ C3] ? irq_exit_rcu+0xe/0x30 [ 19.268150][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.268155][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.268159][ C3] ? pv_native_safe_halt+0xf/0x20 [ 19.268162][ C3] ? default_idle+0x9/0x10 [ 19.268165][ C3] ? default_idle_call+0x6d/0xb0 [ 19.268167][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.268171][ C3] ? do_idle+0xf6/0x160 [ 19.268173][ C3] ? cpu_startup_entry+0x54/0x60 [ 19.268176][ C3] ? start_secondary+0x213/0x2a0 [ 19.268180][ C3] ? common_startup_64+0x13e/0x148 [ 19.268187][ C3] __put_net+0x19/0x60 [ 19.268191][ C3] __sk_destruct+0x58a/0x780 [ 19.268195][ C3] ? rcu_do_batch+0x34a/0xf20 [ 19.268197][ C3] rcu_do_batch+0x34c/0xf20 [ 19.268201][ C3] ? find_held_lock+0x2b/0x80 [ 19.268205][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.268208][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.268212][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.268215][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.268219][ C3] rcu_core+0x2bb/0x500 [ 19.268224][ C3] handle_softirqs+0x218/0x620 [ 19.268229][ C3] __irq_exit_rcu+0xfa/0x160 [ 19.268232][ C3] irq_exit_rcu+0xe/0x30 [ 19.268235][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.268239][ C3] [ 19.268240][ C3] [ 19.268241][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.268244][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.268248][ 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 [ 19.268251][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 19.268254][ C3] RAX: 000000000004729f RBX: 1ffff9200002afc1 RCX: ffffffffa238f5d9 [ 19.268256][ C3] RDX: 0000000000000000 RSI: ffffffffa2e8f4e4 RDI: ffffffffa2653be0 [ 19.268258][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 19.268260][ C3] R10: ffff8880361b37d3 R11: ffffffffa3011288 R12: 0000000000000000 [ 19.268262][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 19.268266][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.268271][ C3] default_idle+0x9/0x10 [ 19.268273][ C3] default_idle_call+0x6d/0xb0 [ 19.268276][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 19.268279][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.268283][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.268288][ C3] do_idle+0xf6/0x160 [ 19.268291][ C3] cpu_startup_entry+0x54/0x60 [ 19.268294][ C3] start_secondary+0x213/0x2a0 [ 19.268297][ C3] ? __pfx_start_secondary+0x10/0x10 [ 19.268301][ C3] common_startup_64+0x13e/0x148 [ 19.268308][ C3] [ 19.285722][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 19.286140][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 19.286493][ C3] preempt_count: 101, expected: 0 [ 19.286687][ C3] RCU nest depth: 0, expected: 0 [ 19.286939][ C3] INFO: lockdep is turned off. [ 19.287161][ C3] Preemption disabled at: [ 19.287164][ C3] [<0000000000000000>] 0x0 [ 19.287543][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 19.287548][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 19.287551][ C3] Call Trace: [ 19.287553][ C3] [ 19.287556][ C3] dump_stack_lvl+0xb0/0xd0 [ 19.287565][ C3] __might_resched+0x360/0x5a0 [ 19.287571][ C3] down_write+0x72/0x210 [ 19.287576][ C3] ? __pfx_down_write+0x10/0x10 [ 19.287579][ C3] ? simple_recursive_removal+0x33/0x610 [ 19.287583][ C3] ? rcu_is_watching+0x12/0xc0 [ 19.287588][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 19.287594][ C3] simple_recursive_removal+0x6a/0x610 [ 19.287597][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 19.287600][ C3] ? __pfx_remove_one+0x10/0x10 [ 19.287605][ C3] debugfs_remove+0x44/0x70 [ 19.287608][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 19.287615][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 19.287618][ C3] ? __sk_destruct+0x383/0x780 [ 19.287625][ C3] ? rcu_do_batch+0x34c/0xf20 [ 19.287628][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 19.287631][ C3] ? irq_exit_rcu+0xe/0x30 [ 19.287636][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.287641][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.287645][ C3] ? pv_native_safe_halt+0xf/0x20 [ 19.287649][ C3] ? default_idle+0x9/0x10 [ 19.287651][ C3] ? default_idle_call+0x6d/0xb0 [ 19.287654][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 19.287658][ C3] ? do_idle+0xf6/0x160 [ 19.287660][ C3] ? cpu_startup_entry+0x54/0x60 [ 19.287662][ C3] ? start_secondary+0x213/0x2a0 [ 19.287666][ C3] ? common_startup_64+0x13e/0x148 [ 19.287674][ C3] __put_net+0x19/0x60 [ 19.287678][ C3] __sk_destruct+0x58a/0x780 [ 19.287682][ C3] ? rcu_do_batch+0x34a/0xf20 [ 19.287684][ C3] rcu_do_batch+0x34c/0xf20 [ 19.287688][ C3] ? find_held_lock+0x2b/0x80 [ 19.287693][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 19.287697][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 19.287701][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 19.287704][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 19.287709][ C3] rcu_core+0x2bb/0x500 [ 19.287713][ C3] handle_softirqs+0x218/0x620 [ 19.287719][ C3] __irq_exit_rcu+0xfa/0x160 [ 19.287722][ C3] irq_exit_rcu+0xe/0x30 [ 19.287724][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 19.287728][ C3] [ 19.287730][ C3] [ 19.287732][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 19.287736][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 19.287742][ 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 [ 19.287746][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 19.287751][ C3] RAX: 000000000004729f RBX: 1ffff9200002afc1 RCX: ffffffffa238f5d9 [ 19.287754][ C3] RDX: 0000000000000000 RSI: ffffffffa2e8f4e4 RDI: ffffffffa2653be0 [ 19.287757][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 19.287760][ C3] R10: ffff8880361b37d3 R11: ffffffffa3011288 R12: 0000000000000000 [ 19.287763][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 19.287769][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 19.287777][ C3] default_idle+0x9/0x10 [ 19.287781][ C3] default_idle_call+0x6d/0xb0 [ 19.287786][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 19.287790][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 19.287796][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 19.287803][ C3] do_idle+0xf6/0x160 [ 19.287809][ C3] cpu_startup_entry+0x54/0x60 [ 19.287812][ C3] start_secondary+0x213/0x2a0 [ 19.287815][ C3] ? __pfx_start_secondary+0x10/0x10 [ 19.287819][ C3] common_startup_64+0x13e/0x148 [ 19.287827][ C3] [ 24.238041][ T257] packetdrill (257) used greatest stack depth: 24584 bytes left [ 24.252395][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 24.252799][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 24.253158][ C2] preempt_count: 101, expected: 0 [ 24.253362][ C2] RCU nest depth: 0, expected: 0 [ 24.253562][ C2] INFO: lockdep is turned off. [ 24.253781][ C2] Preemption disabled at: [ 24.253783][ C2] [<0000000000000000>] 0x0 [ 24.254161][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 24.254168][ C2] Tainted: [W]=WARN [ 24.254169][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 24.254172][ C2] Call Trace: [ 24.254174][ C2] [ 24.254177][ C2] dump_stack_lvl+0xb0/0xd0 [ 24.254188][ C2] __might_resched+0x360/0x5a0 [ 24.254197][ C2] down_write+0x72/0x210 [ 24.254203][ C2] ? __pfx_down_write+0x10/0x10 [ 24.254206][ C2] ? simple_recursive_removal+0x33/0x610 [ 24.254212][ C2] ? rcu_is_watching+0x12/0xc0 [ 24.254218][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 24.254225][ C2] simple_recursive_removal+0x6a/0x610 [ 24.254228][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 24.254232][ C2] ? __pfx_remove_one+0x10/0x10 [ 24.254238][ C2] debugfs_remove+0x44/0x70 [ 24.254242][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 24.254249][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 24.254253][ C2] ? __sk_destruct+0x383/0x780 [ 24.254261][ C2] ? rcu_do_batch+0x34c/0xf20 [ 24.254265][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 24.254268][ C2] ? irq_exit_rcu+0xe/0x30 [ 24.254275][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.254281][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.254286][ C2] ? pv_native_safe_halt+0xf/0x20 [ 24.254289][ C2] ? default_idle+0x9/0x10 [ 24.254292][ C2] ? default_idle_call+0x6d/0xb0 [ 24.254295][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 24.254299][ C2] ? do_idle+0xf6/0x160 [ 24.254302][ C2] ? cpu_startup_entry+0x54/0x60 [ 24.254304][ C2] ? start_secondary+0x213/0x2a0 [ 24.254309][ C2] ? common_startup_64+0x13e/0x148 [ 24.254316][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 24.254321][ C2] ? rcu_is_watching+0x12/0xc0 [ 24.254325][ C2] __put_net+0x19/0x60 [ 24.254330][ C2] __sk_destruct+0x58a/0x780 [ 24.254335][ C2] ? rcu_do_batch+0x34a/0xf20 [ 24.254337][ C2] rcu_do_batch+0x34c/0xf20 [ 24.254342][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 24.254346][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 24.254353][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 24.254360][ C2] rcu_core+0x2bb/0x500 [ 24.254366][ C2] handle_softirqs+0x218/0x620 [ 24.254371][ C2] __irq_exit_rcu+0xfa/0x160 [ 24.254374][ C2] irq_exit_rcu+0xe/0x30 [ 24.254377][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 24.254381][ C2] [ 24.254382][ C2] [ 24.254383][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 24.254386][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 24.254391][ 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 [ 24.254394][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 24.254398][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa238f5d9 [ 24.254400][ C2] RDX: ffffed1006c266fb RSI: ffffffffa2653b60 RDI: ffffffff9fb8d18f [ 24.254402][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 24.254404][ C2] R10: ffff8880361337d3 R11: ffffffffa5d4c488 R12: 0000000000000000 [ 24.254406][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 24.254410][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 24.254413][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 24.254417][ C2] default_idle+0x9/0x10 [ 24.254419][ C2] default_idle_call+0x6d/0xb0 [ 24.254422][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 24.254425][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 24.254429][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 24.254434][ C2] do_idle+0xf6/0x160 [ 24.254437][ C2] cpu_startup_entry+0x54/0x60 [ 24.254440][ C2] start_secondary+0x213/0x2a0 [ 24.254443][ C2] ? __pfx_start_secondary+0x10/0x10 [ 24.254448][ C2] common_startup_64+0x13e/0x148 [ 24.254455][ C2]