[ 13.108554][ C0] [ 13.108706][ C0] ================================ [ 13.108929][ C0] WARNING: inconsistent lock state [ 13.109151][ C0] 6.15.0-rc7-virtme #1 Not tainted [ 13.109370][ C0] -------------------------------- [ 13.109590][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.109861][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.110149][ C0] ffffffffafbbff78 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 13.110543][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.110762][ C0] __lock_acquire+0x3eb/0x9d0 [ 13.110989][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.111210][ C0] _raw_spin_lock+0x33/0x40 [ 13.111432][ C0] simple_pin_fs+0x24/0x150 [ 13.111652][ C0] start_creating.part.0+0x3f/0x2f0 [ 13.111878][ C0] debugfs_create_dir+0x6a/0x540 [ 13.112101][ C0] component_debug_init+0x17/0x30 [ 13.112326][ C0] do_one_initcall+0x8f/0x1e0 [ 13.112550][ C0] do_initcalls+0x176/0x280 [ 13.112770][ C0] kernel_init_freeable+0x22d/0x300 [ 13.112991][ C0] kernel_init+0x20/0x200 [ 13.113214][ C0] ret_from_fork+0x31/0x70 [ 13.113436][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.113658][ C0] irq event stamp: 404222 [ 13.113821][ C0] hardirqs last enabled at (404222): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.114264][ C0] hardirqs last disabled at (404221): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.114706][ C0] softirqs last enabled at (404092): [] handle_softirqs+0x358/0x620 [ 13.115093][ C0] softirqs last disabled at (404099): [] __irq_exit_rcu+0xfa/0x160 [ 13.115486][ C0] [ 13.115486][ C0] other info that might help us debug this: [ 13.115813][ C0] Possible unsafe locking scenario: [ 13.115813][ C0] [ 13.116135][ C0] CPU0 [ 13.116299][ C0] ---- [ 13.116463][ C0] lock(pin_fs_lock); [ 13.116636][ C0] [ 13.116802][ C0] lock(pin_fs_lock); [ 13.116967][ C0] [ 13.116967][ C0] *** DEADLOCK *** [ 13.116967][ C0] [ 13.117289][ C0] 1 lock held by swapper/0/0: [ 13.117510][ C0] #0: ffffffffaf9749c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.117899][ C0] [ 13.117899][ C0] stack backtrace: [ 13.118170][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 13.118175][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.118177][ C0] Call Trace: [ 13.118179][ C0] [ 13.118181][ C0] dump_stack_lvl+0x82/0xd0 [ 13.118186][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.118191][ C0] mark_lock_irq+0x343/0x400 [ 13.118194][ C0] ? is_bpf_text_address+0x67/0x120 [ 13.118198][ C0] ? __lock_release+0x5d/0x170 [ 13.118202][ C0] ? save_trace+0x52/0x170 [ 13.118207][ C0] mark_lock+0x174/0x2f0 [ 13.118211][ C0] mark_usage+0x46/0x150 [ 13.118214][ C0] __lock_acquire+0x3eb/0x9d0 [ 13.118218][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.118221][ C0] ? simple_pin_fs+0x24/0x150 [ 13.118225][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.118228][ C0] ? lock_acquire+0x10c/0x170 [ 13.118230][ C0] ? simple_pin_fs+0x24/0x150 [ 13.118234][ C0] _raw_spin_lock+0x33/0x40 [ 13.118237][ C0] ? simple_pin_fs+0x24/0x150 [ 13.118239][ C0] simple_pin_fs+0x24/0x150 [ 13.118243][ C0] debugfs_remove+0x35/0x70 [ 13.118246][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.118252][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.118255][ C0] ? __sk_destruct+0x383/0x780 [ 13.118260][ C0] ? rcu_do_batch+0x34f/0xf20 [ 13.118264][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.118267][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.118270][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.118274][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.118277][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.118280][ C0] ? default_idle+0x9/0x10 [ 13.118283][ C0] ? default_idle_call+0x6d/0xb0 [ 13.118285][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.118288][ C0] ? do_idle+0xf6/0x160 [ 13.118291][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.118293][ C0] ? rest_init+0x14b/0x260 [ 13.118295][ C0] ? start_kernel+0x350/0x410 [ 13.118302][ C0] __put_net+0x19/0x60 [ 13.118306][ C0] __sk_destruct+0x58a/0x780 [ 13.118310][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.118313][ C0] rcu_do_batch+0x34f/0xf20 [ 13.118317][ C0] ? find_held_lock+0x2b/0x80 [ 13.118322][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.118326][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.118329][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.118332][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.118337][ C0] rcu_core+0x2bb/0x500 [ 13.118340][ C0] handle_softirqs+0x218/0x620 [ 13.118345][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.118349][ C0] irq_exit_rcu+0xe/0x30 [ 13.118351][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.118354][ C0] [ 13.118355][ C0] [ 13.118357][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.118360][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.118364][ C0] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.118366][ C0] RSP: 0018:ffffffffaf607df8 EFLAGS: 00000246 [ 13.118369][ C0] RAX: 0000000000062a81 RBX: 1ffffffff5ec0fc3 RCX: ffffffffae96ea19 [ 13.118372][ C0] RDX: 0000000000000000 RSI: ffffffffaf489a45 RDI: ffffffffaec513a0 [ 13.118374][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e8667a [ 13.118375][ C0] R10: ffff88802f4333d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.118377][ C0] R13: ffffffffaf61f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.118381][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.118387][ C0] default_idle+0x9/0x10 [ 13.118389][ C0] default_idle_call+0x6d/0xb0 [ 13.118391][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.118394][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.118398][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.118403][ C0] do_idle+0xf6/0x160 [ 13.118406][ C0] cpu_startup_entry+0x54/0x60 [ 13.118409][ C0] rest_init+0x14b/0x260 [ 13.118412][ C0] start_kernel+0x350/0x410 [ 13.118416][ C0] x86_64_start_reservations+0x18/0x30 [ 13.118421][ C0] x86_64_start_kernel+0xba/0x110 [ 13.118424][ C0] common_startup_64+0x13e/0x148 [ 13.118432][ C0] [ 13.136586][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 13.137066][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 13.137438][ C0] preempt_count: 101, expected: 0 [ 13.137655][ C0] RCU nest depth: 0, expected: 0 [ 13.137860][ C0] INFO: lockdep is turned off. [ 13.138196][ C0] Preemption disabled at: [ 13.138198][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 13.138674][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-rc7-virtme #1 PREEMPT(full) [ 13.138678][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.138680][ C0] Call Trace: [ 13.138681][ C0] [ 13.138683][ C0] dump_stack_lvl+0xb0/0xd0 [ 13.138688][ C0] __might_resched+0x360/0x5a0 [ 13.138694][ C0] down_write+0x72/0x210 [ 13.138697][ C0] ? __pfx_down_write+0x10/0x10 [ 13.138700][ C0] ? simple_recursive_removal+0x3a/0x860 [ 13.138704][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.138708][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.138713][ C0] simple_recursive_removal+0x166/0x860 [ 13.138716][ C0] ? __pfx_remove_one+0x10/0x10 [ 13.138720][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 13.138725][ C0] debugfs_remove+0x44/0x70 [ 13.138728][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 13.138733][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.138736][ C0] ? __sk_destruct+0x383/0x780 [ 13.138740][ C0] ? rcu_do_batch+0x34f/0xf20 [ 13.138744][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.138747][ C0] ? irq_exit_rcu+0xe/0x30 [ 13.138752][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.138755][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.138759][ C0] ? pv_native_safe_halt+0xf/0x20 [ 13.138762][ C0] ? default_idle+0x9/0x10 [ 13.138764][ C0] ? default_idle_call+0x6d/0xb0 [ 13.138766][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 13.138769][ C0] ? do_idle+0xf6/0x160 [ 13.138771][ C0] ? cpu_startup_entry+0x54/0x60 [ 13.138773][ C0] ? rest_init+0x14b/0x260 [ 13.138776][ C0] ? start_kernel+0x350/0x410 [ 13.138782][ C0] __put_net+0x19/0x60 [ 13.138785][ C0] __sk_destruct+0x58a/0x780 [ 13.138789][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.138792][ C0] rcu_do_batch+0x34f/0xf20 [ 13.138797][ C0] ? find_held_lock+0x2b/0x80 [ 13.138801][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.138806][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.138809][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.138813][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 13.138817][ C0] rcu_core+0x2bb/0x500 [ 13.138821][ C0] handle_softirqs+0x218/0x620 [ 13.138826][ C0] __irq_exit_rcu+0xfa/0x160 [ 13.138829][ C0] irq_exit_rcu+0xe/0x30 [ 13.138832][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 13.138835][ C0] [ 13.138836][ C0] [ 13.138838][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 13.138840][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 13.138844][ C0] Code: 50 b7 00 e9 c3 57 02 00 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 c3 45 12 00 fb f4 cc cc cc cc 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 13.138847][ C0] RSP: 0018:ffffffffaf607df8 EFLAGS: 00000246 [ 13.138850][ C0] RAX: 0000000000062a81 RBX: 1ffffffff5ec0fc3 RCX: ffffffffae96ea19 [ 13.138852][ C0] RDX: 0000000000000000 RSI: ffffffffaf489a45 RDI: ffffffffaec513a0 [ 13.138853][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1005e8667a [ 13.138855][ C0] R10: ffff88802f4333d3 R11: 0000000000000000 R12: 0000000000000000 [ 13.138857][ C0] R13: ffffffffaf61f240 R14: dffffc0000000000 R15: 0000000000014770 [ 13.138861][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 13.138866][ C0] default_idle+0x9/0x10 [ 13.138868][ C0] default_idle_call+0x6d/0xb0 [ 13.138871][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 13.138873][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 13.138877][ C0] ? tsc_verify_tsc_adjust+0x98/0x300 [ 13.138881][ C0] do_idle+0xf6/0x160 [ 13.138884][ C0] cpu_startup_entry+0x54/0x60 [ 13.138887][ C0] rest_init+0x14b/0x260 [ 13.138890][ C0] start_kernel+0x350/0x410 [ 13.138894][ C0] x86_64_start_reservations+0x18/0x30 [ 13.138898][ C0] x86_64_start_kernel+0xba/0x110 [ 13.138901][ C0] common_startup_64+0x13e/0x148 [ 13.138909][ C0] [ 13.607876][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.634555][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 14.636160][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.658561][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 15.660067][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.682600][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 16.684159][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.706558][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 17.708085][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.730579][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 18.732148][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK [ 19.754585][ C2] TCP: TCP-AO: the keyid 100 from SYN packet is not present - not sending SYNACK