[ 16.133485][ C3] [ 16.133642][ C3] ================================ [ 16.133858][ C3] WARNING: inconsistent lock state [ 16.134063][ C3] 6.15.0-virtme #1 Not tainted [ 16.134271][ C3] -------------------------------- [ 16.134474][ C3] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 16.134715][ C3] swapper/3/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 16.134949][ C3] ffffffff9ebc5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 16.135288][ C3] {SOFTIRQ-ON-W} state was registered at: [ 16.135478][ C3] __lock_acquire+0x20b/0x7e0 [ 16.135677][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.135870][ C3] _raw_spin_lock+0x33/0x40 [ 16.136080][ C3] simple_pin_fs+0x24/0x150 [ 16.136272][ C3] start_creating.part.0+0x52/0x310 [ 16.136461][ C3] debugfs_create_dir+0x6a/0x540 [ 16.136653][ C3] component_debug_init+0x17/0x30 [ 16.136845][ C3] do_one_initcall+0x8f/0x1e0 [ 16.137035][ C3] do_initcalls+0x176/0x280 [ 16.137230][ C3] kernel_init_freeable+0x22d/0x300 [ 16.137417][ C3] kernel_init+0x20/0x200 [ 16.137606][ C3] ret_from_fork+0x240/0x320 [ 16.137812][ C3] ret_from_fork_asm+0x1a/0x30 [ 16.138004][ C3] irq event stamp: 277658 [ 16.138150][ C3] hardirqs last enabled at (277658): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.138539][ C3] hardirqs last disabled at (277657): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 16.138918][ C3] softirqs last enabled at (276902): [] handle_softirqs+0x358/0x620 [ 16.139254][ C3] softirqs last disabled at (276945): [] __irq_exit_rcu+0xfa/0x160 [ 16.139582][ C3] [ 16.139582][ C3] other info that might help us debug this: [ 16.139857][ C3] Possible unsafe locking scenario: [ 16.139857][ C3] [ 16.140137][ C3] CPU0 [ 16.140279][ C3] ---- [ 16.140418][ C3] lock(pin_fs_lock); [ 16.140565][ C3] [ 16.140710][ C3] lock(pin_fs_lock); [ 16.140858][ C3] [ 16.140858][ C3] *** DEADLOCK *** [ 16.140858][ C3] [ 16.141139][ C3] 1 lock held by swapper/3/0: [ 16.141333][ C3] #0: ffffffff9e9774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 16.141684][ C3] [ 16.141684][ C3] stack backtrace: [ 16.141921][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.141925][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.141927][ C3] Call Trace: [ 16.141929][ C3] [ 16.141932][ C3] dump_stack_lvl+0x82/0xd0 [ 16.141938][ C3] print_usage_bug.part.0+0x25f/0x360 [ 16.141943][ C3] mark_lock_irq+0x343/0x400 [ 16.141948][ C3] ? __pfx_unwind_next_frame+0x10/0x10 [ 16.141953][ C3] ? save_trace+0x52/0x170 [ 16.141959][ C3] mark_lock+0x174/0x2f0 [ 16.141962][ C3] mark_usage+0x46/0x150 [ 16.141965][ C3] __lock_acquire+0x20b/0x7e0 [ 16.141969][ C3] ? __lock_acquire+0x44d/0x7e0 [ 16.141973][ C3] lock_acquire.part.0+0xb6/0x240 [ 16.141976][ C3] ? simple_pin_fs+0x24/0x150 [ 16.141980][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.141984][ C3] ? lock_acquire+0x10c/0x170 [ 16.141987][ C3] ? simple_pin_fs+0x24/0x150 [ 16.141991][ C3] _raw_spin_lock+0x33/0x40 [ 16.141995][ C3] ? simple_pin_fs+0x24/0x150 [ 16.141998][ C3] simple_pin_fs+0x24/0x150 [ 16.142002][ C3] debugfs_remove+0x35/0x70 [ 16.142005][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.142011][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.142014][ C3] ? __sk_destruct+0x383/0x780 [ 16.142021][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.142024][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.142027][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.142030][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.142035][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.142038][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.142041][ C3] ? default_idle+0x9/0x10 [ 16.142044][ C3] ? default_idle_call+0x6d/0xb0 [ 16.142046][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.142050][ C3] ? do_idle+0xf6/0x160 [ 16.142052][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.142054][ C3] ? start_secondary+0x213/0x2a0 [ 16.142058][ C3] ? common_startup_64+0x13e/0x148 [ 16.142065][ C3] __put_net+0x19/0x60 [ 16.142069][ C3] __sk_destruct+0x58a/0x780 [ 16.142073][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.142075][ C3] rcu_do_batch+0x34c/0xf20 [ 16.142079][ C3] ? find_held_lock+0x2b/0x80 [ 16.142083][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.142086][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.142090][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.142093][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.142098][ C3] rcu_core+0x2bb/0x500 [ 16.142102][ C3] handle_softirqs+0x218/0x620 [ 16.142108][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.142111][ C3] irq_exit_rcu+0xe/0x30 [ 16.142114][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.142117][ C3] [ 16.142118][ C3] [ 16.142120][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.142123][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.142128][ 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.142130][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.142134][ C3] RAX: 00000000000439cf RBX: 1ffff9200002afc1 RCX: ffffffff9d9905d9 [ 16.142136][ C3] RDX: 0000000000000000 RSI: ffffffff9e48f4e4 RDI: ffffffff9dc53be0 [ 16.142138][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.142139][ C3] R10: ffff8880361b37d3 R11: ffffffff9e611288 R12: 0000000000000000 [ 16.142141][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.142145][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.142149][ C3] default_idle+0x9/0x10 [ 16.142152][ C3] default_idle_call+0x6d/0xb0 [ 16.142154][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.142158][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.142161][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.142166][ C3] do_idle+0xf6/0x160 [ 16.142169][ C3] cpu_startup_entry+0x54/0x60 [ 16.142172][ C3] start_secondary+0x213/0x2a0 [ 16.142175][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.142179][ C3] common_startup_64+0x13e/0x148 [ 16.142186][ C3] [ 16.158085][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.158444][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.158788][ C3] preempt_count: 101, expected: 0 [ 16.158981][ C3] RCU nest depth: 0, expected: 0 [ 16.159294][ C3] INFO: lockdep is turned off. [ 16.159487][ C3] Preemption disabled at: [ 16.159489][ C3] [<0000000000000000>] 0x0 [ 16.159832][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 16.159839][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.159842][ C3] Call Trace: [ 16.159845][ C3] [ 16.159848][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.159858][ C3] __might_resched+0x360/0x5a0 [ 16.159864][ C3] down_write+0x72/0x210 [ 16.159869][ C3] ? __pfx_down_write+0x10/0x10 [ 16.159872][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.159875][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.159880][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.159886][ C3] simple_recursive_removal+0x6a/0x610 [ 16.159889][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.159892][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.159897][ C3] debugfs_remove+0x44/0x70 [ 16.159900][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.159906][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.159910][ C3] ? __sk_destruct+0x383/0x780 [ 16.159915][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.159919][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.159922][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.159926][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.159931][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.159936][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.159939][ C3] ? default_idle+0x9/0x10 [ 16.159942][ C3] ? default_idle_call+0x6d/0xb0 [ 16.159944][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.159947][ C3] ? do_idle+0xf6/0x160 [ 16.159950][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.159952][ C3] ? start_secondary+0x213/0x2a0 [ 16.159955][ C3] ? common_startup_64+0x13e/0x148 [ 16.159962][ C3] __put_net+0x19/0x60 [ 16.159967][ C3] __sk_destruct+0x58a/0x780 [ 16.159971][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.159973][ C3] rcu_do_batch+0x34c/0xf20 [ 16.159976][ C3] ? find_held_lock+0x2b/0x80 [ 16.159982][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.159985][ C3] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 16.159990][ C3] ? lockdep_hardirqs_on+0x7c/0x110 [ 16.159992][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.159997][ C3] rcu_core+0x2bb/0x500 [ 16.160004][ C3] handle_softirqs+0x218/0x620 [ 16.160013][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.160018][ C3] irq_exit_rcu+0xe/0x30 [ 16.160023][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.160027][ C3] [ 16.160028][ C3] [ 16.160030][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.160032][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.160036][ 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.160039][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.160042][ C3] RAX: 00000000000439cf RBX: 1ffff9200002afc1 RCX: ffffffff9d9905d9 [ 16.160044][ C3] RDX: 0000000000000000 RSI: ffffffff9e48f4e4 RDI: ffffffff9dc53be0 [ 16.160046][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c366fa [ 16.160048][ C3] R10: ffff8880361b37d3 R11: ffffffff9e611288 R12: 0000000000000000 [ 16.160049][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.160053][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.160058][ C3] default_idle+0x9/0x10 [ 16.160061][ C3] default_idle_call+0x6d/0xb0 [ 16.160063][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.160067][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.160070][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.160075][ C3] do_idle+0xf6/0x160 [ 16.160078][ C3] cpu_startup_entry+0x54/0x60 [ 16.160081][ C3] start_secondary+0x213/0x2a0 [ 16.160084][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.160088][ C3] common_startup_64+0x13e/0x148 [ 16.160095][ C3] [ 17.960056][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 17.960451][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 17.960805][ C2] preempt_count: 101, expected: 0 [ 17.961009][ C2] RCU nest depth: 0, expected: 0 [ 17.961201][ C2] INFO: lockdep is turned off. [ 17.961395][ C2] Preemption disabled at: [ 17.961397][ C2] [<0000000000000000>] 0x0 [ 17.961780][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 17.961786][ C2] Tainted: [W]=WARN [ 17.961787][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 17.961790][ C2] Call Trace: [ 17.961792][ C2] [ 17.961794][ C2] dump_stack_lvl+0xb0/0xd0 [ 17.961802][ C2] __might_resched+0x360/0x5a0 [ 17.961810][ C2] down_write+0x72/0x210 [ 17.961814][ C2] ? __pfx_down_write+0x10/0x10 [ 17.961817][ C2] ? simple_recursive_removal+0x33/0x610 [ 17.961822][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.961827][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.961833][ C2] simple_recursive_removal+0x6a/0x610 [ 17.961836][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 17.961839][ C2] ? __pfx_remove_one+0x10/0x10 [ 17.961844][ C2] debugfs_remove+0x44/0x70 [ 17.961847][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 17.961853][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 17.961857][ C2] ? __sk_destruct+0x383/0x780 [ 17.961863][ C2] ? rcu_do_batch+0x34c/0xf20 [ 17.961866][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 17.961869][ C2] ? irq_exit_rcu+0xe/0x30 [ 17.961874][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.961879][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.961883][ C2] ? pv_native_safe_halt+0xf/0x20 [ 17.961886][ C2] ? default_idle+0x9/0x10 [ 17.961889][ C2] ? default_idle_call+0x6d/0xb0 [ 17.961891][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.961895][ C2] ? do_idle+0xf6/0x160 [ 17.961897][ C2] ? cpu_startup_entry+0x54/0x60 [ 17.961899][ C2] ? start_secondary+0x213/0x2a0 [ 17.961903][ C2] ? common_startup_64+0x13e/0x148 [ 17.961909][ C2] ? bpf_sk_storage_free+0x9f/0x1c0 [ 17.961913][ C2] ? rcu_is_watching+0x12/0xc0 [ 17.961917][ C2] __put_net+0x19/0x60 [ 17.961921][ C2] __sk_destruct+0x58a/0x780 [ 17.961925][ C2] ? rcu_do_batch+0x34a/0xf20 [ 17.961927][ C2] rcu_do_batch+0x34c/0xf20 [ 17.961932][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 17.961935][ C2] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 17.961942][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 17.961948][ C2] rcu_core+0x2bb/0x500 [ 17.961952][ C2] handle_softirqs+0x218/0x620 [ 17.961958][ C2] __irq_exit_rcu+0xfa/0x160 [ 17.961961][ C2] irq_exit_rcu+0xe/0x30 [ 17.961963][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 17.961968][ C2] [ 17.961969][ C2] [ 17.961970][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 17.961973][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 17.961977][ 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.961980][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000246 [ 17.961984][ C2] RAX: 0000000000000002 RBX: 1ffff92000028fc1 RCX: ffffffff9d9905d9 [ 17.961986][ C2] RDX: ffffed1006c266fb RSI: ffffffff9dc53b60 RDI: ffffffff9b18d18f [ 17.961987][ C2] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c266fa [ 17.961989][ C2] R10: ffff8880361337d3 R11: ffff888001ee2818 R12: 0000000000000000 [ 17.961991][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 17.961995][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 17.961998][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 17.962003][ C2] default_idle+0x9/0x10 [ 17.962005][ C2] default_idle_call+0x6d/0xb0 [ 17.962008][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 17.962011][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 17.962015][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 17.962019][ C2] do_idle+0xf6/0x160 [ 17.962023][ C2] cpu_startup_entry+0x54/0x60 [ 17.962026][ C2] start_secondary+0x213/0x2a0 [ 17.962028][ C2] ? __pfx_start_secondary+0x10/0x10 [ 17.962033][ C2] common_startup_64+0x13e/0x148 [ 17.962040][ C2]