[ 15.331962][ C2] [ 15.332166][ C2] ================================ [ 15.332358][ C2] WARNING: inconsistent lock state [ 15.332549][ C2] 6.15.0-virtme #1 Not tainted [ 15.332736][ C2] -------------------------------- [ 15.332934][ C2] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 15.333168][ C2] swapper/2/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 15.333402][ C2] ffffffff971c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 15.333736][ C2] {SOFTIRQ-ON-W} state was registered at: [ 15.333920][ C2] __lock_acquire+0x20b/0x7e0 [ 15.334111][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.334300][ C2] _raw_spin_lock+0x33/0x40 [ 15.334486][ C2] simple_pin_fs+0x24/0x150 [ 15.334671][ C2] start_creating.part.0+0x52/0x310 [ 15.334858][ C2] debugfs_create_dir+0x6a/0x540 [ 15.335041][ C2] component_debug_init+0x17/0x30 [ 15.335231][ C2] do_one_initcall+0x8f/0x1e0 [ 15.335420][ C2] do_initcalls+0x176/0x280 [ 15.335608][ C2] kernel_init_freeable+0x22d/0x300 [ 15.335794][ C2] kernel_init+0x20/0x200 [ 15.335981][ C2] ret_from_fork+0x240/0x320 [ 15.336170][ C2] ret_from_fork_asm+0x1a/0x30 [ 15.336358][ C2] irq event stamp: 276570 [ 15.336499][ C2] hardirqs last enabled at (276570): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.336872][ C2] hardirqs last disabled at (276569): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 15.337246][ C2] softirqs last enabled at (275940): [] handle_softirqs+0x358/0x620 [ 15.337585][ C2] softirqs last disabled at (275947): [] __irq_exit_rcu+0xfa/0x160 [ 15.337912][ C2] [ 15.337912][ C2] other info that might help us debug this: [ 15.338189][ C2] Possible unsafe locking scenario: [ 15.338189][ C2] [ 15.338465][ C2] CPU0 [ 15.338600][ C2] ---- [ 15.338738][ C2] lock(pin_fs_lock); [ 15.338885][ C2] [ 15.339025][ C2] lock(pin_fs_lock); [ 15.339168][ C2] [ 15.339168][ C2] *** DEADLOCK *** [ 15.339168][ C2] [ 15.339442][ C2] 1 lock held by swapper/2/0: [ 15.339627][ C2] #0: ffffffff96f774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 15.339962][ C2] [ 15.339962][ C2] stack backtrace: [ 15.340194][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.340198][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.340200][ C2] Call Trace: [ 15.340202][ C2] [ 15.340204][ C2] dump_stack_lvl+0x82/0xd0 [ 15.340210][ C2] print_usage_bug.part.0+0x25f/0x360 [ 15.340215][ C2] mark_lock_irq+0x343/0x400 [ 15.340219][ C2] ? __pfx_unwind_next_frame+0x10/0x10 [ 15.340224][ C2] ? save_trace+0x52/0x170 [ 15.340229][ C2] mark_lock+0x174/0x2f0 [ 15.340233][ C2] mark_usage+0x46/0x150 [ 15.340236][ C2] __lock_acquire+0x20b/0x7e0 [ 15.340239][ C2] ? __lock_acquire+0x44d/0x7e0 [ 15.340244][ C2] lock_acquire.part.0+0xb6/0x240 [ 15.340247][ C2] ? simple_pin_fs+0x24/0x150 [ 15.340251][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.340255][ C2] ? lock_acquire+0x10c/0x170 [ 15.340258][ C2] ? simple_pin_fs+0x24/0x150 [ 15.340262][ C2] _raw_spin_lock+0x33/0x40 [ 15.340265][ C2] ? simple_pin_fs+0x24/0x150 [ 15.340269][ C2] simple_pin_fs+0x24/0x150 [ 15.340273][ C2] debugfs_remove+0x35/0x70 [ 15.340276][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.340282][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.340285][ C2] ? __sk_destruct+0x383/0x780 [ 15.340290][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.340293][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.340296][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.340299][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.340304][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.340307][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.340310][ C2] ? default_idle+0x9/0x10 [ 15.340313][ C2] ? default_idle_call+0x6d/0xb0 [ 15.340316][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.340319][ C2] ? do_idle+0xf6/0x160 [ 15.340321][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.340324][ C2] ? start_secondary+0x213/0x2a0 [ 15.340327][ C2] ? common_startup_64+0x13e/0x148 [ 15.340334][ C2] __put_net+0x19/0x60 [ 15.340338][ C2] __sk_destruct+0x58a/0x780 [ 15.340342][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.340345][ C2] rcu_do_batch+0x34c/0xf20 [ 15.340348][ C2] ? find_held_lock+0x2b/0x80 [ 15.340352][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.340355][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.340359][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.340362][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.340367][ C2] rcu_core+0x2bb/0x500 [ 15.340371][ C2] handle_softirqs+0x218/0x620 [ 15.340376][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.340379][ C2] irq_exit_rcu+0xe/0x30 [ 15.340382][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.340386][ C2] [ 15.340387][ C2] [ 15.340389][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.340391][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.340395][ 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 [ 15.340398][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.340401][ C2] RAX: 00000000000435e9 RBX: 1ffff92000028fc1 RCX: ffffffff95f905d9 [ 15.340403][ C2] RDX: 0000000000000000 RSI: ffffffff96a8f4e4 RDI: ffffffff96253be0 [ 15.340405][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.340407][ C2] R10: ffff8880361337d3 R11: ffffffff96c11288 R12: 0000000000000000 [ 15.340409][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.340412][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.340417][ C2] default_idle+0x9/0x10 [ 15.340420][ C2] default_idle_call+0x6d/0xb0 [ 15.340423][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.340426][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.340430][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.340434][ C2] do_idle+0xf6/0x160 [ 15.340437][ C2] cpu_startup_entry+0x54/0x60 [ 15.340440][ C2] start_secondary+0x213/0x2a0 [ 15.340443][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.340448][ C2] common_startup_64+0x13e/0x148 [ 15.340455][ C2] [ 15.355917][ C2] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 15.356240][ C2] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/2 [ 15.356567][ C2] preempt_count: 101, expected: 0 [ 15.356754][ C2] RCU nest depth: 0, expected: 0 [ 15.356943][ C2] INFO: lockdep is turned off. [ 15.357136][ C2] Preemption disabled at: [ 15.357138][ C2] [<0000000000000000>] 0x0 [ 15.357487][ C2] CPU: 2 UID: 0 PID: 0 Comm: swapper/2 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 15.357491][ C2] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.357493][ C2] Call Trace: [ 15.357494][ C2] [ 15.357496][ C2] dump_stack_lvl+0xb0/0xd0 [ 15.357503][ C2] __might_resched+0x360/0x5a0 [ 15.357510][ C2] down_write+0x72/0x210 [ 15.357514][ C2] ? __pfx_down_write+0x10/0x10 [ 15.357517][ C2] ? simple_recursive_removal+0x33/0x610 [ 15.357521][ C2] ? rcu_is_watching+0x12/0xc0 [ 15.357525][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.357531][ C2] simple_recursive_removal+0x6a/0x610 [ 15.357534][ C2] ? do_raw_spin_unlock+0x58/0x220 [ 15.357537][ C2] ? __pfx_remove_one+0x10/0x10 [ 15.357542][ C2] debugfs_remove+0x44/0x70 [ 15.357545][ C2] ref_tracker_dir_exit+0xcf/0x740 [ 15.357551][ C2] ? __pfx_ref_tracker_free+0x10/0x10 [ 15.357554][ C2] ? __sk_destruct+0x383/0x780 [ 15.357559][ C2] ? rcu_do_batch+0x34c/0xf20 [ 15.357562][ C2] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 15.357565][ C2] ? irq_exit_rcu+0xe/0x30 [ 15.357569][ C2] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.357573][ C2] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.357577][ C2] ? pv_native_safe_halt+0xf/0x20 [ 15.357580][ C2] ? default_idle+0x9/0x10 [ 15.357583][ C2] ? default_idle_call+0x6d/0xb0 [ 15.357585][ C2] ? cpuidle_idle_call+0x26f/0x3a0 [ 15.357588][ C2] ? do_idle+0xf6/0x160 [ 15.357590][ C2] ? cpu_startup_entry+0x54/0x60 [ 15.357593][ C2] ? start_secondary+0x213/0x2a0 [ 15.357596][ C2] ? common_startup_64+0x13e/0x148 [ 15.357603][ C2] __put_net+0x19/0x60 [ 15.357607][ C2] __sk_destruct+0x58a/0x780 [ 15.357611][ C2] ? rcu_do_batch+0x34a/0xf20 [ 15.357613][ C2] rcu_do_batch+0x34c/0xf20 [ 15.357617][ C2] ? find_held_lock+0x2b/0x80 [ 15.357622][ C2] ? __pfx_rcu_do_batch+0x10/0x10 [ 15.357625][ C2] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 15.357629][ C2] ? lockdep_hardirqs_on+0x7c/0x110 [ 15.357632][ C2] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 15.357637][ C2] rcu_core+0x2bb/0x500 [ 15.357641][ C2] handle_softirqs+0x218/0x620 [ 15.357646][ C2] __irq_exit_rcu+0xfa/0x160 [ 15.357649][ C2] irq_exit_rcu+0xe/0x30 [ 15.357652][ C2] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 15.357656][ C2] [ 15.357657][ C2] [ 15.357658][ C2] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.357661][ C2] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 15.357665][ 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 [ 15.357667][ C2] RSP: 0018:ffffc90000147de8 EFLAGS: 00000242 [ 15.357670][ C2] RAX: 00000000000435e9 RBX: 1ffff92000028fc1 RCX: ffffffff95f905d9 [ 15.357672][ C2] RDX: 0000000000000000 RSI: ffffffff96a8f4e4 RDI: ffffffff96253be0 [ 15.357674][ C2] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c266fa [ 15.357676][ C2] R10: ffff8880361337d3 R11: ffffffff96c11288 R12: 0000000000000000 [ 15.357677][ C2] R13: ffff888001bf2300 R14: dffffc0000000000 R15: 0000000000000000 [ 15.357681][ C2] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 15.357686][ C2] default_idle+0x9/0x10 [ 15.357688][ C2] default_idle_call+0x6d/0xb0 [ 15.357691][ C2] cpuidle_idle_call+0x26f/0x3a0 [ 15.357694][ C2] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 15.357698][ C2] ? tsc_verify_tsc_adjust+0x98/0x310 [ 15.357702][ C2] do_idle+0xf6/0x160 [ 15.357706][ C2] cpu_startup_entry+0x54/0x60 [ 15.357709][ C2] start_secondary+0x213/0x2a0 [ 15.357711][ C2] ? __pfx_start_secondary+0x10/0x10 [ 15.357716][ C2] common_startup_64+0x13e/0x148 [ 15.357723][ C2] [ 16.940790][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 16.941161][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 16.941502][ C0] preempt_count: 101, expected: 0 [ 16.941693][ C0] RCU nest depth: 0, expected: 0 [ 16.941887][ C0] INFO: lockdep is turned off. [ 16.942077][ C0] Preemption disabled at: [ 16.942079][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 16.942523][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.15.0-virtme #1 PREEMPT(full) [ 16.942529][ C0] Tainted: [W]=WARN [ 16.942530][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 16.942532][ C0] Call Trace: [ 16.942534][ C0] [ 16.942536][ C0] dump_stack_lvl+0xb0/0xd0 [ 16.942542][ C0] __might_resched+0x360/0x5a0 [ 16.942549][ C0] down_write+0x72/0x210 [ 16.942554][ C0] ? __pfx_down_write+0x10/0x10 [ 16.942557][ C0] ? simple_recursive_removal+0x33/0x610 [ 16.942561][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.942566][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.942572][ C0] simple_recursive_removal+0x6a/0x610 [ 16.942574][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 16.942578][ C0] ? __pfx_remove_one+0x10/0x10 [ 16.942583][ C0] debugfs_remove+0x44/0x70 [ 16.942587][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 16.942593][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 16.942596][ C0] ? __sk_destruct+0x383/0x780 [ 16.942602][ C0] ? rcu_do_batch+0x34c/0xf20 [ 16.942605][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 16.942609][ C0] ? irq_exit_rcu+0xe/0x30 [ 16.942613][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.942618][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.942622][ C0] ? pv_native_safe_halt+0xf/0x20 [ 16.942625][ C0] ? default_idle+0x9/0x10 [ 16.942628][ C0] ? default_idle_call+0x6d/0xb0 [ 16.942631][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.942634][ C0] ? do_idle+0xf6/0x160 [ 16.942637][ C0] ? cpu_startup_entry+0x54/0x60 [ 16.942639][ C0] ? rest_init+0x14b/0x260 [ 16.942642][ C0] ? start_kernel+0x350/0x410 [ 16.942647][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 16.942651][ C0] ? rcu_is_watching+0x12/0xc0 [ 16.942656][ C0] __put_net+0x19/0x60 [ 16.942659][ C0] __sk_destruct+0x58a/0x780 [ 16.942663][ C0] ? rcu_do_batch+0x34a/0xf20 [ 16.942666][ C0] rcu_do_batch+0x34c/0xf20 [ 16.942670][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 16.942674][ C0] ? trace_irq_enable.constprop.0+0xd4/0x130 [ 16.942680][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 16.942686][ C0] rcu_core+0x2bb/0x500 [ 16.942690][ C0] handle_softirqs+0x218/0x620 [ 16.942696][ C0] __irq_exit_rcu+0xfa/0x160 [ 16.942699][ C0] irq_exit_rcu+0xe/0x30 [ 16.942702][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 16.942706][ C0] [ 16.942707][ C0] [ 16.942708][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 16.942711][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 16.942715][ 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 [ 16.942718][ C0] RSP: 0018:ffffffff96c07df8 EFLAGS: 00000246 [ 16.942722][ C0] RAX: 0000000000000000 RBX: 1ffffffff2d80fc3 RCX: ffffffff95f905d9 [ 16.942724][ C0] RDX: ffffed1006c066fb RSI: ffffffff96253b60 RDI: ffffffff9378d18f [ 16.942726][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: ffffed1006c066fa [ 16.942727][ C0] R10: ffff8880360337d3 R11: ffff888001becad8 R12: 0000000000000000 [ 16.942729][ C0] R13: ffffffff96c1f240 R14: dffffc0000000000 R15: 0000000000014770 [ 16.942733][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 16.942736][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 16.942740][ C0] default_idle+0x9/0x10 [ 16.942743][ C0] default_idle_call+0x6d/0xb0 [ 16.942745][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 16.942748][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 16.942752][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 16.942758][ C0] do_idle+0xf6/0x160 [ 16.942761][ C0] cpu_startup_entry+0x54/0x60 [ 16.942764][ C0] rest_init+0x14b/0x260 [ 16.942767][ C0] start_kernel+0x350/0x410 [ 16.942771][ C0] x86_64_start_reservations+0x18/0x30 [ 16.942776][ C0] x86_64_start_kernel+0xf8/0x150 [ 16.942779][ C0] common_startup_64+0x13e/0x148 [ 16.942789][ C0]