[ 15.344605][ C3] [ 15.344754][ C3] ================================ [ 15.344958][ C3] WARNING: inconsistent lock state [ 15.345161][ C3] 6.15.0-virtme #1 Not tainted [ 15.345364][ C3] -------------------------------- [ 15.345569][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.345818][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.346065][ C3] ffffffffb0bc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.346421][ C3] {SOFTIRQ-ON-W} state was registered at: [ 15.346621][ C3] __lock_acquire+0x20b/0x7e0 [ 15.346828][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.347028][ C3] _raw_spin_lock+0x33/0x40 [ 15.347237][ C3] simple_pin_fs+0x24/0x150 [ 15.347437][ C3] start_creating.part.0+0x52/0x310 [ 15.347644][ C3] debugfs_create_dir+0x6a/0x540 [ 15.347846][ C3] component_debug_init+0x17/0x30 [ 15.348049][ C3] do_one_initcall+0x8f/0x1e0 [ 15.348259][ C3] do_initcalls+0x176/0x280 [ 15.348465][ C3] kernel_init_freeable+0x22d/0x300 [ 15.348667][ C3] kernel_init+0x20/0x200 [ 15.348871][ C3] ret_from_fork+0x240/0x320 [ 15.349076][ C3] ret_from_fork_asm+0x1a/0x30 [ 15.349282][ C3] irq event stamp: 234368 [ 15.349435][ C3] hardirqs last enabled at (234368): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.349840][ C3] hardirqs last disabled at (234367): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.350245][ C3] softirqs last enabled at (233444): [] handle_softirqs+0x358/0x620 [ 15.350598][ C3] softirqs last disabled at (233451): [] __irq_exit_rcu+0xfa/0x160 [ 15.350949][ C3] [ 15.350949][ C3] other info that might help us debug this: [ 15.351246][ C3] Possible unsafe locking scenario: [ 15.351246][ C3] [ 15.351544][ C3] CPU0 [ 15.351695][ C3] ---- [ 15.351844][ C3] lock(pin_fs_lock); [ 15.351999][ C3] [ 15.352153][ C3] lock(pin_fs_lock); [ 15.352308][ C3] [ 15.352308][ C3] *** DEADLOCK *** [ 15.352308][ C3] [ 15.352601][ C3] 1 lock held by swapper/3/0: [ 15.352803][ C3] #0: ffffffffb09774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.353162][ C3] [ 15.353162][ C3] stack backtrace: [ 15.353417][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.353421][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.353423][ C3] Call Trace: [ 15.353426][ C3] [ 15.353428][ C3] dump_stack_lvl+0x82/0xd0 [ 15.353435][ C3] print_usage_bug.part.0+0x25f/0x360 [ 15.353440][ C3] mark_lock_irq+0x343/0x400 [ 15.353445][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.353451][ C3] ? save_trace+0x52/0x170 [ 15.353457][ C3] mark_lock+0x174/0x2f0 [ 15.353461][ C3] mark_usage+0x46/0x150 [ 15.353464][ C3] __lock_acquire+0x20b/0x7e0 [ 15.353467][ C3] ? __lock_acquire+0x44d/0x7e0 [ 15.353471][ C3] lock_acquire.part.0+0xb6/0x240 [ 15.353474][ C3] ? simple_pin_fs+0x24/0x150 [ 15.353478][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.353483][ C3] ? lock_acquire+0x10c/0x170 [ 15.353486][ C3] ? simple_pin_fs+0x24/0x150 [ 15.353491][ C3] _raw_spin_lock+0x33/0x40 [ 15.353494][ C3] ? simple_pin_fs+0x24/0x150 [ 15.353497][ C3] simple_pin_fs+0x24/0x150 [ 15.353501][ C3] debugfs_remove+0x35/0x70 [ 15.353504][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.353512][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.353516][ C3] ? __sk_destruct+0x383/0x780 [ 15.353523][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.353525][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.353529][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.353532][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.353538][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.353542][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.353545][ C3] ? default_idle+0x9/0x10 [ 15.353548][ C3] ? default_idle_call+0x6d/0xb0 [ 15.353550][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.353554][ C3] ? do_idle+0xf6/0x160 [ 15.353557][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.353559][ C3] ? start_secondary+0x213/0x2a0 [ 15.353563][ C3] ? common_startup_64+0x13e/0x148 [ 15.353572][ C3] __put_net+0x19/0x60 [ 15.353577][ C3] __sk_destruct+0x58a/0x780 [ 15.353581][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.353584][ C3] rcu_do_batch+0x34c/0xf20 [ 15.353587][ C3] ? find_held_lock+0x2b/0x80 [ 15.353592][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.353595][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.353599][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.353602][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.353607][ C3] rcu_core+0x2bb/0x500 [ 15.353612][ C3] handle_softirqs+0x218/0x620 [ 15.353617][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.353620][ C3] irq_exit_rcu+0xe/0x30 [ 15.353623][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.353626][ C3] [ 15.353628][ C3] [ 15.353629][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.353632][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.353636][ 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 [ 15.353640][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.353643][ C3] RAX: 0000000000038fe9 RBX: 1ffff9200002afc1 RCX: ffffffffaf9905d9 [ 15.353645][ C3] RDX: 0000000000000000 RSI: ffffffffb048f4e4 RDI: ffffffffafc53be0 [ 15.353647][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.353648][ C3] R10: ffff8880361b37d3 R11: ffffffffb0611288 R12: 0000000000000000 [ 15.353650][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.353654][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.353659][ C3] default_idle+0x9/0x10 [ 15.353661][ C3] default_idle_call+0x6d/0xb0 [ 15.353664][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.353667][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.353671][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.353675][ C3] do_idle+0xf6/0x160 [ 15.353679][ C3] cpu_startup_entry+0x54/0x60 [ 15.353682][ C3] start_secondary+0x213/0x2a0 [ 15.353685][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.353689][ C3] common_startup_64+0x13e/0x148 [ 15.353697][ C3] [ 15.369734][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.370063][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 15.370389][ C3] preempt_count: 101, expected: 0 [ 15.370577][ C3] RCU nest depth: 0, expected: 0 [ 15.370775][ C3] INFO: lockdep is turned off. [ 15.370963][ C3] Preemption disabled at: [ 15.370965][ C3] [<0000000000000000>] 0x0 [ 15.371292][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.371297][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.371298][ C3] Call Trace: [ 15.371300][ C3] [ 15.371302][ C3] dump_stack_lvl+0xb0/0xd0 [ 15.371311][ C3] __might_resched+0x360/0x5a0 [ 15.371318][ C3] down_write+0x72/0x210 [ 15.371323][ C3] ? __pfx_down_write+0x10/0x10 [ 15.371326][ C3] ? simple_recursive_removal+0x33/0x610 [ 15.371330][ C3] ? rcu_is_watching+0x12/0xc0 [ 15.371337][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.371344][ C3] simple_recursive_removal+0x6a/0x610 [ 15.371347][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 15.371350][ C3] ? __pfx_remove_one+0x10/0x10 [ 15.371356][ C3] debugfs_remove+0x44/0x70 [ 15.371359][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 15.371365][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.371369][ C3] ? __sk_destruct+0x383/0x780 [ 15.371375][ C3] ? rcu_do_batch+0x34c/0xf20 [ 15.371378][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.371381][ C3] ? irq_exit_rcu+0xe/0x30 [ 15.371386][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.371391][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.371395][ C3] ? pv_native_safe_halt+0xf/0x20 [ 15.371399][ C3] ? default_idle+0x9/0x10 [ 15.371402][ C3] ? default_idle_call+0x6d/0xb0 [ 15.371404][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.371407][ C3] ? do_idle+0xf6/0x160 [ 15.371410][ C3] ? cpu_startup_entry+0x54/0x60 [ 15.371413][ C3] ? start_secondary+0x213/0x2a0 [ 15.371417][ C3] ? common_startup_64+0x13e/0x148 [ 15.371425][ C3] __put_net+0x19/0x60 [ 15.371429][ C3] __sk_destruct+0x58a/0x780 [ 15.371433][ C3] ? rcu_do_batch+0x34a/0xf20 [ 15.371435][ C3] rcu_do_batch+0x34c/0xf20 [ 15.371439][ C3] ? find_held_lock+0x2b/0x80 [ 15.371446][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.371449][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.371453][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.371456][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.371461][ C3] rcu_core+0x2bb/0x500 [ 15.371466][ C3] handle_softirqs+0x218/0x620 [ 15.371471][ C3] __irq_exit_rcu+0xfa/0x160 [ 15.371474][ C3] irq_exit_rcu+0xe/0x30 [ 15.371477][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.371481][ C3] [ 15.371482][ C3] [ 15.371484][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.371486][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.371491][ 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 [ 15.371493][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000242 [ 15.371496][ C3] RAX: 0000000000038fe9 RBX: 1ffff9200002afc1 RCX: ffffffffaf9905d9 [ 15.371498][ C3] RDX: 0000000000000000 RSI: ffffffffb048f4e4 RDI: ffffffffafc53be0 [ 15.371500][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 15.371501][ C3] R10: ffff8880361b37d3 R11: ffffffffb0611288 R12: 0000000000000000 [ 15.371503][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 15.371507][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.371511][ C3] default_idle+0x9/0x10 [ 15.371514][ C3] default_idle_call+0x6d/0xb0 [ 15.371517][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 15.371520][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.371523][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.371528][ C3] do_idle+0xf6/0x160 [ 15.371531][ C3] cpu_startup_entry+0x54/0x60 [ 15.371534][ C3] start_secondary+0x213/0x2a0 [ 15.371537][ C3] ? __pfx_start_secondary+0x10/0x10 [ 15.371541][ C3] common_startup_64+0x13e/0x148 [ 15.371548][ C3] [ 17.085825][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.086233][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.086572][ C2] preempt_count: 101, expected: 0 [ 17.086786][ C2] RCU nest depth: 0, expected: 0 [ 17.086987][ C2] INFO: lockdep is turned off. [ 17.087188][ C2] Preemption disabled at: [ 17.087190][ C2] [<0000000000000000>] 0x0 [ 17.087552][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.087558][ C2] Tainted: [W]=WARN [ 17.087560][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.087562][ C2] Call Trace: [ 17.087564][ C2] [ 17.087566][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.087578][ C2] __might_resched+0x360/0x5a0 [ 17.087587][ C2] down_write+0x72/0x210 [ 17.087592][ C2] ? __pfx_down_write+0x10/0x10 [ 17.087595][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.087602][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.087608][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.087615][ C2] simple_recursive_removal+0x6a/0x610 [ 17.087618][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.087621][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.087628][ C2] debugfs_remove+0x44/0x70 [ 17.087631][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.087639][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.087642][ C2] ? __sk_destruct+0x383/0x780 [ 17.087649][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.087653][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.087656][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.087663][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.087669][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.087674][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.087678][ C2] ? default_idle+0x9/0x10 [ 17.087680][ C2] ? default_idle_call+0x6d/0xb0 [ 17.087683][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.087688][ C2] ? do_idle+0xf6/0x160 [ 17.087690][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.087693][ C2] ? start_secondary+0x213/0x2a0 [ 17.087698][ C2] ? common_startup_64+0x13e/0x148 [ 17.087705][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.087709][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.087714][ C2] __put_net+0x19/0x60 [ 17.087719][ C2] __sk_destruct+0x58a/0x780 [ 17.087723][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.087729][ C2] rcu_do_batch+0x34c/0xf20 [ 17.087733][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.087737][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.087744][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.087752][ C2] rcu_core+0x2bb/0x500 [ 17.087757][ C2] handle_softirqs+0x218/0x620 [ 17.087762][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.087765][ C2] irq_exit_rcu+0xe/0x30 [ 17.087768][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.087771][ C2] [ 17.087773][ C2] [ 17.087774][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.087777][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.087782][ 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.087785][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.087789][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffffaf9905d9 [ 17.087791][ C2] RDX: ffffed1006c266fb RSI: ffffffffafc53b60 RDI: ffffffffad18d18f [ 17.087793][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 17.087795][ C2] R10: ffff8880361337d3 R11: ffffffffb334a7d8 R12: 0000000000000000 [ 17.087797][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.087801][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.087805][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.087809][ C2] default_idle+0x9/0x10 [ 17.087811][ C2] default_idle_call+0x6d/0xb0 [ 17.087814][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.087817][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.087821][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.087826][ C2] do_idle+0xf6/0x160 [ 17.087829][ C2] cpu_startup_entry+0x54/0x60 [ 17.087832][ C2] start_secondary+0x213/0x2a0 [ 17.087835][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.087839][ C2] common_startup_64+0x13e/0x148 [ 17.087847][ C2]