[ 15.062251][ C2] [ 15.062390][ C2] ================================ [ 15.062581][ C2] WARNING: inconsistent lock state [ 15.062771][ C2] 6.15.0-virtme #1 Not tainted [ 15.062959][ C2] -------------------------------- [ 15.063144][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.063382][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.063612][ C2] ffffffffa09c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.063944][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.064130][ C2] __lock_acquire+0x20b/0x7e0 [ 15.064330][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.064518][ C2] _raw_spin_lock+0x33/0x40 [ 15.064707][ C2] simple_pin_fs+0x24/0x150 [ 15.064894][ C2] start_creating.part.0+0x52/0x310 [ 15.065081][ C2] debugfs_create_dir+0x6a/0x540 [ 15.065271][ C2] component_debug_init+0x17/0x30 [ 15.065461][ C2] do_one_initcall+0x8f/0x1e0 [ 15.065648][ C2] do_initcalls+0x176/0x280 [ 15.065837][ C2] kernel_init_freeable+0x22d/0x300 [ 15.066024][ C2] kernel_init+0x20/0x200 [ 15.066216][ C2] ret_from_fork+0x240/0x320 [ 15.066402][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.066590][ C2] irq event stamp: 315322 [ 15.066733][ C2] hardirqs last enabled at (315322): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.067100][ C2] hardirqs last disabled at (315321): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.067477][ C2] softirqs last enabled at (314706): [] handle_softirqs+0x358/0x620 [ 15.067801][ C2] softirqs last disabled at (314731): [] __irq_exit_rcu+0xfa/0x160 [ 15.068122][ C2] [ 15.068122][ C2] other info that might help us debug this: [ 15.068395][ C2] Possible unsafe locking scenario: [ 15.068395][ C2] [ 15.068664][ C2] CPU0 [ 15.068804][ C2] ---- [ 15.068941][ C2] lock(pin_fs_lock); [ 15.069082][ C2] [ 15.069228][ C2] lock(pin_fs_lock); [ 15.069369][ C2] [ 15.069369][ C2] *** DEADLOCK *** [ 15.069369][ C2] [ 15.069641][ C2] 1 lock held by swapper/2/0: [ 15.069839][ C2] #0: ffffffffa07774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.070174][ C2] [ 15.070174][ C2] stack backtrace: [ 15.070406][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.070411][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.070413][ C2] Call Trace: [ 15.070415][ C2] [ 15.070417][ C2] dump_stack_lvl+0x82/0xd0 [ 15.070423][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.070428][ C2] mark_lock_irq+0x343/0x400 [ 15.070433][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.070437][ C2] ? save_trace+0x52/0x170 [ 15.070444][ C2] mark_lock+0x174/0x2f0 [ 15.070447][ C2] mark_usage+0x46/0x150 [ 15.070450][ C2] __lock_acquire+0x20b/0x7e0 [ 15.070453][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.070458][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.070461][ C2] ? simple_pin_fs+0x24/0x150 [ 15.070466][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.070470][ C2] ? lock_acquire+0x10c/0x170 [ 15.070473][ C2] ? simple_pin_fs+0x24/0x150 [ 15.070477][ C2] _raw_spin_lock+0x33/0x40 [ 15.070480][ C2] ? simple_pin_fs+0x24/0x150 [ 15.070484][ C2] simple_pin_fs+0x24/0x150 [ 15.070488][ C2] debugfs_remove+0x35/0x70 [ 15.070491][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.070497][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.070501][ C2] ? __sk_destruct+0x383/0x780 [ 15.070506][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.070509][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.070512][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.070515][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.070519][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.070523][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.070526][ C2] ? default_idle+0x9/0x10 [ 15.070529][ C2] ? default_idle_call+0x6d/0xb0 [ 15.070531][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.070535][ C2] ? do_idle+0xf6/0x160 [ 15.070537][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.070539][ C2] ? start_secondary+0x213/0x2a0 [ 15.070543][ C2] ? common_startup_64+0x13e/0x148 [ 15.070550][ C2] __put_net+0x19/0x60 [ 15.070554][ C2] __sk_destruct+0x58a/0x780 [ 15.070558][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.070560][ C2] rcu_do_batch+0x34c/0xf20 [ 15.070563][ C2] ? find_held_lock+0x2b/0x80 [ 15.070568][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.070571][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.070575][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.070577][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.070582][ C2] rcu_core+0x2bb/0x500 [ 15.070586][ C2] handle_softirqs+0x218/0x620 [ 15.070592][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.070595][ C2] irq_exit_rcu+0xe/0x30 [ 15.070597][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.070601][ C2] [ 15.070602][ C2] [ 15.070604][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.070606][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.070610][ 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 [ 15.070613][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000246 [ 15.070617][ C2] RAX: 000000000004cd69 RBX: 1ffff92000028fc1 RCX: ffffffff9f7905d9 [ 15.070619][ C2] RDX: 0000000000000000 RSI: ffffffffa028f4e4 RDI: ffffffff9fa53be0 [ 15.070620][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.070622][ C2] R10: ffff8880361337d3 R11: ffffffffa0411288 R12: 0000000000000000 [ 15.070624][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.070628][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.070633][ C2] default_idle+0x9/0x10 [ 15.070635][ C2] default_idle_call+0x6d/0xb0 [ 15.070638][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.070641][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.070645][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.070649][ C2] do_idle+0xf6/0x160 [ 15.070653][ C2] cpu_startup_entry+0x54/0x60 [ 15.070656][ C2] start_secondary+0x213/0x2a0 [ 15.070658][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.070663][ C2] common_startup_64+0x13e/0x148 [ 15.070670][ C2] [ 15.085942][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.086385][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.086708][ C2] preempt_count: 101, expected: 0 [ 15.086895][ C2] RCU nest depth: 0, expected: 0 [ 15.087079][ C2] INFO: lockdep is turned off. [ 15.087270][ C2] Preemption disabled at: [ 15.087272][ C2] [<0000000000000000>] 0x0 [ 15.087713][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.087717][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.087719][ C2] Call Trace: [ 15.087721][ C2] [ 15.087723][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.087729][ C2] __might_resched+0x360/0x5a0 [ 15.087736][ C2] down_write+0x72/0x210 [ 15.087740][ C2] ? __pfx_down_write+0x10/0x10 [ 15.087743][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.087747][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.087752][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.087757][ C2] simple_recursive_removal+0x6a/0x610 [ 15.087760][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.087763][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.087769][ C2] debugfs_remove+0x44/0x70 [ 15.087772][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.087777][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.087780][ C2] ? __sk_destruct+0x383/0x780 [ 15.087785][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.087788][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.087791][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.087795][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.087800][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.087803][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.087807][ C2] ? default_idle+0x9/0x10 [ 15.087809][ C2] ? default_idle_call+0x6d/0xb0 [ 15.087812][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.087815][ C2] ? do_idle+0xf6/0x160 [ 15.087817][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.087820][ C2] ? start_secondary+0x213/0x2a0 [ 15.087823][ C2] ? common_startup_64+0x13e/0x148 [ 15.087830][ C2] __put_net+0x19/0x60 [ 15.087833][ C2] __sk_destruct+0x58a/0x780 [ 15.087837][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.087840][ C2] rcu_do_batch+0x34c/0xf20 [ 15.087843][ C2] ? find_held_lock+0x2b/0x80 [ 15.087849][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.087852][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.087856][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.087859][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.087864][ C2] rcu_core+0x2bb/0x500 [ 15.087868][ C2] handle_softirqs+0x218/0x620 [ 15.087873][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.087876][ C2] irq_exit_rcu+0xe/0x30 [ 15.087879][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.087883][ C2] [ 15.087884][ C2] [ 15.087885][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.087888][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.087892][ 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 [ 15.087894][ C2] RSP: 0000:ffffc90000147de8 EFLAGS: 00000246 [ 15.087897][ C2] RAX: 000000000004cd69 RBX: 1ffff92000028fc1 RCX: ffffffff9f7905d9 [ 15.087899][ C2] RDX: 0000000000000000 RSI: ffffffffa028f4e4 RDI: ffffffff9fa53be0 [ 15.087901][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.087903][ C2] R10: ffff8880361337d3 R11: ffffffffa0411288 R12: 0000000000000000 [ 15.087904][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.087908][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.087913][ C2] default_idle+0x9/0x10 [ 15.087915][ C2] default_idle_call+0x6d/0xb0 [ 15.087918][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.087921][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.087925][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.087929][ C2] do_idle+0xf6/0x160 [ 15.087932][ C2] cpu_startup_entry+0x54/0x60 [ 15.087935][ C2] start_secondary+0x213/0x2a0 [ 15.087938][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.087943][ C2] common_startup_64+0x13e/0x148 [ 15.087950][ C2] [ 16.726861][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.727282][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.727645][ C3] preempt_count: 101, expected: 0 [ 16.727863][ C3] RCU nest depth: 0, expected: 0 [ 16.728072][ C3] INFO: lockdep is turned off. [ 16.728280][ C3] Preemption disabled at: [ 16.728282][ C3] [<0000000000000000>] 0x0 [ 16.728654][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.728660][ C3] Tainted: [W]=WARN [ 16.728661][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.728663][ C3] Call Trace: [ 16.728665][ C3] [ 16.728667][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.728679][ C3] __might_resched+0x360/0x5a0 [ 16.728686][ C3] down_write+0x72/0x210 [ 16.728691][ C3] ? __pfx_down_write+0x10/0x10 [ 16.728694][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.728698][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.728703][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.728709][ C3] simple_recursive_removal+0x6a/0x610 [ 16.728712][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.728715][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.728721][ C3] debugfs_remove+0x44/0x70 [ 16.728724][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.728730][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.728734][ C3] ? __sk_destruct+0x383/0x780 [ 16.728739][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.728742][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.728746][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.728751][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.728755][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.728759][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.728762][ C3] ? default_idle+0x9/0x10 [ 16.728765][ C3] ? default_idle_call+0x6d/0xb0 [ 16.728768][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.728772][ C3] ? do_idle+0xf6/0x160 [ 16.728774][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.728776][ C3] ? start_secondary+0x213/0x2a0 [ 16.728780][ C3] ? common_startup_64+0x13e/0x148 [ 16.728786][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.728790][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.728794][ C3] __put_net+0x19/0x60 [ 16.728798][ C3] __sk_destruct+0x58a/0x780 [ 16.728802][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.728804][ C3] rcu_do_batch+0x34c/0xf20 [ 16.728809][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.728812][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.728818][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.728824][ C3] rcu_core+0x2bb/0x500 [ 16.728829][ C3] handle_softirqs+0x218/0x620 [ 16.728834][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.728837][ C3] irq_exit_rcu+0xe/0x30 [ 16.728840][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.728844][ C3] [ 16.728845][ C3] [ 16.728847][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.728849][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.728854][ C3] 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 [ 16.728857][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.728860][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff9f7905d9 [ 16.728863][ C3] RDX: ffffed1006c366fb RSI: ffffffff9fa53b60 RDI: ffffffff9cf8d18f [ 16.728865][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.728866][ C3] R10: ffff8880361b37d3 R11: ffff888001ef8558 R12: 0000000000000000 [ 16.728868][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.728872][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.728875][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.728879][ C3] default_idle+0x9/0x10 [ 16.728881][ C3] default_idle_call+0x6d/0xb0 [ 16.728884][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.728887][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.728891][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.728895][ C3] do_idle+0xf6/0x160 [ 16.728898][ C3] cpu_startup_entry+0x54/0x60 [ 16.728901][ C3] start_secondary+0x213/0x2a0 [ 16.728904][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.728908][ C3] common_startup_64+0x13e/0x148 [ 16.728915][ C3]