[ 16.632604][ C2] [ 16.632746][ C2] ================================ [ 16.632938][ C2] WARNING: inconsistent lock state [ 16.633129][ C2] 6.15.0-virtme #1 Not tainted [ 16.633315][ C2] -------------------------------- [ 16.633501][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.633750][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.634000][ C2] ffffffff8f5c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.634364][ C2] {SOFTIRQ-ON-W} state was registered at: [ 16.634563][ C2] __lock_acquire+0x20b/0x7e0 [ 16.634772][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.634973][ C2] _raw_spin_lock+0x33/0x40 [ 16.635179][ C2] simple_pin_fs+0x24/0x150 [ 16.635377][ C2] start_creating.part.0+0x52/0x310 [ 16.635576][ C2] debugfs_create_dir+0x6a/0x540 [ 16.635772][ C2] component_debug_init+0x17/0x30 [ 16.635964][ C2] do_one_initcall+0x8f/0x1e0 [ 16.636169][ C2] do_initcalls+0x176/0x280 [ 16.636360][ C2] kernel_init_freeable+0x22d/0x300 [ 16.636546][ C2] kernel_init+0x20/0x200 [ 16.636733][ C2] ret_from_fork+0x240/0x320 [ 16.636938][ C2] ret_from_fork_asm+0x1a/0x30 [ 16.637129][ C2] irq event stamp: 286906 [ 16.637272][ C2] hardirqs last enabled at (286906): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.637661][ C2] hardirqs last disabled at (286905): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.638052][ C2] softirqs last enabled at (286374): [] handle_softirqs+0x358/0x620 [ 16.638398][ C2] softirqs last disabled at (286381): [] __irq_exit_rcu+0xfa/0x160 [ 16.638757][ C2] [ 16.638757][ C2] other info that might help us debug this: [ 16.639041][ C2] Possible unsafe locking scenario: [ 16.639041][ C2] [ 16.639344][ C2] CPU0 [ 16.639495][ C2] ---- [ 16.639638][ C2] lock(pin_fs_lock); [ 16.639793][ C2] [ 16.639944][ C2] lock(pin_fs_lock); [ 16.640099][ C2] [ 16.640099][ C2] *** DEADLOCK *** [ 16.640099][ C2] [ 16.640401][ C2] 1 lock held by swapper/2/0: [ 16.640603][ C2] #0: ffffffff8f3774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.640946][ C2] [ 16.640946][ C2] stack backtrace: [ 16.641181][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.641186][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.641189][ C2] Call Trace: [ 16.641191][ C2] [ 16.641194][ C2] dump_stack_lvl+0x82/0xd0 [ 16.641201][ C2] print_usage_bug.part.0+0x25f/0x360 [ 16.641207][ C2] mark_lock_irq+0x343/0x400 [ 16.641211][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.641217][ C2] ? save_trace+0x52/0x170 [ 16.641224][ C2] mark_lock+0x174/0x2f0 [ 16.641228][ C2] mark_usage+0x46/0x150 [ 16.641231][ C2] __lock_acquire+0x20b/0x7e0 [ 16.641234][ C2] ? __lock_acquire+0x44d/0x7e0 [ 16.641239][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.641242][ C2] ? simple_pin_fs+0x24/0x150 [ 16.641247][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.641252][ C2] ? lock_acquire+0x10c/0x170 [ 16.641255][ C2] ? simple_pin_fs+0x24/0x150 [ 16.641259][ C2] _raw_spin_lock+0x33/0x40 [ 16.641263][ C2] ? simple_pin_fs+0x24/0x150 [ 16.641266][ C2] simple_pin_fs+0x24/0x150 [ 16.641270][ C2] debugfs_remove+0x35/0x70 [ 16.641274][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.641282][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.641286][ C2] ? __sk_destruct+0x383/0x780 [ 16.641293][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.641296][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.641299][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.641302][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.641308][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.641313][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.641316][ C2] ? default_idle+0x9/0x10 [ 16.641319][ C2] ? default_idle_call+0x6d/0xb0 [ 16.641321][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.641326][ C2] ? do_idle+0xf6/0x160 [ 16.641328][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.641331][ C2] ? start_secondary+0x213/0x2a0 [ 16.641335][ C2] ? common_startup_64+0x13e/0x148 [ 16.641344][ C2] __put_net+0x19/0x60 [ 16.641348][ C2] __sk_destruct+0x58a/0x780 [ 16.641353][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.641355][ C2] rcu_do_batch+0x34c/0xf20 [ 16.641359][ C2] ? find_held_lock+0x2b/0x80 [ 16.641363][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.641367][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.641371][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.641374][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.641379][ C2] rcu_core+0x2bb/0x500 [ 16.641384][ C2] handle_softirqs+0x218/0x620 [ 16.641389][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.641392][ C2] irq_exit_rcu+0xe/0x30 [ 16.641395][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.641399][ C2] [ 16.641400][ C2] [ 16.641402][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.641404][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.641409][ 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 [ 16.641412][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 16.641415][ C2] RAX: 0000000000045eab RBX: 1ffff92000028fc1 RCX: ffffffff8e38f5d9 [ 16.641417][ C2] RDX: 0000000000000000 RSI: ffffffff8ee8f4e4 RDI: ffffffff8e653be0 [ 16.641419][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.641421][ C2] R10: ffff8880361337d3 R11: ffffffff8f011288 R12: 0000000000000000 [ 16.641423][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.641426][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.641431][ C2] default_idle+0x9/0x10 [ 16.641434][ C2] default_idle_call+0x6d/0xb0 [ 16.641436][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.641439][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.641443][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.641448][ C2] do_idle+0xf6/0x160 [ 16.641451][ C2] cpu_startup_entry+0x54/0x60 [ 16.641455][ C2] start_secondary+0x213/0x2a0 [ 16.641457][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.641462][ C2] common_startup_64+0x13e/0x148 [ 16.641469][ C2] [ 16.657759][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.658216][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.658552][ C2] preempt_count: 101, expected: 0 [ 16.658849][ C2] RCU nest depth: 0, expected: 0 [ 16.659042][ C2] INFO: lockdep is turned off. [ 16.659279][ C2] Preemption disabled at: [ 16.659281][ C2] [<0000000000000000>] 0x0 [ 16.659736][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.659741][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.659744][ C2] Call Trace: [ 16.659746][ C2] [ 16.659748][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.659758][ C2] __might_resched+0x360/0x5a0 [ 16.659766][ C2] down_write+0x72/0x210 [ 16.659771][ C2] ? __pfx_down_write+0x10/0x10 [ 16.659774][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.659779][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.659784][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.659791][ C2] simple_recursive_removal+0x6a/0x610 [ 16.659794][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.659797][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.659804][ C2] debugfs_remove+0x44/0x70 [ 16.659807][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.659814][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.659818][ C2] ? __sk_destruct+0x383/0x780 [ 16.659824][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.659828][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.659831][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.659838][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.659843][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.659848][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.659852][ C2] ? default_idle+0x9/0x10 [ 16.659854][ C2] ? default_idle_call+0x6d/0xb0 [ 16.659857][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.659861][ C2] ? do_idle+0xf6/0x160 [ 16.659864][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.659866][ C2] ? start_secondary+0x213/0x2a0 [ 16.659871][ C2] ? common_startup_64+0x13e/0x148 [ 16.659879][ C2] __put_net+0x19/0x60 [ 16.659884][ C2] __sk_destruct+0x58a/0x780 [ 16.659888][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.659891][ C2] rcu_do_batch+0x34c/0xf20 [ 16.659894][ C2] ? find_held_lock+0x2b/0x80 [ 16.659901][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.659905][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.659910][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.659913][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.659918][ C2] rcu_core+0x2bb/0x500 [ 16.659924][ C2] handle_softirqs+0x218/0x620 [ 16.659929][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.659932][ C2] irq_exit_rcu+0xe/0x30 [ 16.659934][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.659938][ C2] [ 16.659939][ C2] [ 16.659941][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.659943][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.659948][ 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 [ 16.659950][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 16.659954][ C2] RAX: 0000000000045eab RBX: 1ffff92000028fc1 RCX: ffffffff8e38f5d9 [ 16.659956][ C2] RDX: 0000000000000000 RSI: ffffffff8ee8f4e4 RDI: ffffffff8e653be0 [ 16.659958][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.659960][ C2] R10: ffff8880361337d3 R11: ffffffff8f011288 R12: 0000000000000000 [ 16.659961][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.659965][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.659970][ C2] default_idle+0x9/0x10 [ 16.659973][ C2] default_idle_call+0x6d/0xb0 [ 16.659975][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.659978][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.659982][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.659986][ C2] do_idle+0xf6/0x160 [ 16.659990][ C2] cpu_startup_entry+0x54/0x60 [ 16.659993][ C2] start_secondary+0x213/0x2a0 [ 16.659996][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.660000][ C2] common_startup_64+0x13e/0x148 [ 16.660007][ C2] [ 18.476738][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.477132][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 18.477473][ C0] preempt_count: 101, expected: 0 [ 18.477664][ C0] RCU nest depth: 0, expected: 0 [ 18.477856][ C0] INFO: lockdep is turned off. [ 18.478044][ C0] Preemption disabled at: [ 18.478046][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 18.478490][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.478496][ C0] Tainted: [W]=WARN [ 18.478497][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.478500][ C0] Call Trace: [ 18.478502][ C0] [ 18.478504][ C0] dump_stack_lvl+0xb0/0xd0 [ 18.478511][ C0] __might_resched+0x360/0x5a0 [ 18.478519][ C0] down_write+0x72/0x210 [ 18.478524][ C0] ? __pfx_down_write+0x10/0x10 [ 18.478527][ C0] ? simple_recursive_removal+0x33/0x610 [ 18.478533][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.478539][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 18.478547][ C0] simple_recursive_removal+0x6a/0x610 [ 18.478549][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 18.478553][ C0] ? __pfx_remove_one+0x10/0x10 [ 18.478559][ C0] debugfs_remove+0x44/0x70 [ 18.478562][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 18.478570][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.478573][ C0] ? __sk_destruct+0x383/0x780 [ 18.478580][ C0] ? rcu_do_batch+0x34c/0xf20 [ 18.478584][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.478588][ C0] ? irq_exit_rcu+0xe/0x30 [ 18.478594][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.478600][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.478605][ C0] ? pv_native_safe_halt+0xf/0x20 [ 18.478608][ C0] ? default_idle+0x9/0x10 [ 18.478611][ C0] ? default_idle_call+0x6d/0xb0 [ 18.478613][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.478618][ C0] ? do_idle+0xf6/0x160 [ 18.478620][ C0] ? cpu_startup_entry+0x54/0x60 [ 18.478623][ C0] ? rest_init+0x14b/0x260 [ 18.478626][ C0] ? start_kernel+0x350/0x410 [ 18.478633][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.478638][ C0] ? rcu_is_watching+0x12/0xc0 [ 18.478642][ C0] __put_net+0x19/0x60 [ 18.478647][ C0] __sk_destruct+0x58a/0x780 [ 18.478651][ C0] ? rcu_do_batch+0x34a/0xf20 [ 18.478653][ C0] rcu_do_batch+0x34c/0xf20 [ 18.478658][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.478661][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.478669][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.478676][ C0] rcu_core+0x2bb/0x500 [ 18.478681][ C0] handle_softirqs+0x218/0x620 [ 18.478687][ C0] __irq_exit_rcu+0xfa/0x160 [ 18.478690][ C0] irq_exit_rcu+0xe/0x30 [ 18.478693][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.478697][ C0] [ 18.478698][ C0] [ 18.478700][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.478703][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.478707][ C0] 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 [ 18.478710][ C0] RSP: 0018:ffffffff8f007df8 EFLAGS: 00000246 [ 18.478715][ C0] RAX: 0000000000000000 RBX: 1ffffffff1e00fc3 RCX: ffffffff8e38f5d9 [ 18.478717][ C0] RDX: ffffed1006c066fb RSI: ffffffff8e653b60 RDI: ffffffff8bb8d18f [ 18.478719][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 18.478721][ C0] R10: ffff8880360337d3 R11: ffff888001b18558 R12: 0000000000000000 [ 18.478723][ C0] R13: ffffffff8f01f240 R14: dffffc0000000000 R15: 0000000000014770 [ 18.478727][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.478730][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.478734][ C0] default_idle+0x9/0x10 [ 18.478737][ C0] default_idle_call+0x6d/0xb0 [ 18.478739][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 18.478742][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.478746][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.478753][ C0] do_idle+0xf6/0x160 [ 18.478757][ C0] cpu_startup_entry+0x54/0x60 [ 18.478759][ C0] rest_init+0x14b/0x260 [ 18.478763][ C0] start_kernel+0x350/0x410 [ 18.478767][ C0] x86_64_start_reservations+0x18/0x30 [ 18.478772][ C0] x86_64_start_kernel+0xf8/0x150 [ 18.478776][ C0] common_startup_64+0x13e/0x148 [ 18.478787][ C0]