[ 15.580265][ C2] [ 15.580401][ C2] ================================ [ 15.580591][ C2] WARNING: inconsistent lock state [ 15.580780][ C2] 6.15.0-virtme #1 Not tainted [ 15.580966][ C2] -------------------------------- [ 15.581150][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.581379][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.581618][ C2] ffffffff8cbc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.581951][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.582135][ C2] __lock_acquire+0x20b/0x7e0 [ 15.582328][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.582513][ C2] _raw_spin_lock+0x33/0x40 [ 15.582705][ C2] simple_pin_fs+0x24/0x150 [ 15.582888][ C2] start_creating.part.0+0x52/0x310 [ 15.583075][ C2] debugfs_create_dir+0x6a/0x540 [ 15.583260][ C2] component_debug_init+0x17/0x30 [ 15.583446][ C2] do_one_initcall+0x8f/0x1e0 [ 15.583633][ C2] do_initcalls+0x176/0x280 [ 15.583819][ C2] kernel_init_freeable+0x22d/0x300 [ 15.584007][ C2] kernel_init+0x20/0x200 [ 15.584192][ C2] ret_from_fork+0x240/0x320 [ 15.584379][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.584568][ C2] irq event stamp: 286880 [ 15.584710][ C2] hardirqs last enabled at (286880): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.585087][ C2] hardirqs last disabled at (286879): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.585462][ C2] softirqs last enabled at (284956): [] handle_softirqs+0x358/0x620 [ 15.585792][ C2] softirqs last disabled at (284975): [] __irq_exit_rcu+0xfa/0x160 [ 15.586115][ C2] [ 15.586115][ C2] other info that might help us debug this: [ 15.586390][ C2] Possible unsafe locking scenario: [ 15.586390][ C2] [ 15.586662][ C2] CPU0 [ 15.586807][ C2] ---- [ 15.586940][ C2] lock(pin_fs_lock); [ 15.587085][ C2] [ 15.587223][ C2] lock(pin_fs_lock); [ 15.587367][ C2] [ 15.587367][ C2] *** DEADLOCK *** [ 15.587367][ C2] [ 15.587646][ C2] 1 lock held by swapper/2/0: [ 15.587834][ C2] #0: ffffffff8c9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.588165][ C2] [ 15.588165][ C2] stack backtrace: [ 15.588401][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.588406][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.588407][ C2] Call Trace: [ 15.588409][ C2] [ 15.588412][ C2] dump_stack_lvl+0x82/0xd0 [ 15.588418][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.588423][ C2] mark_lock_irq+0x343/0x400 [ 15.588428][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.588432][ C2] ? save_trace+0x52/0x170 [ 15.588437][ C2] mark_lock+0x174/0x2f0 [ 15.588441][ C2] mark_usage+0x46/0x150 [ 15.588444][ C2] __lock_acquire+0x20b/0x7e0 [ 15.588447][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.588451][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.588454][ C2] ? simple_pin_fs+0x24/0x150 [ 15.588458][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.588463][ C2] ? lock_acquire+0x10c/0x170 [ 15.588465][ C2] ? simple_pin_fs+0x24/0x150 [ 15.588470][ C2] _raw_spin_lock+0x33/0x40 [ 15.588473][ C2] ? simple_pin_fs+0x24/0x150 [ 15.588476][ C2] simple_pin_fs+0x24/0x150 [ 15.588480][ C2] debugfs_remove+0x35/0x70 [ 15.588483][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.588490][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.588493][ C2] ? __sk_destruct+0x383/0x780 [ 15.588499][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.588502][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.588506][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.588508][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.588513][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.588517][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.588520][ C2] ? default_idle+0x9/0x10 [ 15.588523][ C2] ? default_idle_call+0x6d/0xb0 [ 15.588525][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.588529][ C2] ? do_idle+0xf6/0x160 [ 15.588531][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.588533][ C2] ? start_secondary+0x213/0x2a0 [ 15.588537][ C2] ? common_startup_64+0x13e/0x148 [ 15.588544][ C2] __put_net+0x19/0x60 [ 15.588548][ C2] __sk_destruct+0x58a/0x780 [ 15.588552][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.588555][ C2] rcu_do_batch+0x34c/0xf20 [ 15.588558][ C2] ? find_held_lock+0x2b/0x80 [ 15.588562][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.588565][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.588569][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.588572][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.588577][ C2] rcu_core+0x2bb/0x500 [ 15.588582][ C2] handle_softirqs+0x218/0x620 [ 15.588587][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.588590][ C2] irq_exit_rcu+0xe/0x30 [ 15.588593][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.588596][ C2] [ 15.588597][ C2] [ 15.588599][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.588602][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.588606][ 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.588609][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.588612][ C2] RAX: 000000000004592d RBX: 1ffff92000028fc1 RCX: ffffffff8b9905d9 [ 15.588614][ C2] RDX: 0000000000000000 RSI: ffffffff8c48f4e4 RDI: ffffffff8bc53be0 [ 15.588616][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.588617][ C2] R10: ffff8880361337d3 R11: ffffffff8c611288 R12: 0000000000000000 [ 15.588619][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.588623][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.588627][ C2] default_idle+0x9/0x10 [ 15.588630][ C2] default_idle_call+0x6d/0xb0 [ 15.588633][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.588636][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.588639][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.588644][ C2] do_idle+0xf6/0x160 [ 15.588647][ C2] cpu_startup_entry+0x54/0x60 [ 15.588650][ C2] start_secondary+0x213/0x2a0 [ 15.588653][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.588657][ C2] common_startup_64+0x13e/0x148 [ 15.588664][ C2] [ 15.603593][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.604019][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.604331][ C2] preempt_count: 101, expected: 0 [ 15.604523][ C2] RCU nest depth: 0, expected: 0 [ 15.604825][ C2] INFO: lockdep is turned off. [ 15.605012][ C2] Preemption disabled at: [ 15.605014][ C2] [<0000000000000000>] 0x0 [ 15.605344][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.605348][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.605350][ C2] Call Trace: [ 15.605351][ C2] [ 15.605354][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.605361][ C2] __might_resched+0x360/0x5a0 [ 15.605367][ C2] down_write+0x72/0x210 [ 15.605372][ C2] ? __pfx_down_write+0x10/0x10 [ 15.605375][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.605378][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.605383][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.605388][ C2] simple_recursive_removal+0x6a/0x610 [ 15.605391][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.605394][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.605400][ C2] debugfs_remove+0x44/0x70 [ 15.605402][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.605408][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.605411][ C2] ? __sk_destruct+0x383/0x780 [ 15.605416][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.605418][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.605421][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.605425][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.605430][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.605433][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.605436][ C2] ? default_idle+0x9/0x10 [ 15.605439][ C2] ? default_idle_call+0x6d/0xb0 [ 15.605442][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.605445][ C2] ? do_idle+0xf6/0x160 [ 15.605447][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.605450][ C2] ? start_secondary+0x213/0x2a0 [ 15.605452][ C2] ? common_startup_64+0x13e/0x148 [ 15.605459][ C2] __put_net+0x19/0x60 [ 15.605462][ C2] __sk_destruct+0x58a/0x780 [ 15.605466][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.605469][ C2] rcu_do_batch+0x34c/0xf20 [ 15.605472][ C2] ? find_held_lock+0x2b/0x80 [ 15.605477][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.605481][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.605485][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.605488][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.605493][ C2] rcu_core+0x2bb/0x500 [ 15.605497][ C2] handle_softirqs+0x218/0x620 [ 15.605502][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.605505][ C2] irq_exit_rcu+0xe/0x30 [ 15.605508][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.605514][ C2] [ 15.605515][ C2] [ 15.605517][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.605520][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.605524][ 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.605526][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 15.605529][ C2] RAX: 000000000004592d RBX: 1ffff92000028fc1 RCX: ffffffff8b9905d9 [ 15.605531][ C2] RDX: 0000000000000000 RSI: ffffffff8c48f4e4 RDI: ffffffff8bc53be0 [ 15.605533][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.605534][ C2] R10: ffff8880361337d3 R11: ffffffff8c611288 R12: 0000000000000000 [ 15.605536][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.605540][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.605545][ C2] default_idle+0x9/0x10 [ 15.605547][ C2] default_idle_call+0x6d/0xb0 [ 15.605550][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.605553][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.605557][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.605561][ C2] do_idle+0xf6/0x160 [ 15.605564][ C2] cpu_startup_entry+0x54/0x60 [ 15.605567][ C2] start_secondary+0x213/0x2a0 [ 15.605570][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.605575][ C2] common_startup_64+0x13e/0x148 [ 15.605582][ C2] [ 17.468581][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.469139][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 17.469663][ C3] preempt_count: 101, expected: 0 [ 17.469945][ C3] RCU nest depth: 0, expected: 0 [ 17.470236][ C3] INFO: lockdep is turned off. [ 17.470501][ C3] Preemption disabled at: [ 17.470505][ C3] [<0000000000000000>] 0x0 [ 17.470914][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.470923][ C3] Tainted: [W]=WARN [ 17.470925][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.470928][ C3] Call Trace: [ 17.470931][ C3] [ 17.470934][ C3] dump_stack_lvl+0xb0/0xd0 [ 17.470946][ C3] __might_resched+0x360/0x5a0 [ 17.470957][ C3] down_write+0x72/0x210 [ 17.470964][ C3] ? __pfx_down_write+0x10/0x10 [ 17.470969][ C3] ? simple_recursive_removal+0x33/0x610 [ 17.470976][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.470981][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.470987][ C3] simple_recursive_removal+0x6a/0x610 [ 17.470990][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 17.470993][ C3] ? __pfx_remove_one+0x10/0x10 [ 17.470999][ C3] debugfs_remove+0x44/0x70 [ 17.471002][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 17.471009][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.471012][ C3] ? __sk_destruct+0x383/0x780 [ 17.471017][ C3] ? rcu_do_batch+0x34c/0xf20 [ 17.471021][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.471024][ C3] ? irq_exit_rcu+0xe/0x30 [ 17.471030][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.471035][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.471039][ C3] ? pv_native_safe_halt+0xf/0x20 [ 17.471043][ C3] ? default_idle+0x9/0x10 [ 17.471045][ C3] ? default_idle_call+0x6d/0xb0 [ 17.471048][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.471051][ C3] ? do_idle+0xf6/0x160 [ 17.471054][ C3] ? cpu_startup_entry+0x54/0x60 [ 17.471058][ C3] ? start_secondary+0x213/0x2a0 [ 17.471063][ C3] ? common_startup_64+0x13e/0x148 [ 17.471070][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.471076][ C3] ? rcu_is_watching+0x12/0xc0 [ 17.471084][ C3] __put_net+0x19/0x60 [ 17.471090][ C3] __sk_destruct+0x58a/0x780 [ 17.471096][ C3] ? rcu_do_batch+0x34a/0xf20 [ 17.471101][ C3] rcu_do_batch+0x34c/0xf20 [ 17.471109][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.471116][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.471124][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.471134][ C3] rcu_core+0x2bb/0x500 [ 17.471141][ C3] handle_softirqs+0x218/0x620 [ 17.471151][ C3] __irq_exit_rcu+0xfa/0x160 [ 17.471156][ C3] irq_exit_rcu+0xe/0x30 [ 17.471161][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.471167][ C3] [ 17.471169][ C3] [ 17.471172][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.471177][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.471183][ 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 [ 17.471188][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 17.471194][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff8b9905d9 [ 17.471197][ C3] RDX: ffffed1006c366fb RSI: ffffffff8bc53b60 RDI: ffffffff8918d18f [ 17.471201][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 17.471204][ C3] R10: ffff8880361b37d3 R11: ffff888009502818 R12: 0000000000000000 [ 17.471207][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 17.471212][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.471215][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.471219][ C3] default_idle+0x9/0x10 [ 17.471222][ C3] default_idle_call+0x6d/0xb0 [ 17.471224][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 17.471228][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.471231][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.471235][ C3] do_idle+0xf6/0x160 [ 17.471239][ C3] cpu_startup_entry+0x54/0x60 [ 17.471244][ C3] start_secondary+0x213/0x2a0 [ 17.471249][ C3] ? __pfx_start_secondary+0x10/0x10 [ 17.471256][ C3] common_startup_64+0x13e/0x148 [ 17.471269][ C3]