[ 12.565510][ C0] [ 12.565653][ C0] ================================ [ 12.565858][ C0] WARNING: inconsistent lock state [ 12.566066][ C0] 6.15.0-virtme #1 Not tainted [ 12.566272][ C0] -------------------------------- [ 12.566482][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 12.566735][ C0] swapper/0/0 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 12.566990][ C0] ffffffff865c5af8 (pin_fs_lock){+.?.}-{3:3}, at: simple_pin_fs+0x24/0x150 [ 12.567356][ C0] {SOFTIRQ-ON-W} state was registered at: [ 12.567563][ C0] __lock_acquire+0x20b/0x7e0 [ 12.567772][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.567976][ C0] _raw_spin_lock+0x33/0x40 [ 12.568184][ C0] simple_pin_fs+0x24/0x150 [ 12.568393][ C0] start_creating.part.0+0x52/0x310 [ 12.568618][ C0] debugfs_create_dir+0x6a/0x540 [ 12.568835][ C0] component_debug_init+0x17/0x30 [ 12.569058][ C0] do_one_initcall+0x8f/0x1e0 [ 12.569273][ C0] do_initcalls+0x176/0x280 [ 12.569492][ C0] kernel_init_freeable+0x22d/0x300 [ 12.569709][ C0] kernel_init+0x20/0x200 [ 12.569926][ C0] ret_from_fork+0x240/0x320 [ 12.570144][ C0] ret_from_fork_asm+0x1a/0x30 [ 12.570353][ C0] irq event stamp: 435458 [ 12.570512][ C0] hardirqs last enabled at (435458): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.570923][ C0] hardirqs last disabled at (435457): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 12.571330][ C0] softirqs last enabled at (434406): [] handle_softirqs+0x358/0x620 [ 12.571695][ C0] softirqs last disabled at (434439): [] __irq_exit_rcu+0xfa/0x160 [ 12.572051][ C0] [ 12.572051][ C0] other info that might help us debug this: [ 12.572357][ C0] Possible unsafe locking scenario: [ 12.572357][ C0] [ 12.572657][ C0] CPU0 [ 12.572812][ C0] ---- [ 12.572964][ C0] lock(pin_fs_lock); [ 12.573122][ C0] [ 12.573275][ C0] lock(pin_fs_lock); [ 12.573442][ C0] [ 12.573442][ C0] *** DEADLOCK *** [ 12.573442][ C0] [ 12.573744][ C0] 1 lock held by swapper/0/0: [ 12.573951][ C0] #0: ffffffff863774c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 12.574329][ C0] [ 12.574329][ C0] stack backtrace: [ 12.574592][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.574596][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.574598][ C0] Call Trace: [ 12.574600][ C0] [ 12.574602][ C0] dump_stack_lvl+0x82/0xd0 [ 12.574608][ C0] print_usage_bug.part.0+0x25f/0x360 [ 12.574612][ C0] mark_lock_irq+0x343/0x400 [ 12.574616][ C0] ? is_bpf_text_address+0x67/0x120 [ 12.574621][ C0] ? __lock_release+0x5d/0x170 [ 12.574626][ C0] ? save_trace+0x52/0x170 [ 12.574630][ C0] mark_lock+0x174/0x2f0 [ 12.574634][ C0] mark_usage+0x46/0x150 [ 12.574637][ C0] __lock_acquire+0x20b/0x7e0 [ 12.574640][ C0] ? __lock_acquire+0x44d/0x7e0 [ 12.574645][ C0] lock_acquire.part.0+0xb6/0x240 [ 12.574648][ C0] ? simple_pin_fs+0x24/0x150 [ 12.574652][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.574656][ C0] ? lock_acquire+0x10c/0x170 [ 12.574659][ C0] ? simple_pin_fs+0x24/0x150 [ 12.574663][ C0] _raw_spin_lock+0x33/0x40 [ 12.574666][ C0] ? simple_pin_fs+0x24/0x150 [ 12.574669][ C0] simple_pin_fs+0x24/0x150 [ 12.574672][ C0] debugfs_remove+0x35/0x70 [ 12.574675][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.574680][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.574682][ C0] ? __sk_destruct+0x383/0x780 [ 12.574688][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.574691][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.574693][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.574696][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.574700][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.574704][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.574707][ C0] ? default_idle+0x9/0x10 [ 12.574710][ C0] ? default_idle_call+0x6d/0xb0 [ 12.574712][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.574716][ C0] ? do_idle+0xf6/0x160 [ 12.574719][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.574722][ C0] ? rest_init+0x14b/0x260 [ 12.574724][ C0] ? start_kernel+0x350/0x410 [ 12.574730][ C0] __put_net+0x19/0x60 [ 12.574734][ C0] __sk_destruct+0x58a/0x780 [ 12.574738][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.574741][ C0] rcu_do_batch+0x34c/0xf20 [ 12.574745][ C0] ? find_held_lock+0x2b/0x80 [ 12.574748][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.574752][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.574755][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.574759][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.574763][ C0] rcu_core+0x2bb/0x500 [ 12.574768][ C0] handle_softirqs+0x218/0x620 [ 12.574773][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.574777][ C0] irq_exit_rcu+0xe/0x30 [ 12.574780][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.574783][ C0] [ 12.574784][ C0] [ 12.574786][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.574789][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.574793][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.574795][ C0] RSP: 0018:ffffffff86007df8 EFLAGS: 00000246 [ 12.574798][ C0] RAX: 000000000006a105 RBX: 1ffffffff0c00fc3 RCX: ffffffff853a35d9 [ 12.574800][ C0] RDX: 0000000000000000 RSI: ffffffff85e9175c RDI: ffffffff85653ca0 [ 12.574802][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.574804][ C0] R10: ffff8880360337d3 R11: ffffffff86011288 R12: 0000000000000000 [ 12.574805][ C0] R13: ffffffff8601f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.574809][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.574814][ C0] default_idle+0x9/0x10 [ 12.574816][ C0] default_idle_call+0x6d/0xb0 [ 12.574819][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.574822][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.574826][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.574832][ C0] do_idle+0xf6/0x160 [ 12.574835][ C0] cpu_startup_entry+0x54/0x60 [ 12.574839][ C0] rest_init+0x14b/0x260 [ 12.574842][ C0] start_kernel+0x350/0x410 [ 12.574846][ C0] x86_64_start_reservations+0x18/0x30 [ 12.574850][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.574854][ C0] common_startup_64+0x13e/0x148 [ 12.574863][ C0] [ 12.591947][ C0] BUG: sleeping function called from invalid context at kernel/locking/rwsem.c:1576 [ 12.592290][ C0] in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 0, name: swapper/0 [ 12.592765][ C0] preempt_count: 101, expected: 0 [ 12.592958][ C0] RCU nest depth: 0, expected: 0 [ 12.593149][ C0] INFO: lockdep is turned off. [ 12.593347][ C0] Preemption disabled at: [ 12.593349][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.593785][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 12.593789][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.593790][ C0] Call Trace: [ 12.593792][ C0] [ 12.593794][ C0] dump_stack_lvl+0xb0/0xd0 [ 12.593799][ C0] __might_resched+0x360/0x5a0 [ 12.593806][ C0] down_write+0x72/0x210 [ 12.593810][ C0] ? __pfx_down_write+0x10/0x10 [ 12.593812][ C0] ? simple_recursive_removal+0x33/0x610 [ 12.593817][ C0] ? rcu_is_watching+0x12/0xc0 [ 12.593822][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.593826][ C0] simple_recursive_removal+0x6a/0x610 [ 12.593829][ C0] ? do_raw_spin_unlock+0x58/0x220 [ 12.593832][ C0] ? __pfx_remove_one+0x10/0x10 [ 12.593838][ C0] debugfs_remove+0x44/0x70 [ 12.593841][ C0] ref_tracker_dir_exit+0xcf/0x740 [ 12.593846][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 12.593848][ C0] ? __sk_destruct+0x383/0x780 [ 12.593854][ C0] ? rcu_do_batch+0x34c/0xf20 [ 12.593858][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 12.593861][ C0] ? irq_exit_rcu+0xe/0x30 [ 12.593866][ C0] ? sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.593870][ C0] ? asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.593874][ C0] ? pv_native_safe_halt+0xf/0x20 [ 12.593877][ C0] ? default_idle+0x9/0x10 [ 12.593880][ C0] ? default_idle_call+0x6d/0xb0 [ 12.593882][ C0] ? cpuidle_idle_call+0x26f/0x3a0 [ 12.593886][ C0] ? do_idle+0xf6/0x160 [ 12.593889][ C0] ? cpu_startup_entry+0x54/0x60 [ 12.593891][ C0] ? rest_init+0x14b/0x260 [ 12.593894][ C0] ? start_kernel+0x350/0x410 [ 12.593901][ C0] __put_net+0x19/0x60 [ 12.593905][ C0] __sk_destruct+0x58a/0x780 [ 12.593909][ C0] ? rcu_do_batch+0x34a/0xf20 [ 12.593912][ C0] rcu_do_batch+0x34c/0xf20 [ 12.593916][ C0] ? find_held_lock+0x2b/0x80 [ 12.593920][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 12.593923][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 12.593928][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 12.593932][ C0] ? _raw_spin_unlock_irqrestore+0x46/0x80 [ 12.593937][ C0] rcu_core+0x2bb/0x500 [ 12.593941][ C0] handle_softirqs+0x218/0x620 [ 12.593947][ C0] __irq_exit_rcu+0xfa/0x160 [ 12.593950][ C0] irq_exit_rcu+0xe/0x30 [ 12.593953][ C0] sysvec_apic_timer_interrupt+0xa8/0xc0 [ 12.593957][ C0] [ 12.593958][ C0] [ 12.593959][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.593962][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x20 [ 12.593966][ C0] Code: 92 b4 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 07 0f 00 fb f4 fc 54 02 00 66 2e 0f 1f 84 00 00 00 00 00 66 90 90 90 90 90 90 [ 12.593968][ C0] RSP: 0018:ffffffff86007df8 EFLAGS: 00000246 [ 12.593972][ C0] RAX: 000000000006a105 RBX: 1ffffffff0c00fc3 RCX: ffffffff853a35d9 [ 12.593974][ C0] RDX: 0000000000000000 RSI: ffffffff85e9175c RDI: ffffffff85653ca0 [ 12.593975][ C0] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c066fa [ 12.593977][ C0] R10: ffff8880360337d3 R11: ffffffff86011288 R12: 0000000000000000 [ 12.593979][ C0] R13: ffffffff8601f240 R14: dffffc0000000000 R15: 0000000000014770 [ 12.593983][ C0] ? ct_kernel_exit.constprop.0+0x109/0x160 [ 12.593988][ C0] default_idle+0x9/0x10 [ 12.593990][ C0] default_idle_call+0x6d/0xb0 [ 12.593992][ C0] cpuidle_idle_call+0x26f/0x3a0 [ 12.593996][ C0] ? __pfx_cpuidle_idle_call+0x10/0x10 [ 12.594000][ C0] ? tsc_verify_tsc_adjust+0x98/0x310 [ 12.594005][ C0] do_idle+0xf6/0x160 [ 12.594009][ C0] cpu_startup_entry+0x54/0x60 [ 12.594012][ C0] rest_init+0x14b/0x260 [ 12.594016][ C0] start_kernel+0x350/0x410 [ 12.594020][ C0] x86_64_start_reservations+0x18/0x30 [ 12.594024][ C0] x86_64_start_kernel+0xf8/0x150 [ 12.594029][ C0] common_startup_64+0x13e/0x148 [ 12.594038][ C0] [ 14.570394][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.576878][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.577722][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.578446][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 14.579147][ T228] TCP: AO key ifindex 200 != sk bound ifindex 3