[ 17.486501][ C2] [ 17.486730][ C2] ================================ [ 17.487077][ C2] WARNING: inconsistent lock state [ 17.487388][ C2] 6.15.0-virtme #1 Not tainted [ 17.487699][ C2] -------------------------------- [ 17.488007][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 17.488462][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 17.488849][ C2] ffffffff911c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 17.489410][ C2] {SOFTIRQ-ON-W} state was registered at: [ 17.489708][ C2] __lock_acquire+0x20b/0x7e0 [ 17.490030][ C2] lock_acquire.part.0+0xb6/0x240 [ 17.490342][ C2] _raw_spin_lock+0x33/0x40 [ 17.490613][ C2] simple_pin_fs+0x24/0x150 [ 17.490814][ C2] start_creating.part.0+0x52/0x310 [ 17.491005][ C2] debugfs_create_dir+0x6a/0x540 [ 17.491198][ C2] component_debug_init+0x17/0x30 [ 17.491437][ C2] do_one_initcall+0x8f/0x1e0 [ 17.491668][ C2] do_initcalls+0x176/0x280 [ 17.491891][ C2] kernel_init_freeable+0x22d/0x300 [ 17.492107][ C2] kernel_init+0x20/0x200 [ 17.492304][ C2] ret_from_fork+0x240/0x320 [ 17.492531][ C2] ret_from_fork_asm+0x1a/0x30 [ 17.492793][ C2] irq event stamp: 311030 [ 17.492950][ C2] hardirqs last enabled at (311030): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.493375][ C2] hardirqs last disabled at (311029): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 17.493794][ C2] softirqs last enabled at (310934): [] handle_softirqs+0x358/0x620 [ 17.494162][ C2] softirqs last disabled at (310947): [] __irq_exit_rcu+0xfa/0x160 [ 17.494562][ C2] [ 17.494562][ C2] other info that might help us debug this: [ 17.494916][ C2] Possible unsafe locking scenario: [ 17.494916][ C2] [ 17.495282][ C2] CPU0 [ 17.495467][ C2] ---- [ 17.495687][ C2] lock(pin_fs_lock); [ 17.495932][ C2] [ 17.496175][ C2] lock(pin_fs_lock); [ 17.496346][ C2] [ 17.496346][ C2] *** DEADLOCK *** [ 17.496346][ C2] [ 17.496685][ C2] 1 lock held by swapper/2/0: [ 17.496948][ C2] #0: ffffffff90f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 17.497436][ C2] [ 17.497436][ C2] stack backtrace: [ 17.497818][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.497826][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.497829][ C2] Call Trace: [ 17.497832][ C2] [ 17.497837][ C2] dump_stack_lvl+0x82/0xd0 [ 17.497847][ C2] print_usage_bug.part.0+0x25f/0x360 [ 17.497856][ C2] mark_lock_irq+0x343/0x400 [ 17.497864][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 17.497870][ C2] ? save_trace+0x52/0x170 [ 17.497879][ C2] mark_lock+0x174/0x2f0 [ 17.497885][ C2] mark_usage+0x46/0x150 [ 17.497890][ C2] __lock_acquire+0x20b/0x7e0 [ 17.497895][ C2] ? __lock_acquire+0x44d/0x7e0 [ 17.497902][ C2] lock_acquire.part.0+0xb6/0x240 [ 17.497906][ C2] ? simple_pin_fs+0x24/0x150 [ 17.497913][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.497919][ C2] ? lock_acquire+0x10c/0x170 [ 17.497924][ C2] ? simple_pin_fs+0x24/0x150 [ 17.497931][ C2] _raw_spin_lock+0x33/0x40 [ 17.497937][ C2] ? simple_pin_fs+0x24/0x150 [ 17.497942][ C2] simple_pin_fs+0x24/0x150 [ 17.497948][ C2] debugfs_remove+0x35/0x70 [ 17.497954][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.497962][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.497968][ C2] ? __sk_destruct+0x383/0x780 [ 17.497975][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.497978][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.497984][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.497989][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.497995][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.497999][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.498004][ C2] ? default_idle+0x9/0x10 [ 17.498009][ C2] ? default_idle_call+0x6d/0xb0 [ 17.498013][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.498018][ C2] ? do_idle+0xf6/0x160 [ 17.498022][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.498026][ C2] ? start_secondary+0x213/0x2a0 [ 17.498031][ C2] ? common_startup_64+0x13e/0x148 [ 17.498044][ C2] __put_net+0x19/0x60 [ 17.498049][ C2] __sk_destruct+0x58a/0x780 [ 17.498056][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.498061][ C2] rcu_do_batch+0x34c/0xf20 [ 17.498067][ C2] ? find_held_lock+0x2b/0x80 [ 17.498074][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.498079][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.498085][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.498090][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.498097][ C2] rcu_core+0x2bb/0x500 [ 17.498104][ C2] handle_softirqs+0x218/0x620 [ 17.498114][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.498119][ C2] irq_exit_rcu+0xe/0x30 [ 17.498123][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.498128][ C2] [ 17.498130][ C2] [ 17.498133][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.498137][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.498144][ 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.498149][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 17.498154][ C2] RAX: 000000000004bea1 RBX: 1ffff92000028fc1 RCX: ffffffff8ff905d9 [ 17.498158][ C2] RDX: 0000000000000000 RSI: ffffffff90a8f4e4 RDI: ffffffff90253be0 [ 17.498161][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 17.498164][ C2] R10: ffff8880361337d3 R11: ffffffff90c11288 R12: 0000000000000000 [ 17.498168][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.498176][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.498184][ C2] default_idle+0x9/0x10 [ 17.498189][ C2] default_idle_call+0x6d/0xb0 [ 17.498193][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.498199][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.498206][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.498214][ C2] do_idle+0xf6/0x160 [ 17.498221][ C2] cpu_startup_entry+0x54/0x60 [ 17.498226][ C2] start_secondary+0x213/0x2a0 [ 17.498231][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.498240][ C2] common_startup_64+0x13e/0x148 [ 17.498254][ C2] [ 17.519590][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.519982][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.520305][ C2] preempt_count: 101, expected: 0 [ 17.520506][ C2] RCU nest depth: 0, expected: 0 [ 17.520795][ C2] INFO: lockdep is turned off. [ 17.521014][ C2] Preemption disabled at: [ 17.521016][ C2] [<0000000000000000>] 0x0 [ 17.521415][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 17.521420][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.521423][ C2] Call Trace: [ 17.521425][ C2] [ 17.521428][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.521439][ C2] __might_resched+0x360/0x5a0 [ 17.521448][ C2] down_write+0x72/0x210 [ 17.521455][ C2] ? __pfx_down_write+0x10/0x10 [ 17.521459][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.521465][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.521471][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.521479][ C2] simple_recursive_removal+0x6a/0x610 [ 17.521483][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.521488][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.521496][ C2] debugfs_remove+0x44/0x70 [ 17.521500][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.521508][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.521513][ C2] ? __sk_destruct+0x383/0x780 [ 17.521520][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.521525][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.521529][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.521535][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.521542][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.521549][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.521554][ C2] ? default_idle+0x9/0x10 [ 17.521558][ C2] ? default_idle_call+0x6d/0xb0 [ 17.521561][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.521565][ C2] ? do_idle+0xf6/0x160 [ 17.521567][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.521569][ C2] ? start_secondary+0x213/0x2a0 [ 17.521573][ C2] ? common_startup_64+0x13e/0x148 [ 17.521581][ C2] __put_net+0x19/0x60 [ 17.521585][ C2] __sk_destruct+0x58a/0x780 [ 17.521589][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.521592][ C2] rcu_do_batch+0x34c/0xf20 [ 17.521595][ C2] ? find_held_lock+0x2b/0x80 [ 17.521601][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.521604][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 17.521609][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 17.521613][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.521620][ C2] rcu_core+0x2bb/0x500 [ 17.521627][ C2] handle_softirqs+0x218/0x620 [ 17.521636][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.521641][ C2] irq_exit_rcu+0xe/0x30 [ 17.521645][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.521651][ C2] [ 17.521652][ C2] [ 17.521655][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.521661][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.521666][ 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.521671][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 17.521676][ C2] RAX: 000000000004bea1 RBX: 1ffff92000028fc1 RCX: ffffffff8ff905d9 [ 17.521679][ C2] RDX: 0000000000000000 RSI: ffffffff90a8f4e4 RDI: ffffffff90253be0 [ 17.521683][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 17.521685][ C2] R10: ffff8880361337d3 R11: ffffffff90c11288 R12: 0000000000000000 [ 17.521689][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.521695][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.521702][ C2] default_idle+0x9/0x10 [ 17.521706][ C2] default_idle_call+0x6d/0xb0 [ 17.521711][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.521716][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.521724][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.521731][ C2] do_idle+0xf6/0x160 [ 17.521737][ C2] cpu_startup_entry+0x54/0x60 [ 17.521741][ C2] start_secondary+0x213/0x2a0 [ 17.521746][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.521753][ C2] common_startup_64+0x13e/0x148 [ 17.521765][ C2] [ 20.451033][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.451419][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 20.451753][ C3] preempt_count: 101, expected: 0 [ 20.451926][ C3] RCU nest depth: 0, expected: 0 [ 20.452098][ C3] INFO: lockdep is turned off. [ 20.452285][ C3] Preemption disabled at: [ 20.452287][ C3] [<0000000000000000>] 0x0 [ 20.452623][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 20.452629][ C3] Tainted: [W]=WARN [ 20.452630][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.452633][ C3] Call Trace: [ 20.452634][ C3] [ 20.452636][ C3] dump_stack_lvl+0xb0/0xd0 [ 20.452646][ C3] __might_resched+0x360/0x5a0 [ 20.452653][ C3] down_write+0x72/0x210 [ 20.452657][ C3] ? __pfx_down_write+0x10/0x10 [ 20.452660][ C3] ? simple_recursive_removal+0x33/0x610 [ 20.452665][ C3] ? rcu_is_watching+0x12/0xc0 [ 20.452670][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 20.452676][ C3] simple_recursive_removal+0x6a/0x610 [ 20.452679][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 20.452682][ C3] ? __pfx_remove_one+0x10/0x10 [ 20.452688][ C3] debugfs_remove+0x44/0x70 [ 20.452691][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 20.452698][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.452701][ C3] ? __sk_destruct+0x383/0x780 [ 20.452707][ C3] ? rcu_do_batch+0x34c/0xf20 [ 20.452710][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.452713][ C3] ? irq_exit_rcu+0xe/0x30 [ 20.452719][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.452723][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.452727][ C3] ? pv_native_safe_halt+0xf/0x20 [ 20.452731][ C3] ? default_idle+0x9/0x10 [ 20.452733][ C3] ? default_idle_call+0x6d/0xb0 [ 20.452736][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.452739][ C3] ? do_idle+0xf6/0x160 [ 20.452742][ C3] ? cpu_startup_entry+0x54/0x60 [ 20.452744][ C3] ? start_secondary+0x213/0x2a0 [ 20.452748][ C3] ? common_startup_64+0x13e/0x148 [ 20.452753][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 20.452757][ C3] ? rcu_is_watching+0x12/0xc0 [ 20.452762][ C3] __put_net+0x19/0x60 [ 20.452765][ C3] __sk_destruct+0x58a/0x780 [ 20.452770][ C3] ? rcu_do_batch+0x34a/0xf20 [ 20.452772][ C3] rcu_do_batch+0x34c/0xf20 [ 20.452777][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.452780][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 20.452786][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.452795][ C3] rcu_core+0x2bb/0x500 [ 20.452801][ C3] handle_softirqs+0x218/0x620 [ 20.452808][ C3] __irq_exit_rcu+0xfa/0x160 [ 20.452812][ C3] irq_exit_rcu+0xe/0x30 [ 20.452816][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.452821][ C3] [ 20.452822][ C3] [ 20.452824][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.452826][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.452831][ 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 [ 20.452834][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 20.452838][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff8ff905d9 [ 20.452840][ C3] RDX: ffffed1006c366fb RSI: ffffffff90253b60 RDI: ffffffff8d78d18f [ 20.452842][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 20.452843][ C3] R10: ffff8880361b37d3 R11: ffff88800b37a818 R12: 0000000000000000 [ 20.452845][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 20.452849][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.452852][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.452856][ C3] default_idle+0x9/0x10 [ 20.452858][ C3] default_idle_call+0x6d/0xb0 [ 20.452861][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 20.452864][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.452868][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.452872][ C3] do_idle+0xf6/0x160 [ 20.452876][ C3] cpu_startup_entry+0x54/0x60 [ 20.452879][ C3] start_secondary+0x213/0x2a0 [ 20.452881][ C3] ? __pfx_start_secondary+0x10/0x10 [ 20.452886][ C3] common_startup_64+0x13e/0x148 [ 20.452893][ C3]