[ 14.605180][ C3] [ 14.605338][ C3] ================================ [ 14.605563][ C3] WARNING: inconsistent lock state [ 14.605784][ C3] 6.15.0-virtme #1 Not tainted [ 14.606006][ C3] -------------------------------- [ 14.606228][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 14.606502][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 14.606781][ C3] ffffffffa21c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 14.607187][ C3] {SOFTIRQ-ON-W} state was registered at: [ 14.607411][ C3] __lock_acquire+0x20b/0x7e0 [ 14.607638][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.607861][ C3] _raw_spin_lock+0x33/0x40 [ 14.608091][ C3] simple_pin_fs+0x24/0x150 [ 14.608320][ C3] start_creating.part.0+0x52/0x310 [ 14.608543][ C3] debugfs_create_dir+0x6a/0x540 [ 14.608765][ C3] component_debug_init+0x17/0x30 [ 14.608996][ C3] do_one_initcall+0x8f/0x1e0 [ 14.609222][ C3] do_initcalls+0x176/0x280 [ 14.609444][ C3] kernel_init_freeable+0x22d/0x300 [ 14.609662][ C3] kernel_init+0x20/0x200 [ 14.609888][ C3] ret_from_fork+0x240/0x320 [ 14.610110][ C3] ret_from_fork_asm+0x1a/0x30 [ 14.610329][ C3] irq event stamp: 213160 [ 14.610495][ C3] hardirqs last enabled at (213160): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.610935][ C3] hardirqs last disabled at (213159): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 14.611369][ C3] softirqs last enabled at (211040): [] handle_softirqs+0x358/0x620 [ 14.611753][ C3] softirqs last disabled at (211059): [] __irq_exit_rcu+0xfa/0x160 [ 14.612138][ C3] [ 14.612138][ C3] other info that might help us debug this: [ 14.612468][ C3] Possible unsafe locking scenario: [ 14.612468][ C3] [ 14.612790][ C3] CPU0 [ 14.612955][ C3] ---- [ 14.613119][ C3] lock(pin_fs_lock); [ 14.613286][ C3] [ 14.613451][ C3] lock(pin_fs_lock); [ 14.613621][ C3] [ 14.613621][ C3] *** DEADLOCK *** [ 14.613621][ C3] [ 14.613948][ C3] 1 lock held by swapper/3/0: [ 14.614170][ C3] #0: ffffffffa1f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 14.614562][ C3] [ 14.614562][ C3] stack backtrace: [ 14.614839][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.614843][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.614845][ C3] Call Trace: [ 14.614847][ C3] [ 14.614849][ C3] dump_stack_lvl+0x82/0xd0 [ 14.614856][ C3] print_usage_bug.part.0+0x25f/0x360 [ 14.614861][ C3] mark_lock_irq+0x343/0x400 [ 14.614865][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 14.614870][ C3] ? save_trace+0x52/0x170 [ 14.614875][ C3] mark_lock+0x174/0x2f0 [ 14.614879][ C3] mark_usage+0x46/0x150 [ 14.614882][ C3] __lock_acquire+0x20b/0x7e0 [ 14.614885][ C3] ? __lock_acquire+0x44d/0x7e0 [ 14.614889][ C3] lock_acquire.part.0+0xb6/0x240 [ 14.614893][ C3] ? simple_pin_fs+0x24/0x150 [ 14.614898][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.614902][ C3] ? lock_acquire+0x10c/0x170 [ 14.614905][ C3] ? simple_pin_fs+0x24/0x150 [ 14.614909][ C3] _raw_spin_lock+0x33/0x40 [ 14.614913][ C3] ? simple_pin_fs+0x24/0x150 [ 14.614916][ C3] simple_pin_fs+0x24/0x150 [ 14.614920][ C3] debugfs_remove+0x35/0x70 [ 14.614924][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.614930][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.614933][ C3] ? __sk_destruct+0x383/0x780 [ 14.614939][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.614941][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.614945][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.614948][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.614952][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.614955][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.614959][ C3] ? default_idle+0x9/0x10 [ 14.614961][ C3] ? default_idle_call+0x6d/0xb0 [ 14.614964][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.614967][ C3] ? do_idle+0xf6/0x160 [ 14.614970][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.614972][ C3] ? start_secondary+0x213/0x2a0 [ 14.614975][ C3] ? common_startup_64+0x13e/0x148 [ 14.614983][ C3] __put_net+0x19/0x60 [ 14.614986][ C3] __sk_destruct+0x58a/0x780 [ 14.614990][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.614993][ C3] rcu_do_batch+0x34c/0xf20 [ 14.614996][ C3] ? find_held_lock+0x2b/0x80 [ 14.615000][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.615004][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.615007][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.615010][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.615015][ C3] rcu_core+0x2bb/0x500 [ 14.615019][ C3] handle_softirqs+0x218/0x620 [ 14.615024][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.615028][ C3] irq_exit_rcu+0xe/0x30 [ 14.615030][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.615034][ C3] [ 14.615035][ C3] [ 14.615037][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.615040][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.615044][ 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 [ 14.615047][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.615050][ C3] RAX: 0000000000033871 RBX: 1ffff9200002afc1 RCX: ffffffffa0f8f5d9 [ 14.615052][ C3] RDX: 0000000000000000 RSI: ffffffffa1a8f4e4 RDI: ffffffffa1253be0 [ 14.615054][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.615055][ C3] R10: ffff8880361b37d3 R11: ffffffffa1c11288 R12: 0000000000000000 [ 14.615057][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.615061][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.615065][ C3] default_idle+0x9/0x10 [ 14.615068][ C3] default_idle_call+0x6d/0xb0 [ 14.615071][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.615074][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.615077][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.615082][ C3] do_idle+0xf6/0x160 [ 14.615085][ C3] cpu_startup_entry+0x54/0x60 [ 14.615088][ C3] start_secondary+0x213/0x2a0 [ 14.615091][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.615096][ C3] common_startup_64+0x13e/0x148 [ 14.615103][ C3] [ 14.633040][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 14.633422][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 14.633793][ C3] preempt_count: 101, expected: 0 [ 14.634003][ C3] RCU nest depth: 0, expected: 0 [ 14.634211][ C3] INFO: lockdep is turned off. [ 14.634427][ C3] Preemption disabled at: [ 14.634429][ C3] [<0000000000000000>] 0x0 [ 14.634905][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 14.634910][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 14.634911][ C3] Call Trace: [ 14.634913][ C3] [ 14.634915][ C3] dump_stack_lvl+0xb0/0xd0 [ 14.634921][ C3] __might_resched+0x360/0x5a0 [ 14.634929][ C3] down_write+0x72/0x210 [ 14.634933][ C3] ? __pfx_down_write+0x10/0x10 [ 14.634936][ C3] ? simple_recursive_removal+0x33/0x610 [ 14.634939][ C3] ? rcu_is_watching+0x12/0xc0 [ 14.634944][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.634949][ C3] simple_recursive_removal+0x6a/0x610 [ 14.634952][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 14.634955][ C3] ? __pfx_remove_one+0x10/0x10 [ 14.634960][ C3] debugfs_remove+0x44/0x70 [ 14.634963][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 14.634968][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 14.634971][ C3] ? __sk_destruct+0x383/0x780 [ 14.634976][ C3] ? rcu_do_batch+0x34c/0xf20 [ 14.634979][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 14.634983][ C3] ? irq_exit_rcu+0xe/0x30 [ 14.634987][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.634991][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.634995][ C3] ? pv_native_safe_halt+0xf/0x20 [ 14.634999][ C3] ? default_idle+0x9/0x10 [ 14.635001][ C3] ? default_idle_call+0x6d/0xb0 [ 14.635004][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 14.635007][ C3] ? do_idle+0xf6/0x160 [ 14.635009][ C3] ? cpu_startup_entry+0x54/0x60 [ 14.635012][ C3] ? start_secondary+0x213/0x2a0 [ 14.635015][ C3] ? common_startup_64+0x13e/0x148 [ 14.635021][ C3] __put_net+0x19/0x60 [ 14.635024][ C3] __sk_destruct+0x58a/0x780 [ 14.635028][ C3] ? rcu_do_batch+0x34a/0xf20 [ 14.635031][ C3] rcu_do_batch+0x34c/0xf20 [ 14.635034][ C3] ? find_held_lock+0x2b/0x80 [ 14.635039][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 14.635042][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 14.635046][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 14.635049][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 14.635054][ C3] rcu_core+0x2bb/0x500 [ 14.635058][ C3] handle_softirqs+0x218/0x620 [ 14.635064][ C3] __irq_exit_rcu+0xfa/0x160 [ 14.635067][ C3] irq_exit_rcu+0xe/0x30 [ 14.635069][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 14.635073][ C3] [ 14.635074][ C3] [ 14.635075][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 14.635078][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 14.635082][ 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 [ 14.635085][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 14.635087][ C3] RAX: 0000000000033871 RBX: 1ffff9200002afc1 RCX: ffffffffa0f8f5d9 [ 14.635089][ C3] RDX: 0000000000000000 RSI: ffffffffa1a8f4e4 RDI: ffffffffa1253be0 [ 14.635091][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 14.635093][ C3] R10: ffff8880361b37d3 R11: ffffffffa1c11288 R12: 0000000000000000 [ 14.635094][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 14.635098][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 14.635104][ C3] default_idle+0x9/0x10 [ 14.635109][ C3] default_idle_call+0x6d/0xb0 [ 14.635113][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 14.635118][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 14.635125][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 14.635130][ C3] do_idle+0xf6/0x160 [ 14.635134][ C3] cpu_startup_entry+0x54/0x60 [ 14.635136][ C3] start_secondary+0x213/0x2a0 [ 14.635139][ C3] ? __pfx_start_secondary+0x10/0x10 [ 14.635144][ C3] common_startup_64+0x13e/0x148 [ 14.635151][ C3] [ 16.188275][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.188640][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.188953][ C2] preempt_count: 101, expected: 0 [ 16.189137][ C2] RCU nest depth: 0, expected: 0 [ 16.189327][ C2] INFO: lockdep is turned off. [ 16.189510][ C2] Preemption disabled at: [ 16.189512][ C2] [<0000000000000000>] 0x0 [ 16.189838][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.189843][ C2] Tainted: [W]=WARN [ 16.189844][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.189846][ C2] Call Trace: [ 16.189848][ C2] [ 16.189850][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.189859][ C2] __might_resched+0x360/0x5a0 [ 16.189866][ C2] down_write+0x72/0x210 [ 16.189870][ C2] ? __pfx_down_write+0x10/0x10 [ 16.189873][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.189877][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.189882][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.189888][ C2] simple_recursive_removal+0x6a/0x610 [ 16.189891][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.189895][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.189901][ C2] debugfs_remove+0x44/0x70 [ 16.189905][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.189910][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.189914][ C2] ? __sk_destruct+0x383/0x780 [ 16.189920][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.189923][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.189926][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.189931][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.189936][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.189940][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.189943][ C2] ? default_idle+0x9/0x10 [ 16.189946][ C2] ? default_idle_call+0x6d/0xb0 [ 16.189949][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.189952][ C2] ? do_idle+0xf6/0x160 [ 16.189954][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.189957][ C2] ? start_secondary+0x213/0x2a0 [ 16.189960][ C2] ? common_startup_64+0x13e/0x148 [ 16.189966][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.189970][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.189974][ C2] __put_net+0x19/0x60 [ 16.189978][ C2] __sk_destruct+0x58a/0x780 [ 16.189982][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.189984][ C2] rcu_do_batch+0x34c/0xf20 [ 16.189989][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.189992][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.189999][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.190005][ C2] rcu_core+0x2bb/0x500 [ 16.190009][ C2] handle_softirqs+0x218/0x620 [ 16.190015][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.190018][ C2] irq_exit_rcu+0xe/0x30 [ 16.190020][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.190024][ C2] [ 16.190025][ C2] [ 16.190027][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.190030][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.190034][ 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.190037][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.190040][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffa0f8f5d9 [ 16.190042][ C2] RDX: ffffed1006c266fb RSI: ffffffffa1253b60 RDI: ffffffff9e78d18f [ 16.190044][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 16.190046][ C2] R10: ffff8880361337d3 R11: ffffc900001479c0 R12: 0000000000000000 [ 16.190048][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.190052][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.190055][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.190059][ C2] default_idle+0x9/0x10 [ 16.190062][ C2] default_idle_call+0x6d/0xb0 [ 16.190064][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.190067][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.190071][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.190075][ C2] do_idle+0xf6/0x160 [ 16.190079][ C2] cpu_startup_entry+0x54/0x60 [ 16.190082][ C2] start_secondary+0x213/0x2a0 [ 16.190085][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.190089][ C2] common_startup_64+0x13e/0x148 [ 16.190096][ C2]