[ 20.294976][ C2] [ 20.295264][ C2] ================================ [ 20.295507][ C2] WARNING: inconsistent lock state [ 20.295711][ C2] 6.15.0-virtme #1 Not tainted [ 20.295925][ C2] -------------------------------- [ 20.296131][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 20.296385][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 20.296639][ C2] ffffffffa93c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 20.297002][ C2] {SOFTIRQ-ON-W} state was registered at: [ 20.297210][ C2] __lock_acquire+0x20b/0x7e0 [ 20.297423][ C2] lock_acquire.part.0+0xb6/0x240 [ 20.297632][ C2] _raw_spin_lock+0x33/0x40 [ 20.297841][ C2] simple_pin_fs+0x24/0x150 [ 20.298045][ C2] start_creating.part.0+0x52/0x310 [ 20.298252][ C2] debugfs_create_dir+0x6a/0x540 [ 20.298459][ C2] component_debug_init+0x17/0x30 [ 20.298667][ C2] do_one_initcall+0x8f/0x1e0 [ 20.298880][ C2] do_initcalls+0x176/0x280 [ 20.299089][ C2] kernel_init_freeable+0x22d/0x300 [ 20.299305][ C2] kernel_init+0x20/0x200 [ 20.299513][ C2] ret_from_fork+0x240/0x320 [ 20.299725][ C2] ret_from_fork_asm+0x1a/0x30 [ 20.299937][ C2] irq event stamp: 279302 [ 20.300096][ C2] hardirqs last enabled at (279302): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.300505][ C2] hardirqs last disabled at (279301): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 20.300919][ C2] softirqs last enabled at (277208): [] handle_softirqs+0x358/0x620 [ 20.301283][ C2] softirqs last disabled at (277233): [] __irq_exit_rcu+0xfa/0x160 [ 20.301644][ C2] [ 20.301644][ C2] other info that might help us debug this: [ 20.301953][ C2] Possible unsafe locking scenario: [ 20.301953][ C2] [ 20.302257][ C2] CPU0 [ 20.302413][ C2] ---- [ 20.302570][ C2] lock(pin_fs_lock); [ 20.302729][ C2] [ 20.302883][ C2] lock(pin_fs_lock); [ 20.303036][ C2] [ 20.303036][ C2] *** DEADLOCK *** [ 20.303036][ C2] [ 20.303340][ C2] 1 lock held by swapper/2/0: [ 20.303551][ C2] #0: ffffffffa91774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 20.303924][ C2] [ 20.303924][ C2] stack backtrace: [ 20.304184][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 20.304189][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.304192][ C2] Call Trace: [ 20.304194][ C2] [ 20.304197][ C2] dump_stack_lvl+0x82/0xd0 [ 20.304205][ C2] print_usage_bug.part.0+0x25f/0x360 [ 20.304210][ C2] mark_lock_irq+0x343/0x400 [ 20.304215][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 20.304220][ C2] ? save_trace+0x52/0x170 [ 20.304228][ C2] mark_lock+0x174/0x2f0 [ 20.304232][ C2] mark_usage+0x46/0x150 [ 20.304235][ C2] __lock_acquire+0x20b/0x7e0 [ 20.304239][ C2] ? __lock_acquire+0x44d/0x7e0 [ 20.304243][ C2] lock_acquire.part.0+0xb6/0x240 [ 20.304246][ C2] ? simple_pin_fs+0x24/0x150 [ 20.304251][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.304255][ C2] ? lock_acquire+0x10c/0x170 [ 20.304258][ C2] ? simple_pin_fs+0x24/0x150 [ 20.304263][ C2] _raw_spin_lock+0x33/0x40 [ 20.304266][ C2] ? simple_pin_fs+0x24/0x150 [ 20.304269][ C2] simple_pin_fs+0x24/0x150 [ 20.304273][ C2] debugfs_remove+0x35/0x70 [ 20.304277][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.304284][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.304288][ C2] ? __sk_destruct+0x383/0x780 [ 20.304295][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.304298][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.304302][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.304304][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.304309][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.304313][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.304316][ C2] ? default_idle+0x9/0x10 [ 20.304319][ C2] ? default_idle_call+0x6d/0xb0 [ 20.304321][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.304325][ C2] ? do_idle+0xf6/0x160 [ 20.304327][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.304330][ C2] ? start_secondary+0x213/0x2a0 [ 20.304334][ C2] ? common_startup_64+0x13e/0x148 [ 20.304343][ C2] __put_net+0x19/0x60 [ 20.304348][ C2] __sk_destruct+0x58a/0x780 [ 20.304352][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.304354][ C2] rcu_do_batch+0x34c/0xf20 [ 20.304358][ C2] ? find_held_lock+0x2b/0x80 [ 20.304362][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.304365][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.304369][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 20.304371][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.304376][ C2] rcu_core+0x2bb/0x500 [ 20.304382][ C2] handle_softirqs+0x218/0x620 [ 20.304387][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.304391][ C2] irq_exit_rcu+0xe/0x30 [ 20.304393][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.304397][ C2] [ 20.304398][ C2] [ 20.304400][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.304403][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.304408][ 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 [ 20.304410][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 20.304414][ C2] RAX: 0000000000043aef RBX: 1ffff92000028fc1 RCX: ffffffffa81905d9 [ 20.304416][ C2] RDX: 0000000000000000 RSI: ffffffffa8c8f4e4 RDI: ffffffffa8453be0 [ 20.304418][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 20.304420][ C2] R10: ffff8880361337d3 R11: ffffffffa8e11288 R12: 0000000000000000 [ 20.304421][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 20.304425][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.304430][ C2] default_idle+0x9/0x10 [ 20.304432][ C2] default_idle_call+0x6d/0xb0 [ 20.304435][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.304438][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.304442][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.304446][ C2] do_idle+0xf6/0x160 [ 20.304450][ C2] cpu_startup_entry+0x54/0x60 [ 20.304453][ C2] start_secondary+0x213/0x2a0 [ 20.304456][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.304460][ C2] common_startup_64+0x13e/0x148 [ 20.304467][ C2] [ 20.321787][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 20.322263][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 20.322612][ C2] preempt_count: 101, expected: 0 [ 20.322947][ C2] RCU nest depth: 0, expected: 0 [ 20.323266][ C2] INFO: lockdep is turned off. [ 20.323476][ C2] Preemption disabled at: [ 20.323478][ C2] [<0000000000000000>] 0x0 [ 20.323852][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 20.323857][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 20.323859][ C2] Call Trace: [ 20.323861][ C2] [ 20.323863][ C2] dump_stack_lvl+0xb0/0xd0 [ 20.323874][ C2] __might_resched+0x360/0x5a0 [ 20.323882][ C2] down_write+0x72/0x210 [ 20.323887][ C2] ? __pfx_down_write+0x10/0x10 [ 20.323890][ C2] ? simple_recursive_removal+0x33/0x610 [ 20.323897][ C2] ? rcu_is_watching+0x12/0xc0 [ 20.323903][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.323911][ C2] simple_recursive_removal+0x6a/0x610 [ 20.323913][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 20.323917][ C2] ? __pfx_remove_one+0x10/0x10 [ 20.323923][ C2] debugfs_remove+0x44/0x70 [ 20.323926][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 20.323934][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 20.323938][ C2] ? __sk_destruct+0x383/0x780 [ 20.323944][ C2] ? rcu_do_batch+0x34c/0xf20 [ 20.323948][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 20.323952][ C2] ? irq_exit_rcu+0xe/0x30 [ 20.323957][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.323964][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.323968][ C2] ? pv_native_safe_halt+0xf/0x20 [ 20.323971][ C2] ? default_idle+0x9/0x10 [ 20.323974][ C2] ? default_idle_call+0x6d/0xb0 [ 20.323977][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 20.323981][ C2] ? do_idle+0xf6/0x160 [ 20.323983][ C2] ? cpu_startup_entry+0x54/0x60 [ 20.323986][ C2] ? start_secondary+0x213/0x2a0 [ 20.323990][ C2] ? common_startup_64+0x13e/0x148 [ 20.323998][ C2] __put_net+0x19/0x60 [ 20.324002][ C2] __sk_destruct+0x58a/0x780 [ 20.324007][ C2] ? rcu_do_batch+0x34a/0xf20 [ 20.324009][ C2] rcu_do_batch+0x34c/0xf20 [ 20.324013][ C2] ? find_held_lock+0x2b/0x80 [ 20.324019][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 20.324022][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 20.324027][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 20.324030][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 20.324035][ C2] rcu_core+0x2bb/0x500 [ 20.324040][ C2] handle_softirqs+0x218/0x620 [ 20.324046][ C2] __irq_exit_rcu+0xfa/0x160 [ 20.324049][ C2] irq_exit_rcu+0xe/0x30 [ 20.324051][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 20.324055][ C2] [ 20.324056][ C2] [ 20.324058][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 20.324061][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 20.324066][ 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 [ 20.324069][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 20.324074][ C2] RAX: 0000000000043aef RBX: 1ffff92000028fc1 RCX: ffffffffa81905d9 [ 20.324077][ C2] RDX: 0000000000000000 RSI: ffffffffa8c8f4e4 RDI: ffffffffa8453be0 [ 20.324079][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 20.324081][ C2] R10: ffff8880361337d3 R11: ffffffffa8e11288 R12: 0000000000000000 [ 20.324083][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 20.324089][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 20.324095][ C2] default_idle+0x9/0x10 [ 20.324099][ C2] default_idle_call+0x6d/0xb0 [ 20.324103][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 20.324107][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 20.324112][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 20.324119][ C2] do_idle+0xf6/0x160 [ 20.324125][ C2] cpu_startup_entry+0x54/0x60 [ 20.324128][ C2] start_secondary+0x213/0x2a0 [ 20.324131][ C2] ? __pfx_start_secondary+0x10/0x10 [ 20.324136][ C2] common_startup_64+0x13e/0x148 [ 20.324144][ C2] [ 26.212542][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 26.212916][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 26.213257][ C3] preempt_count: 101, expected: 0 [ 26.213454][ C3] RCU nest depth: 0, expected: 0 [ 26.213642][ C3] INFO: lockdep is turned off. [ 26.213830][ C3] Preemption disabled at: [ 26.213832][ C3] [<0000000000000000>] 0x0 [ 26.214186][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 26.214192][ C3] Tainted: [W]=WARN [ 26.214193][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 26.214195][ C3] Call Trace: [ 26.214197][ C3] [ 26.214199][ C3] dump_stack_lvl+0xb0/0xd0 [ 26.214212][ C3] __might_resched+0x360/0x5a0 [ 26.214223][ C3] down_write+0x72/0x210 [ 26.214229][ C3] ? __pfx_down_write+0x10/0x10 [ 26.214231][ C3] ? simple_recursive_removal+0x33/0x610 [ 26.214237][ C3] ? rcu_is_watching+0x12/0xc0 [ 26.214245][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 26.214252][ C3] simple_recursive_removal+0x6a/0x610 [ 26.214257][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 26.214262][ C3] ? __pfx_remove_one+0x10/0x10 [ 26.214272][ C3] debugfs_remove+0x44/0x70 [ 26.214277][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 26.214287][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 26.214290][ C3] ? __sk_destruct+0x383/0x780 [ 26.214299][ C3] ? rcu_do_batch+0x34c/0xf20 [ 26.214303][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 26.214306][ C3] ? irq_exit_rcu+0xe/0x30 [ 26.214313][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 26.214320][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.214325][ C3] ? pv_native_safe_halt+0xf/0x20 [ 26.214328][ C3] ? default_idle+0x9/0x10 [ 26.214331][ C3] ? default_idle_call+0x6d/0xb0 [ 26.214334][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 26.214338][ C3] ? do_idle+0xf6/0x160 [ 26.214341][ C3] ? cpu_startup_entry+0x54/0x60 [ 26.214343][ C3] ? start_secondary+0x213/0x2a0 [ 26.214348][ C3] ? common_startup_64+0x13e/0x148 [ 26.214356][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 26.214360][ C3] ? rcu_is_watching+0x12/0xc0 [ 26.214364][ C3] __put_net+0x19/0x60 [ 26.214369][ C3] __sk_destruct+0x58a/0x780 [ 26.214373][ C3] ? rcu_do_batch+0x34a/0xf20 [ 26.214376][ C3] rcu_do_batch+0x34c/0xf20 [ 26.214380][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 26.214384][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 26.214390][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 26.214396][ C3] rcu_core+0x2bb/0x500 [ 26.214402][ C3] handle_softirqs+0x218/0x620 [ 26.214408][ C3] __irq_exit_rcu+0xfa/0x160 [ 26.214411][ C3] irq_exit_rcu+0xe/0x30 [ 26.214413][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 26.214417][ C3] [ 26.214418][ C3] [ 26.214420][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 26.214423][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 26.214427][ 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 [ 26.214431][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 26.214435][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffa81905d9 [ 26.214437][ C3] RDX: ffffed1006c366fb RSI: ffffffffa8453b60 RDI: ffffffffa598d18f [ 26.214439][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 26.214441][ C3] R10: ffff8880361b37d3 R11: ffff888001ef8558 R12: 0000000000000000 [ 26.214443][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 26.214447][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 26.214450][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 26.214454][ C3] default_idle+0x9/0x10 [ 26.214456][ C3] default_idle_call+0x6d/0xb0 [ 26.214459][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 26.214462][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 26.214466][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 26.214471][ C3] do_idle+0xf6/0x160 [ 26.214474][ C3] cpu_startup_entry+0x54/0x60 [ 26.214477][ C3] start_secondary+0x213/0x2a0 [ 26.214480][ C3] ? __pfx_start_secondary+0x10/0x10 [ 26.214484][ C3] common_startup_64+0x13e/0x148 [ 26.214491][ C3]