[ 16.470825][ C2] [ 16.470983][ C2] ================================ [ 16.471187][ C2] WARNING: inconsistent lock state [ 16.471385][ C2] 6.15.0-virtme #1 Not tainted [ 16.471587][ C2] -------------------------------- [ 16.471784][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.472035][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.472283][ C2] ffffffffae1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.472659][ C2] {SOFTIRQ-ON-W} state was registered at: [ 16.472865][ C2] __lock_acquire+0x20b/0x7e0 [ 16.473076][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.473287][ C2] _raw_spin_lock+0x33/0x40 [ 16.473496][ C2] simple_pin_fs+0x24/0x150 [ 16.473696][ C2] start_creating.part.0+0x52/0x310 [ 16.473901][ C2] debugfs_create_dir+0x6a/0x540 [ 16.474101][ C2] component_debug_init+0x17/0x30 [ 16.474307][ C2] do_one_initcall+0x8f/0x1e0 [ 16.474512][ C2] do_initcalls+0x176/0x280 [ 16.474716][ C2] kernel_init_freeable+0x22d/0x300 [ 16.474917][ C2] kernel_init+0x20/0x200 [ 16.475122][ C2] ret_from_fork+0x240/0x320 [ 16.475327][ C2] ret_from_fork_asm+0x1a/0x30 [ 16.475527][ C2] irq event stamp: 292002 [ 16.475684][ C2] hardirqs last enabled at (292002): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.476090][ C2] hardirqs last disabled at (292001): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.476496][ C2] softirqs last enabled at (289994): [] handle_softirqs+0x358/0x620 [ 16.476854][ C2] softirqs last disabled at (290001): [] __irq_exit_rcu+0xfa/0x160 [ 16.477208][ C2] [ 16.477208][ C2] other info that might help us debug this: [ 16.477506][ C2] Possible unsafe locking scenario: [ 16.477506][ C2] [ 16.477808][ C2] CPU0 [ 16.477961][ C2] ---- [ 16.478113][ C2] lock(pin_fs_lock); [ 16.478269][ C2] [ 16.478422][ C2] lock(pin_fs_lock); [ 16.478583][ C2] [ 16.478583][ C2] *** DEADLOCK *** [ 16.478583][ C2] [ 16.478879][ C2] 1 lock held by swapper/2/0: [ 16.479086][ C2] #0: ffffffffadf774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.479446][ C2] [ 16.479446][ C2] stack backtrace: [ 16.479696][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.479701][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.479703][ C2] Call Trace: [ 16.479705][ C2] [ 16.479708][ C2] dump_stack_lvl+0x82/0xd0 [ 16.479716][ C2] print_usage_bug.part.0+0x25f/0x360 [ 16.479720][ C2] mark_lock_irq+0x343/0x400 [ 16.479725][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.479731][ C2] ? save_trace+0x52/0x170 [ 16.479739][ C2] mark_lock+0x174/0x2f0 [ 16.479743][ C2] mark_usage+0x46/0x150 [ 16.479746][ C2] __lock_acquire+0x20b/0x7e0 [ 16.479749][ C2] ? __lock_acquire+0x44d/0x7e0 [ 16.479753][ C2] lock_acquire.part.0+0xb6/0x240 [ 16.479756][ C2] ? simple_pin_fs+0x24/0x150 [ 16.479761][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.479765][ C2] ? lock_acquire+0x10c/0x170 [ 16.479768][ C2] ? simple_pin_fs+0x24/0x150 [ 16.479773][ C2] _raw_spin_lock+0x33/0x40 [ 16.479776][ C2] ? simple_pin_fs+0x24/0x150 [ 16.479780][ C2] simple_pin_fs+0x24/0x150 [ 16.479784][ C2] debugfs_remove+0x35/0x70 [ 16.479787][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.479795][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.479798][ C2] ? __sk_destruct+0x383/0x780 [ 16.479805][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.479808][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.479811][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.479814][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.479819][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.479823][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.479827][ C2] ? default_idle+0x9/0x10 [ 16.479829][ C2] ? default_idle_call+0x6d/0xb0 [ 16.479832][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.479835][ C2] ? do_idle+0xf6/0x160 [ 16.479837][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.479840][ C2] ? start_secondary+0x213/0x2a0 [ 16.479843][ C2] ? common_startup_64+0x13e/0x148 [ 16.479852][ C2] __put_net+0x19/0x60 [ 16.479857][ C2] __sk_destruct+0x58a/0x780 [ 16.479861][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.479863][ C2] rcu_do_batch+0x34c/0xf20 [ 16.479867][ C2] ? find_held_lock+0x2b/0x80 [ 16.479871][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.479874][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.479878][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.479881][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.479886][ C2] rcu_core+0x2bb/0x500 [ 16.479891][ C2] handle_softirqs+0x218/0x620 [ 16.479896][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.479899][ C2] irq_exit_rcu+0xe/0x30 [ 16.479902][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.479906][ C2] [ 16.479907][ C2] [ 16.479908][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.479911][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.479916][ 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 [ 16.479919][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.479923][ C2] RAX: 0000000000046ccf RBX: 1ffff92000028fc1 RCX: ffffffffacf905d9 [ 16.479925][ C2] RDX: 0000000000000000 RSI: ffffffffada8f4e4 RDI: ffffffffad253be0 [ 16.479926][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.479928][ C2] R10: ffff8880361337d3 R11: ffffffffadc11288 R12: 0000000000000000 [ 16.479930][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.479934][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.479938][ C2] default_idle+0x9/0x10 [ 16.479941][ C2] default_idle_call+0x6d/0xb0 [ 16.479944][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.479947][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.479951][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.479955][ C2] do_idle+0xf6/0x160 [ 16.479958][ C2] cpu_startup_entry+0x54/0x60 [ 16.479961][ C2] start_secondary+0x213/0x2a0 [ 16.479964][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.479969][ C2] common_startup_64+0x13e/0x148 [ 16.479976][ C2] [ 16.496390][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.496748][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 16.497212][ C2] preempt_count: 101, expected: 0 [ 16.497417][ C2] RCU nest depth: 0, expected: 0 [ 16.497624][ C2] INFO: lockdep is turned off. [ 16.497828][ C2] Preemption disabled at: [ 16.497830][ C2] [<0000000000000000>] 0x0 [ 16.498206][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.498211][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.498213][ C2] Call Trace: [ 16.498215][ C2] [ 16.498218][ C2] dump_stack_lvl+0xb0/0xd0 [ 16.498227][ C2] __might_resched+0x360/0x5a0 [ 16.498235][ C2] down_write+0x72/0x210 [ 16.498240][ C2] ? __pfx_down_write+0x10/0x10 [ 16.498243][ C2] ? simple_recursive_removal+0x33/0x610 [ 16.498247][ C2] ? rcu_is_watching+0x12/0xc0 [ 16.498253][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.498260][ C2] simple_recursive_removal+0x6a/0x610 [ 16.498263][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 16.498267][ C2] ? __pfx_remove_one+0x10/0x10 [ 16.498273][ C2] debugfs_remove+0x44/0x70 [ 16.498276][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 16.498283][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.498286][ C2] ? __sk_destruct+0x383/0x780 [ 16.498293][ C2] ? rcu_do_batch+0x34c/0xf20 [ 16.498296][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.498299][ C2] ? irq_exit_rcu+0xe/0x30 [ 16.498305][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.498311][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.498315][ C2] ? pv_native_safe_halt+0xf/0x20 [ 16.498319][ C2] ? default_idle+0x9/0x10 [ 16.498322][ C2] ? default_idle_call+0x6d/0xb0 [ 16.498325][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.498328][ C2] ? do_idle+0xf6/0x160 [ 16.498331][ C2] ? cpu_startup_entry+0x54/0x60 [ 16.498333][ C2] ? start_secondary+0x213/0x2a0 [ 16.498337][ C2] ? common_startup_64+0x13e/0x148 [ 16.498345][ C2] __put_net+0x19/0x60 [ 16.498349][ C2] __sk_destruct+0x58a/0x780 [ 16.498353][ C2] ? rcu_do_batch+0x34a/0xf20 [ 16.498356][ C2] rcu_do_batch+0x34c/0xf20 [ 16.498359][ C2] ? find_held_lock+0x2b/0x80 [ 16.498366][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.498369][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.498374][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.498377][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.498382][ C2] rcu_core+0x2bb/0x500 [ 16.498387][ C2] handle_softirqs+0x218/0x620 [ 16.498392][ C2] __irq_exit_rcu+0xfa/0x160 [ 16.498395][ C2] irq_exit_rcu+0xe/0x30 [ 16.498398][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.498402][ C2] [ 16.498403][ C2] [ 16.498404][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.498407][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.498412][ 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 [ 16.498414][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 16.498418][ C2] RAX: 0000000000046ccf RBX: 1ffff92000028fc1 RCX: ffffffffacf905d9 [ 16.498420][ C2] RDX: 0000000000000000 RSI: ffffffffada8f4e4 RDI: ffffffffad253be0 [ 16.498422][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 16.498424][ C2] R10: ffff8880361337d3 R11: ffffffffadc11288 R12: 0000000000000000 [ 16.498426][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 16.498430][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.498434][ C2] default_idle+0x9/0x10 [ 16.498437][ C2] default_idle_call+0x6d/0xb0 [ 16.498440][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 16.498443][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.498446][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.498451][ C2] do_idle+0xf6/0x160 [ 16.498454][ C2] cpu_startup_entry+0x54/0x60 [ 16.498457][ C2] start_secondary+0x213/0x2a0 [ 16.498461][ C2] ? __pfx_start_secondary+0x10/0x10 [ 16.498465][ C2] common_startup_64+0x13e/0x148 [ 16.498472][ C2] [ 18.719114][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 18.719493][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 18.719816][ C3] preempt_count: 101, expected: 0 [ 18.720006][ C3] RCU nest depth: 0, expected: 0 [ 18.720193][ C3] INFO: lockdep is turned off. [ 18.720383][ C3] Preemption disabled at: [ 18.720385][ C3] [<0000000000000000>] 0x0 [ 18.720717][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 18.720723][ C3] Tainted: [W]=WARN [ 18.720725][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 18.720727][ C3] Call Trace: [ 18.720730][ C3] [ 18.720732][ C3] dump_stack_lvl+0xb0/0xd0 [ 18.720743][ C3] __might_resched+0x360/0x5a0 [ 18.720752][ C3] down_write+0x72/0x210 [ 18.720758][ C3] ? __pfx_down_write+0x10/0x10 [ 18.720761][ C3] ? simple_recursive_removal+0x33/0x610 [ 18.720766][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.720773][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.720781][ C3] simple_recursive_removal+0x6a/0x610 [ 18.720784][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 18.720787][ C3] ? __pfx_remove_one+0x10/0x10 [ 18.720794][ C3] debugfs_remove+0x44/0x70 [ 18.720797][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 18.720805][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 18.720809][ C3] ? __sk_destruct+0x383/0x780 [ 18.720816][ C3] ? rcu_do_batch+0x34c/0xf20 [ 18.720820][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 18.720823][ C3] ? irq_exit_rcu+0xe/0x30 [ 18.720829][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.720835][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.720841][ C3] ? pv_native_safe_halt+0xf/0x20 [ 18.720844][ C3] ? default_idle+0x9/0x10 [ 18.720847][ C3] ? default_idle_call+0x6d/0xb0 [ 18.720850][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.720854][ C3] ? do_idle+0xf6/0x160 [ 18.720856][ C3] ? cpu_startup_entry+0x54/0x60 [ 18.720859][ C3] ? start_secondary+0x213/0x2a0 [ 18.720864][ C3] ? common_startup_64+0x13e/0x148 [ 18.720870][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 18.720875][ C3] ? rcu_is_watching+0x12/0xc0 [ 18.720880][ C3] __put_net+0x19/0x60 [ 18.720884][ C3] __sk_destruct+0x58a/0x780 [ 18.720890][ C3] ? rcu_do_batch+0x34a/0xf20 [ 18.720893][ C3] rcu_do_batch+0x34c/0xf20 [ 18.720898][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 18.720901][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 18.720908][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 18.720915][ C3] rcu_core+0x2bb/0x500 [ 18.720920][ C3] handle_softirqs+0x218/0x620 [ 18.720925][ C3] __irq_exit_rcu+0xfa/0x160 [ 18.720928][ C3] irq_exit_rcu+0xe/0x30 [ 18.720931][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 18.720935][ C3] [ 18.720937][ C3] [ 18.720939][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 18.720942][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 18.720947][ 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 [ 18.720949][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 18.720954][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffffacf905d9 [ 18.720956][ C3] RDX: ffffed1006c366fb RSI: ffffffffad253b60 RDI: ffffffffaa78d18f [ 18.720958][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 18.720960][ C3] R10: ffff8880361b37d3 R11: ffffffffb0930a68 R12: 0000000000000000 [ 18.720962][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 18.720966][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 18.720969][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 18.720973][ C3] default_idle+0x9/0x10 [ 18.720976][ C3] default_idle_call+0x6d/0xb0 [ 18.720978][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 18.720981][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 18.720985][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 18.720990][ C3] do_idle+0xf6/0x160 [ 18.720993][ C3] cpu_startup_entry+0x54/0x60 [ 18.720996][ C3] start_secondary+0x213/0x2a0 [ 18.720999][ C3] ? __pfx_start_secondary+0x10/0x10 [ 18.721003][ C3] common_startup_64+0x13e/0x148 [ 18.721011][ C3]