[ 15.107029][ C0] [ 15.107190][ C0] ================================ [ 15.107408][ C0] WARNING: inconsistent lock state [ 15.107619][ C0] 6.15.0-virtme #1 Not tainted [ 15.107842][ C0] -------------------------------- [ 15.108058][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.108321][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.108585][ C0] ffffffff9f1c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.108957][ C0] {SOFTIRQ-ON-W} state was registered at: [ 15.109171][ C0] __lock_acquire+0x20b/0x7e0 [ 15.109401][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.109614][ C0] _raw_spin_lock+0x33/0x40 [ 15.109822][ C0] simple_pin_fs+0x24/0x150 [ 15.110034][ C0] start_creating.part.0+0x52/0x310 [ 15.110241][ C0] debugfs_create_dir+0x6a/0x540 [ 15.110449][ C0] component_debug_init+0x17/0x30 [ 15.110652][ C0] do_one_initcall+0x8f/0x1e0 [ 15.110861][ C0] do_initcalls+0x176/0x280 [ 15.111076][ C0] kernel_init_freeable+0x22d/0x300 [ 15.111283][ C0] kernel_init+0x20/0x200 [ 15.111505][ C0] ret_from_fork+0x240/0x320 [ 15.111707][ C0] ret_from_fork_asm+0x1a/0x30 [ 15.111908][ C0] irq event stamp: 459730 [ 15.112068][ C0] hardirqs last enabled at (459730): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.112502][ C0] hardirqs last disabled at (459729): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.112922][ C0] softirqs last enabled at (458226): [] handle_softirqs+0x358/0x620 [ 15.113298][ C0] softirqs last disabled at (458321): [] __irq_exit_rcu+0xfa/0x160 [ 15.113674][ C0] [ 15.113674][ C0] other info that might help us debug this: [ 15.113990][ C0] Possible unsafe locking scenario: [ 15.113990][ C0] [ 15.114305][ C0] CPU0 [ 15.114472][ C0] ---- [ 15.114625][ C0] lock(pin_fs_lock); [ 15.114781][ C0] [ 15.114933][ C0] lock(pin_fs_lock); [ 15.115089][ C0] [ 15.115089][ C0] *** DEADLOCK *** [ 15.115089][ C0] [ 15.115397][ C0] 1 lock held by swapper/0/0: [ 15.115606][ C0] #0: ffffffff9ef774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.115973][ C0] [ 15.115973][ C0] stack backtrace: [ 15.116231][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.116236][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.116241][ C0] Call Trace: [ 15.116243][ C0] [ 15.116244][ C0] dump_stack_lvl+0x82/0xd0 [ 15.116253][ C0] print_usage_bug.part.0+0x25f/0x360 [ 15.116257][ C0] mark_lock_irq+0x343/0x400 [ 15.116261][ C0] ? is_bpf_text_address+0x67/0x120 [ 15.116265][ C0] ? __lock_release+0x5d/0x170 [ 15.116270][ C0] ? save_trace+0x52/0x170 [ 15.116276][ C0] mark_lock+0x174/0x2f0 [ 15.116280][ C0] mark_usage+0x46/0x150 [ 15.116283][ C0] __lock_acquire+0x20b/0x7e0 [ 15.116286][ C0] ? __lock_acquire+0x44d/0x7e0 [ 15.116290][ C0] lock_acquire.part.0+0xb6/0x240 [ 15.116293][ C0] ? simple_pin_fs+0x24/0x150 [ 15.116298][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.116304][ C0] ? lock_acquire+0x10c/0x170 [ 15.116306][ C0] ? simple_pin_fs+0x24/0x150 [ 15.116310][ C0] _raw_spin_lock+0x33/0x40 [ 15.116314][ C0] ? simple_pin_fs+0x24/0x150 [ 15.116318][ C0] simple_pin_fs+0x24/0x150 [ 15.116322][ C0] debugfs_remove+0x35/0x70 [ 15.116325][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.116333][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.116336][ C0] ? __sk_destruct+0x383/0x780 [ 15.116344][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.116347][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.116350][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.116353][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.116358][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.116362][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.116365][ C0] ? default_idle+0x9/0x10 [ 15.116368][ C0] ? default_idle_call+0x6d/0xb0 [ 15.116370][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.116374][ C0] ? do_idle+0xf6/0x160 [ 15.116376][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.116378][ C0] ? rest_init+0x14b/0x260 [ 15.116381][ C0] ? start_kernel+0x350/0x410 [ 15.116388][ C0] __put_net+0x19/0x60 [ 15.116391][ C0] __sk_destruct+0x58a/0x780 [ 15.116395][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.116397][ C0] rcu_do_batch+0x34c/0xf20 [ 15.116401][ C0] ? find_held_lock+0x2b/0x80 [ 15.116405][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.116408][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.116412][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.116415][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.116420][ C0] rcu_core+0x2bb/0x500 [ 15.116424][ C0] handle_softirqs+0x218/0x620 [ 15.116430][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.116433][ C0] irq_exit_rcu+0xe/0x30 [ 15.116435][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.116439][ C0] [ 15.116440][ C0] [ 15.116442][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.116444][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.116449][ C0] 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.116451][ C0] RSP: 0018:ffffffff9ec07df8 EFLAGS: 00000242 [ 15.116454][ C0] RAX: 000000000006fe4f RBX: 1ffffffff3d80fc3 RCX: ffffffff9df905d9 [ 15.116456][ C0] RDX: 0000000000000000 RSI: ffffffff9ea8f4e4 RDI: ffffffff9e253be0 [ 15.116458][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 15.116460][ C0] R10: ffff8880360337d3 R11: ffffffff9ec11288 R12: 0000000000000000 [ 15.116462][ C0] R13: ffffffff9ec1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.116466][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.116471][ C0] default_idle+0x9/0x10 [ 15.116473][ C0] default_idle_call+0x6d/0xb0 [ 15.116476][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.116479][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.116483][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.116488][ C0] do_idle+0xf6/0x160 [ 15.116492][ C0] cpu_startup_entry+0x54/0x60 [ 15.116495][ C0] rest_init+0x14b/0x260 [ 15.116499][ C0] start_kernel+0x350/0x410 [ 15.116502][ C0] x86_64_start_reservations+0x18/0x30 [ 15.116507][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.116510][ C0] common_startup_64+0x13e/0x148 [ 15.116519][ C0] [ 15.133608][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.133940][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 15.134279][ C0] preempt_count: 101, expected: 0 [ 15.134472][ C0] RCU nest depth: 0, expected: 0 [ 15.134689][ C0] INFO: lockdep is turned off. [ 15.134885][ C0] Preemption disabled at: [ 15.134887][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.135342][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.135346][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.135348][ C0] Call Trace: [ 15.135350][ C0] [ 15.135351][ C0] dump_stack_lvl+0xb0/0xd0 [ 15.135357][ C0] __might_resched+0x360/0x5a0 [ 15.135363][ C0] down_write+0x72/0x210 [ 15.135367][ C0] ? __pfx_down_write+0x10/0x10 [ 15.135370][ C0] ? simple_recursive_removal+0x33/0x610 [ 15.135374][ C0] ? rcu_is_watching+0x12/0xc0 [ 15.135378][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.135388][ C0] simple_recursive_removal+0x6a/0x610 [ 15.135390][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 15.135394][ C0] ? __pfx_remove_one+0x10/0x10 [ 15.135399][ C0] debugfs_remove+0x44/0x70 [ 15.135402][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 15.135407][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.135411][ C0] ? __sk_destruct+0x383/0x780 [ 15.135415][ C0] ? rcu_do_batch+0x34c/0xf20 [ 15.135419][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.135422][ C0] ? irq_exit_rcu+0xe/0x30 [ 15.135426][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.135431][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.135435][ C0] ? pv_native_safe_halt+0xf/0x20 [ 15.135438][ C0] ? default_idle+0x9/0x10 [ 15.135441][ C0] ? default_idle_call+0x6d/0xb0 [ 15.135444][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.135447][ C0] ? do_idle+0xf6/0x160 [ 15.135449][ C0] ? cpu_startup_entry+0x54/0x60 [ 15.135452][ C0] ? rest_init+0x14b/0x260 [ 15.135455][ C0] ? start_kernel+0x350/0x410 [ 15.135462][ C0] __put_net+0x19/0x60 [ 15.135465][ C0] __sk_destruct+0x58a/0x780 [ 15.135469][ C0] ? rcu_do_batch+0x34a/0xf20 [ 15.135472][ C0] rcu_do_batch+0x34c/0xf20 [ 15.135475][ C0] ? find_held_lock+0x2b/0x80 [ 15.135481][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.135484][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.135489][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.135492][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.135497][ C0] rcu_core+0x2bb/0x500 [ 15.135501][ C0] handle_softirqs+0x218/0x620 [ 15.135506][ C0] __irq_exit_rcu+0xfa/0x160 [ 15.135509][ C0] irq_exit_rcu+0xe/0x30 [ 15.135512][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.135516][ C0] [ 15.135517][ C0] [ 15.135519][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.135522][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.135526][ C0] 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.135528][ C0] RSP: 0018:ffffffff9ec07df8 EFLAGS: 00000242 [ 15.135531][ C0] RAX: 000000000006fe4f RBX: 1ffffffff3d80fc3 RCX: ffffffff9df905d9 [ 15.135533][ C0] RDX: 0000000000000000 RSI: ffffffff9ea8f4e4 RDI: ffffffff9e253be0 [ 15.135535][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 15.135537][ C0] R10: ffff8880360337d3 R11: ffffffff9ec11288 R12: 0000000000000000 [ 15.135538][ C0] R13: ffffffff9ec1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 15.135542][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.135547][ C0] default_idle+0x9/0x10 [ 15.135550][ C0] default_idle_call+0x6d/0xb0 [ 15.135552][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 15.135555][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.135559][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.135564][ C0] do_idle+0xf6/0x160 [ 15.135568][ C0] cpu_startup_entry+0x54/0x60 [ 15.135570][ C0] rest_init+0x14b/0x260 [ 15.135574][ C0] start_kernel+0x350/0x410 [ 15.135578][ C0] x86_64_start_reservations+0x18/0x30 [ 15.135582][ C0] x86_64_start_kernel+0xf8/0x150 [ 15.135586][ C0] common_startup_64+0x13e/0x148 [ 15.135595][ C0] [ 16.943273][ C3] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.943634][ C3] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/3 [ 16.943947][ C3] preempt_count: 101, expected: 0 [ 16.944136][ C3] RCU nest depth: 0, expected: 0 [ 16.944325][ C3] INFO: lockdep is turned off. [ 16.944508][ C3] Preemption disabled at: [ 16.944510][ C3] [<0000000000000000>] 0x0 [ 16.944833][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.944839][ C3] Tainted: [W]=WARN [ 16.944840][ C3] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.944842][ C3] Call Trace: [ 16.944845][ C3] [ 16.944847][ C3] dump_stack_lvl+0xb0/0xd0 [ 16.944856][ C3] __might_resched+0x360/0x5a0 [ 16.944864][ C3] down_write+0x72/0x210 [ 16.944869][ C3] ? __pfx_down_write+0x10/0x10 [ 16.944872][ C3] ? simple_recursive_removal+0x33/0x610 [ 16.944876][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.944881][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.944888][ C3] simple_recursive_removal+0x6a/0x610 [ 16.944891][ C3] ? do_raw_spin_unlock+0x58/0x220 [ 16.944894][ C3] ? __pfx_remove_one+0x10/0x10 [ 16.944899][ C3] debugfs_remove+0x44/0x70 [ 16.944902][ C3] ref_tracker_dir_exit+0xcf/0x740 [ 16.944909][ C3] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.944913][ C3] ? __sk_destruct+0x383/0x780 [ 16.944919][ C3] ? rcu_do_batch+0x34c/0xf20 [ 16.944922][ C3] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.944925][ C3] ? irq_exit_rcu+0xe/0x30 [ 16.944931][ C3] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.944936][ C3] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.944940][ C3] ? pv_native_safe_halt+0xf/0x20 [ 16.944944][ C3] ? default_idle+0x9/0x10 [ 16.944946][ C3] ? default_idle_call+0x6d/0xb0 [ 16.944949][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.944952][ C3] ? do_idle+0xf6/0x160 [ 16.944954][ C3] ? cpu_startup_entry+0x54/0x60 [ 16.944957][ C3] ? start_secondary+0x213/0x2a0 [ 16.944960][ C3] ? common_startup_64+0x13e/0x148 [ 16.944966][ C3] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.944974][ C3] ? rcu_is_watching+0x12/0xc0 [ 16.944979][ C3] __put_net+0x19/0x60 [ 16.944982][ C3] __sk_destruct+0x58a/0x780 [ 16.944986][ C3] ? rcu_do_batch+0x34a/0xf20 [ 16.944989][ C3] rcu_do_batch+0x34c/0xf20 [ 16.944993][ C3] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.944997][ C3] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.945003][ C3] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.945009][ C3] rcu_core+0x2bb/0x500 [ 16.945013][ C3] handle_softirqs+0x218/0x620 [ 16.945019][ C3] __irq_exit_rcu+0xfa/0x160 [ 16.945022][ C3] irq_exit_rcu+0xe/0x30 [ 16.945024][ C3] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.945028][ C3] [ 16.945029][ C3] [ 16.945031][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.945033][ C3] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.945038][ 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.945041][ C3] RSP: 0018:ffffc90000157de8 EFLAGS: 00000246 [ 16.945045][ C3] RAX: 0000000000000003 RBX: 1ffff9200002afc1 RCX: ffffffff9df905d9 [ 16.945047][ C3] RDX: ffffed1006c366fb RSI: ffffffff9e253b60 RDI: ffffffff9b78d18f [ 16.945049][ C3] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c366fa [ 16.945050][ C3] R10: ffff8880361b37d3 R11: ffff88800a33cad8 R12: 0000000000000000 [ 16.945052][ C3] R13: ffff888001bf45c0 R14: dffffc0000000000 R15: 0000000000000000 [ 16.945056][ C3] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.945059][ C3] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.945063][ C3] default_idle+0x9/0x10 [ 16.945065][ C3] default_idle_call+0x6d/0xb0 [ 16.945068][ C3] cpuidle_idle_call+0x26f/0x3a0 [ 16.945071][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.945075][ C3] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.945080][ C3] do_idle+0xf6/0x160 [ 16.945083][ C3] cpu_startup_entry+0x54/0x60 [ 16.945086][ C3] start_secondary+0x213/0x2a0 [ 16.945089][ C3] ? __pfx_start_secondary+0x10/0x10 [ 16.945093][ C3] common_startup_64+0x13e/0x148 [ 16.945100][ C3]