[ 15.280897][ C1] [ 15.281099][ C1] ================================ [ 15.281288][ C1] WARNING: inconsistent lock state [ 15.281477][ C1] 6.15.0-virtme #1 Not tainted [ 15.281665][ C1] -------------------------------- [ 15.281851][ C1] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.282083][ C1] swapper/1/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.282319][ C1] ffffffff8abc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.282650][ C1] {SOFTIRQ-ON-W} state was registered at: [ 15.282835][ C1] __lock_acquire+0x20b/0x7e0 [ 15.283025][ C1] lock_acquire.part.0+0xb6/0x240 [ 15.283211][ C1] _raw_spin_lock+0x33/0x40 [ 15.283400][ C1] simple_pin_fs+0x24/0x150 [ 15.283586][ C1] start_creating.part.0+0x52/0x310 [ 15.283774][ C1] debugfs_create_dir+0x6a/0x540 [ 15.283963][ C1] component_debug_init+0x17/0x30 [ 15.284151][ C1] do_one_initcall+0x8f/0x1e0 [ 15.284341][ C1] do_initcalls+0x176/0x280 [ 15.284528][ C1] kernel_init_freeable+0x22d/0x300 [ 15.284716][ C1] kernel_init+0x20/0x200 [ 15.284900][ C1] ret_from_fork+0x240/0x320 [ 15.285086][ C1] ret_from_fork_asm+0x1a/0x30 [ 15.285272][ C1] irq event stamp: 540140 [ 15.285414][ C1] hardirqs last enabled at (540140): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.285785][ C1] hardirqs last disabled at (540139): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.286154][ C1] softirqs last enabled at (539660): [] handle_softirqs+0x358/0x620 [ 15.286494][ C1] softirqs last disabled at (539685): [] __irq_exit_rcu+0xfa/0x160 [ 15.286821][ C1] [ 15.286821][ C1] other info that might help us debug this: [ 15.287094][ C1] Possible unsafe locking scenario: [ 15.287094][ C1] [ 15.287364][ C1] CPU0 [ 15.287505][ C1] ---- [ 15.287646][ C1] lock(pin_fs_lock); [ 15.287788][ C1] [ 15.287926][ C1] lock(pin_fs_lock); [ 15.288069][ C1] [ 15.288069][ C1] *** DEADLOCK *** [ 15.288069][ C1] [ 15.288342][ C1] 1 lock held by swapper/1/0: [ 15.288537][ C1] #0: ffffffff8a9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.288871][ C1] [ 15.288871][ C1] stack backtrace: [ 15.289102][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.289106][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.289108][ C1] Call Trace: [ 15.289110][ C1] [ 15.289112][ C1] dump_stack_lvl+0x82/0xd0 [ 15.289118][ C1] print_usage_bug.part.0+0x25f/0x360 [ 15.289123][ C1] mark_lock_irq+0x343/0x400 [ 15.289127][ C1] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.289132][ C1] ? save_trace+0x52/0x170 [ 15.289138][ C1] mark_lock+0x174/0x2f0 [ 15.289141][ C1] mark_usage+0x46/0x150 [ 15.289144][ C1] __lock_acquire+0x20b/0x7e0 [ 15.289147][ C1] ? __lock_acquire+0x44d/0x7e0 [ 15.289151][ C1] lock_acquire.part.0+0xb6/0x240 [ 15.289154][ C1] ? simple_pin_fs+0x24/0x150 [ 15.289159][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.289163][ C1] ? lock_acquire+0x10c/0x170 [ 15.289165][ C1] ? simple_pin_fs+0x24/0x150 [ 15.289170][ C1] _raw_spin_lock+0x33/0x40 [ 15.289173][ C1] ? simple_pin_fs+0x24/0x150 [ 15.289176][ C1] simple_pin_fs+0x24/0x150 [ 15.289180][ C1] debugfs_remove+0x35/0x70 [ 15.289183][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.289189][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.289193][ C1] ? __sk_destruct+0x383/0x780 [ 15.289198][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.289201][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.289204][ C1] ? irq_exit_rcu+0xe/0x30 [ 15.289207][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.289211][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.289215][ C1] ? pv_native_safe_halt+0xf/0x20 [ 15.289218][ C1] ? default_idle+0x9/0x10 [ 15.289220][ C1] ? default_idle_call+0x6d/0xb0 [ 15.289223][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.289226][ C1] ? do_idle+0xf6/0x160 [ 15.289228][ C1] ? cpu_startup_entry+0x54/0x60 [ 15.289231][ C1] ? start_secondary+0x213/0x2a0 [ 15.289234][ C1] ? common_startup_64+0x13e/0x148 [ 15.289241][ C1] __put_net+0x19/0x60 [ 15.289245][ C1] __sk_destruct+0x58a/0x780 [ 15.289249][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.289251][ C1] rcu_do_batch+0x34c/0xf20 [ 15.289255][ C1] ? find_held_lock+0x2b/0x80 [ 15.289259][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.289262][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.289266][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.289268][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.289273][ C1] rcu_core+0x2bb/0x500 [ 15.289277][ C1] handle_softirqs+0x218/0x620 [ 15.289283][ C1] __irq_exit_rcu+0xfa/0x160 [ 15.289286][ C1] irq_exit_rcu+0xe/0x30 [ 15.289288][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.289292][ C1] [ 15.289293][ C1] [ 15.289294][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.289297][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.289301][ C1] 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.289304][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 15.289307][ C1] RAX: 0000000000083c23 RBX: 1ffff92000026fc1 RCX: ffffffff899905d9 [ 15.289309][ C1] RDX: 0000000000000000 RSI: ffffffff8a48f4e4 RDI: ffffffff89c53be0 [ 15.289311][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 15.289313][ C1] R10: ffff8880360b37d3 R11: ffffffff8a611288 R12: 0000000000000000 [ 15.289314][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 15.289318][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.289323][ C1] default_idle+0x9/0x10 [ 15.289325][ C1] default_idle_call+0x6d/0xb0 [ 15.289328][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 15.289331][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.289335][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.289339][ C1] do_idle+0xf6/0x160 [ 15.289343][ C1] cpu_startup_entry+0x54/0x60 [ 15.289346][ C1] start_secondary+0x213/0x2a0 [ 15.289349][ C1] ? __pfx_start_secondary+0x10/0x10 [ 15.289353][ C1] common_startup_64+0x13e/0x148 [ 15.289360][ C1] [ 15.304272][ C1] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.304584][ C1] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/1 [ 15.304884][ C1] preempt_count: 101, expected: 0 [ 15.305056][ C1] RCU nest depth: 0, expected: 0 [ 15.305226][ C1] INFO: lockdep is turned off. [ 15.305396][ C1] Preemption disabled at: [ 15.305397][ C1] [<0000000000000000>] 0x0 [ 15.305709][ C1] CPU: 1 UID: 0 PID: 0 Comm: swapper/1 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.305714][ C1] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.305716][ C1] Call Trace: [ 15.305717][ C1] [ 15.305719][ C1] dump_stack_lvl+0xb0/0xd0 [ 15.305725][ C1] __might_resched+0x360/0x5a0 [ 15.305732][ C1] down_write+0x72/0x210 [ 15.305736][ C1] ? __pfx_down_write+0x10/0x10 [ 15.305739][ C1] ? simple_recursive_removal+0x33/0x610 [ 15.305742][ C1] ? rcu_is_watching+0x12/0xc0 [ 15.305747][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.305752][ C1] simple_recursive_removal+0x6a/0x610 [ 15.305755][ C1] ? do_raw_spin_unlock+0x58/0x220 [ 15.305758][ C1] ? __pfx_remove_one+0x10/0x10 [ 15.305763][ C1] debugfs_remove+0x44/0x70 [ 15.305766][ C1] ref_tracker_dir_exit+0xcf/0x740 [ 15.305771][ C1] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.305774][ C1] ? __sk_destruct+0x383/0x780 [ 15.305779][ C1] ? rcu_do_batch+0x34c/0xf20 [ 15.305782][ C1] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.305785][ C1] ? irq_exit_rcu+0xe/0x30 [ 15.305789][ C1] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.305794][ C1] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.305798][ C1] ? pv_native_safe_halt+0xf/0x20 [ 15.305801][ C1] ? default_idle+0x9/0x10 [ 15.305804][ C1] ? default_idle_call+0x6d/0xb0 [ 15.305806][ C1] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.305809][ C1] ? do_idle+0xf6/0x160 [ 15.305812][ C1] ? cpu_startup_entry+0x54/0x60 [ 15.305814][ C1] ? start_secondary+0x213/0x2a0 [ 15.305817][ C1] ? common_startup_64+0x13e/0x148 [ 15.305824][ C1] __put_net+0x19/0x60 [ 15.305827][ C1] __sk_destruct+0x58a/0x780 [ 15.305831][ C1] ? rcu_do_batch+0x34a/0xf20 [ 15.305834][ C1] rcu_do_batch+0x34c/0xf20 [ 15.305837][ C1] ? find_held_lock+0x2b/0x80 [ 15.305842][ C1] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.305846][ C1] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.305850][ C1] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.305853][ C1] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.305858][ C1] rcu_core+0x2bb/0x500 [ 15.305862][ C1] handle_softirqs+0x218/0x620 [ 15.305867][ C1] __irq_exit_rcu+0xfa/0x160 [ 15.305870][ C1] irq_exit_rcu+0xe/0x30 [ 15.305873][ C1] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.305876][ C1] [ 15.305877][ C1] [ 15.305879][ C1] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.305882][ C1] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.305885][ C1] 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.305888][ C1] RSP: 0018:ffffc90000137de8 EFLAGS: 00000242 [ 15.305891][ C1] RAX: 0000000000083c23 RBX: 1ffff92000026fc1 RCX: ffffffff899905d9 [ 15.305892][ C1] RDX: 0000000000000000 RSI: ffffffff8a48f4e4 RDI: ffffffff89c53be0 [ 15.305894][ C1] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c166fa [ 15.305896][ C1] R10: ffff8880360b37d3 R11: ffffffff8a611288 R12: 0000000000000000 [ 15.305897][ C1] R13: ffff888001bf0040 R14: dffffc0000000000 R15: 0000000000000000 [ 15.305901][ C1] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.305906][ C1] default_idle+0x9/0x10 [ 15.305908][ C1] default_idle_call+0x6d/0xb0 [ 15.305911][ C1] cpuidle_idle_call+0x26f/0x3a0 [ 15.305914][ C1] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.305917][ C1] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.305921][ C1] do_idle+0xf6/0x160 [ 15.305925][ C1] cpu_startup_entry+0x54/0x60 [ 15.305928][ C1] start_secondary+0x213/0x2a0 [ 15.305931][ C1] ? __pfx_start_secondary+0x10/0x10 [ 15.305935][ C1] common_startup_64+0x13e/0x148 [ 15.305942][ C1] [ 17.201741][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.202108][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.202423][ C2] preempt_count: 101, expected: 0 [ 17.202619][ C2] RCU nest depth: 0, expected: 0 [ 17.202803][ C2] INFO: lockdep is turned off. [ 17.202989][ C2] Preemption disabled at: [ 17.202991][ C2] [<0000000000000000>] 0x0 [ 17.203324][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.203329][ C2] Tainted: [W]=WARN [ 17.203331][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.203333][ C2] Call Trace: [ 17.203335][ C2] [ 17.203337][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.203345][ C2] __might_resched+0x360/0x5a0 [ 17.203352][ C2] down_write+0x72/0x210 [ 17.203357][ C2] ? __pfx_down_write+0x10/0x10 [ 17.203360][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.203365][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.203370][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.203376][ C2] simple_recursive_removal+0x6a/0x610 [ 17.203379][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.203382][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.203387][ C2] debugfs_remove+0x44/0x70 [ 17.203391][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.203396][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.203400][ C2] ? __sk_destruct+0x383/0x780 [ 17.203405][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.203409][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.203412][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.203417][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.203422][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.203425][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.203429][ C2] ? default_idle+0x9/0x10 [ 17.203431][ C2] ? default_idle_call+0x6d/0xb0 [ 17.203434][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.203438][ C2] ? do_idle+0xf6/0x160 [ 17.203440][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.203443][ C2] ? start_secondary+0x213/0x2a0 [ 17.203446][ C2] ? common_startup_64+0x13e/0x148 [ 17.203452][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.203457][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.203462][ C2] __put_net+0x19/0x60 [ 17.203468][ C2] __sk_destruct+0x58a/0x780 [ 17.203472][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.203474][ C2] rcu_do_batch+0x34c/0xf20 [ 17.203479][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.203483][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.203489][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.203495][ C2] rcu_core+0x2bb/0x500 [ 17.203499][ C2] handle_softirqs+0x218/0x620 [ 17.203505][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.203508][ C2] irq_exit_rcu+0xe/0x30 [ 17.203511][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.203514][ C2] [ 17.203515][ C2] [ 17.203517][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.203520][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.203525][ 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 [ 17.203527][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.203531][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff899905d9 [ 17.203533][ C2] RDX: ffffed1006c266fb RSI: ffffffff89c53b60 RDI: ffffffff8718d18f [ 17.203535][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 17.203537][ C2] R10: ffff8880361337d3 R11: ffffffff8d270108 R12: 0000000000000000 [ 17.203539][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.203543][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.203546][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.203550][ C2] default_idle+0x9/0x10 [ 17.203552][ C2] default_idle_call+0x6d/0xb0 [ 17.203555][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.203558][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.203561][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.203566][ C2] do_idle+0xf6/0x160 [ 17.203569][ C2] cpu_startup_entry+0x54/0x60 [ 17.203572][ C2] start_secondary+0x213/0x2a0 [ 17.203575][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.203579][ C2] common_startup_64+0x13e/0x148 [ 17.203586][ C2]