[ 16.158313][ C3] [ 16.158458][ C3] ================================ [ 16.158658][ C3] WARNING: inconsistent lock state [ 16.158856][ C3] 6.15.0-virtme #1 Not tainted [ 16.159047][ C3] -------------------------------- [ 16.159235][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.159473][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.159710][ C3] ffffffff8ebc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.160046][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.160231][ C3] __lock_acquire+0x20b/0x7e0 [ 16.160428][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.160620][ C3] _raw_spin_lock+0x33/0x40 [ 16.160813][ C3] simple_pin_fs+0x24/0x150 [ 16.161001][ C3] start_creating.part.0+0x52/0x310 [ 16.161200][ C3] debugfs_create_dir+0x6a/0x540 [ 16.161390][ C3] component_debug_init+0x17/0x30 [ 16.161583][ C3] do_one_initcall+0x8f/0x1e0 [ 16.161774][ C3] do_initcalls+0x176/0x280 [ 16.161964][ C3] kernel_init_freeable+0x22d/0x300 [ 16.162161][ C3] kernel_init+0x20/0x200 [ 16.162349][ C3] ret_from_fork+0x240/0x320 [ 16.162542][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.162730][ C3] irq event stamp: 322810 [ 16.162883][ C3] hardirqs last enabled at (322810): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.163254][ C3] hardirqs last disabled at (322809): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.163652][ C3] softirqs last enabled at (321862): [] handle_softirqs+0x358/0x620 [ 16.163990][ C3] softirqs last disabled at (321869): [] __irq_exit_rcu+0xfa/0x160 [ 16.164334][ C3] [ 16.164334][ C3] other info that might help us debug this: [ 16.164628][ C3] Possible unsafe locking scenario: [ 16.164628][ C3] [ 16.164914][ C3] CPU0 [ 16.165054][ C3] ---- [ 16.165205][ C3] lock(pin_fs_lock); [ 16.165347][ C3] [ 16.165489][ C3] lock(pin_fs_lock); [ 16.165634][ C3] [ 16.165634][ C3] *** DEADLOCK *** [ 16.165634][ C3] [ 16.165915][ C3] 1 lock held by swapper/3/0: [ 16.166112][ C3] #0: ffffffff8e9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.166464][ C3] [ 16.166464][ C3] stack backtrace: [ 16.166710][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.166714][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.166716][ C3] Call Trace: [ 16.166718][ C3] [ 16.166720][ C3] dump_stack_lvl+0x82/0xd0 [ 16.166727][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.166731][ C3] mark_lock_irq+0x343/0x400 [ 16.166735][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.166740][ C3] ? save_trace+0x52/0x170 [ 16.166746][ C3] mark_lock+0x174/0x2f0 [ 16.166750][ C3] mark_usage+0x46/0x150 [ 16.166753][ C3] __lock_acquire+0x20b/0x7e0 [ 16.166756][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.166760][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.166763][ C3] ? simple_pin_fs+0x24/0x150 [ 16.166767][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.166771][ C3] ? lock_acquire+0x10c/0x170 [ 16.166774][ C3] ? simple_pin_fs+0x24/0x150 [ 16.166778][ C3] _raw_spin_lock+0x33/0x40 [ 16.166782][ C3] ? simple_pin_fs+0x24/0x150 [ 16.166785][ C3] simple_pin_fs+0x24/0x150 [ 16.166789][ C3] debugfs_remove+0x35/0x70 [ 16.166792][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.166798][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.166801][ C3] ? __sk_destruct+0x383/0x780 [ 16.166807][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.166810][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.166813][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.166816][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.166821][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.166824][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.166828][ C3] ? default_idle+0x9/0x10 [ 16.166830][ C3] ? default_idle_call+0x6d/0xb0 [ 16.166833][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.166836][ C3] ? do_idle+0xf6/0x160 [ 16.166838][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.166841][ C3] ? start_secondary+0x213/0x2a0 [ 16.166844][ C3] ? common_startup_64+0x13e/0x148 [ 16.166852][ C3] __put_net+0x19/0x60 [ 16.166856][ C3] __sk_destruct+0x58a/0x780 [ 16.166860][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.166863][ C3] rcu_do_batch+0x34c/0xf20 [ 16.166866][ C3] ? find_held_lock+0x2b/0x80 [ 16.166870][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.166873][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.166877][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.166880][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.166885][ C3] rcu_core+0x2bb/0x500 [ 16.166889][ C3] handle_softirqs+0x218/0x620 [ 16.166894][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.166897][ C3] irq_exit_rcu+0xe/0x30 [ 16.166900][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.166904][ C3] [ 16.166905][ C3] [ 16.166906][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.166909][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.166913][ 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 [ 16.166916][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.166919][ C3] RAX: 000000000004e94b RBX: 1ffff9200002afc1 RCX: ffffffff8d9905d9 [ 16.166921][ C3] RDX: 0000000000000000 RSI: ffffffff8e48f4e4 RDI: ffffffff8dc53be0 [ 16.166923][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.166925][ C3] R10: ffff8880361b37d3 R11: ffffffff8e611288 R12: 0000000000000000 [ 16.166926][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.166930][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.166935][ C3] default_idle+0x9/0x10 [ 16.166938][ C3] default_idle_call+0x6d/0xb0 [ 16.166940][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.166943][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.166947][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.166951][ C3] do_idle+0xf6/0x160 [ 16.166955][ C3] cpu_startup_entry+0x54/0x60 [ 16.166958][ C3] start_secondary+0x213/0x2a0 [ 16.166961][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.166965][ C3] common_startup_64+0x13e/0x148 [ 16.166972][ C3] [ 16.183516][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.183927][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.184229][ C3] preempt_count: 101, expected: 0 [ 16.184402][ C3] RCU nest depth: 0, expected: 0 [ 16.184696][ C3] INFO: lockdep is turned off. [ 16.184866][ C3] Preemption disabled at: [ 16.184868][ C3] [<0000000000000000>] 0x0 [ 16.185171][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.185175][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.185176][ C3] Call Trace: [ 16.185178][ C3] [ 16.185180][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.185187][ C3] __might_resched+0x360/0x5a0 [ 16.185194][ C3] down_write+0x72/0x210 [ 16.185198][ C3] ? __pfx_down_write+0x10/0x10 [ 16.185201][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.185204][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.185209][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.185215][ C3] simple_recursive_removal+0x6a/0x610 [ 16.185217][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.185220][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.185226][ C3] debugfs_remove+0x44/0x70 [ 16.185229][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.185234][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.185237][ C3] ? __sk_destruct+0x383/0x780 [ 16.185242][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.185245][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.185248][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.185251][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.185256][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.185259][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.185262][ C3] ? default_idle+0x9/0x10 [ 16.185265][ C3] ? default_idle_call+0x6d/0xb0 [ 16.185268][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.185270][ C3] ? do_idle+0xf6/0x160 [ 16.185273][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.185275][ C3] ? start_secondary+0x213/0x2a0 [ 16.185278][ C3] ? common_startup_64+0x13e/0x148 [ 16.185285][ C3] __put_net+0x19/0x60 [ 16.185289][ C3] __sk_destruct+0x58a/0x780 [ 16.185293][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.185295][ C3] rcu_do_batch+0x34c/0xf20 [ 16.185299][ C3] ? find_held_lock+0x2b/0x80 [ 16.185304][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.185307][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.185311][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.185314][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.185319][ C3] rcu_core+0x2bb/0x500 [ 16.185323][ C3] handle_softirqs+0x218/0x620 [ 16.185329][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.185331][ C3] irq_exit_rcu+0xe/0x30 [ 16.185334][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.185338][ C3] [ 16.185339][ C3] [ 16.185340][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.185343][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.185347][ 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 [ 16.185350][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.185353][ C3] RAX: 000000000004e94b RBX: 1ffff9200002afc1 RCX: ffffffff8d9905d9 [ 16.185355][ C3] RDX: 0000000000000000 RSI: ffffffff8e48f4e4 RDI: ffffffff8dc53be0 [ 16.185356][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.185358][ C3] R10: ffff8880361b37d3 R11: ffffffff8e611288 R12: 0000000000000000 [ 16.185359][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.185363][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.185368][ C3] default_idle+0x9/0x10 [ 16.185370][ C3] default_idle_call+0x6d/0xb0 [ 16.185373][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.185376][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.185380][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.185384][ C3] do_idle+0xf6/0x160 [ 16.185387][ C3] cpu_startup_entry+0x54/0x60 [ 16.185390][ C3] start_secondary+0x213/0x2a0 [ 16.185393][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.185397][ C3] common_startup_64+0x13e/0x148 [ 16.185404][ C3] [ 18.565465][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.565870][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 18.566218][ C2] preempt_count: 101, expected: 0 [ 18.566427][ C2] RCU nest depth: 0, expected: 0 [ 18.566637][ C2] INFO: lockdep is turned off. [ 18.566838][ C2] Preemption disabled at: [ 18.566840][ C2] [<0000000000000000>] 0x0 [ 18.567203][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.567208][ C2] Tainted: [W]=WARN [ 18.567210][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.567212][ C2] Call Trace: [ 18.567214][ C2] [ 18.567216][ C2] dump_stack_lvl+0xb0/0xd0 [ 18.567224][ C2] __might_resched+0x360/0x5a0 [ 18.567231][ C2] down_write+0x72/0x210 [ 18.567236][ C2] ? __pfx_down_write+0x10/0x10 [ 18.567239][ C2] ? simple_recursive_removal+0x33/0x610 [ 18.567243][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.567248][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.567254][ C2] simple_recursive_removal+0x6a/0x610 [ 18.567257][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 18.567260][ C2] ? __pfx_remove_one+0x10/0x10 [ 18.567266][ C2] debugfs_remove+0x44/0x70 [ 18.567269][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 18.567281][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.567285][ C2] ? __sk_destruct+0x383/0x780 [ 18.567290][ C2] ? rcu_do_batch+0x34c/0xf20 [ 18.567293][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.567297][ C2] ? irq_exit_rcu+0xe/0x30 [ 18.567301][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.567306][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.567310][ C2] ? pv_native_safe_halt+0xf/0x20 [ 18.567313][ C2] ? default_idle+0x9/0x10 [ 18.567316][ C2] ? default_idle_call+0x6d/0xb0 [ 18.567319][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.567322][ C2] ? do_idle+0xf6/0x160 [ 18.567325][ C2] ? cpu_startup_entry+0x54/0x60 [ 18.567327][ C2] ? start_secondary+0x213/0x2a0 [ 18.567331][ C2] ? common_startup_64+0x13e/0x148 [ 18.567336][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.567340][ C2] ? rcu_is_watching+0x12/0xc0 [ 18.567345][ C2] __put_net+0x19/0x60 [ 18.567348][ C2] __sk_destruct+0x58a/0x780 [ 18.567352][ C2] ? rcu_do_batch+0x34a/0xf20 [ 18.567355][ C2] rcu_do_batch+0x34c/0xf20 [ 18.567359][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.567363][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.567368][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.567374][ C2] rcu_core+0x2bb/0x500 [ 18.567379][ C2] handle_softirqs+0x218/0x620 [ 18.567384][ C2] __irq_exit_rcu+0xfa/0x160 [ 18.567387][ C2] irq_exit_rcu+0xe/0x30 [ 18.567390][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.567393][ C2] [ 18.567395][ C2] [ 18.567396][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.567399][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.567404][ 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 [ 18.567406][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 18.567410][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff8d9905d9 [ 18.567412][ C2] RDX: ffffed1006c266fb RSI: ffffffff8dc53b60 RDI: ffffffff8b18d18f [ 18.567414][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 18.567416][ C2] R10: ffff8880361337d3 R11: ffffffff912d1410 R12: 0000000000000000 [ 18.567417][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 18.567421][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.567424][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.567430][ C2] default_idle+0x9/0x10 [ 18.567432][ C2] default_idle_call+0x6d/0xb0 [ 18.567435][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 18.567438][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.567442][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.567446][ C2] do_idle+0xf6/0x160 [ 18.567449][ C2] cpu_startup_entry+0x54/0x60 [ 18.567452][ C2] start_secondary+0x213/0x2a0 [ 18.567455][ C2] ? __pfx_start_secondary+0x10/0x10 [ 18.567460][ C2] common_startup_64+0x13e/0x148 [ 18.567467][ C2]