[ 13.185799][ C0] [ 13.185996][ C0] ================================ [ 13.186169][ C0] WARNING: inconsistent lock state [ 13.186338][ C0] 6.15.0-virtme #1 Not tainted [ 13.186514][ C0] -------------------------------- [ 13.186686][ C0] inconsistent {SOFTIRQ-ON-W} -> {IN-SOFTIRQ-W} usage. [ 13.186901][ C0] ksoftirqd/0/14 [HC0[0]:SC1[1]:HE1:SE0] takes: [ 13.187115][ C0] ffffffffbaf95218 (&xa->xa_lock#8){+.?.}-{3:3}, at: xa_set_mark+0x73/0x120 [ 13.187424][ C0] {SOFTIRQ-ON-W} state was registered at: [ 13.187594][ C0] __lock_acquire+0x20b/0x7e0 [ 13.187770][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.187944][ C0] _raw_spin_lock+0x33/0x40 [ 13.188118][ C0] xa_store+0x1c/0x50 [ 13.188248][ C0] ref_tracker_dir_debugfs+0x168/0x1b0 [ 13.188421][ C0] init_net_debugfs+0x15/0x70 [ 13.188595][ C0] do_one_initcall+0x8c/0x1e0 [ 13.188772][ C0] do_initcalls+0x176/0x280 [ 13.188948][ C0] kernel_init_freeable+0x22d/0x300 [ 13.189122][ C0] kernel_init+0x20/0x200 [ 13.189297][ C0] ret_from_fork+0x240/0x320 [ 13.189472][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.189643][ C0] irq event stamp: 206872 [ 13.189781][ C0] hardirqs last enabled at (206872): [] _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.190128][ C0] hardirqs last disabled at (206871): [] _raw_spin_lock_irqsave+0x5b/0x60 [ 13.190470][ C0] softirqs last enabled at (206642): [] handle_softirqs+0x358/0x620 [ 13.190770][ C0] softirqs last disabled at (206647): [] run_ksoftirqd+0x3f/0x70 [ 13.191071][ C0] [ 13.191071][ C0] other info that might help us debug this: [ 13.191326][ C0] Possible unsafe locking scenario: [ 13.191326][ C0] [ 13.191583][ C0] CPU0 [ 13.191731][ C0] ---- [ 13.191858][ C0] lock(&xa->xa_lock#8); [ 13.191991][ C0] [ 13.192120][ C0] lock(&xa->xa_lock#8); [ 13.192291][ C0] [ 13.192291][ C0] *** DEADLOCK *** [ 13.192291][ C0] [ 13.192543][ C0] 1 lock held by ksoftirqd/0/14: [ 13.192717][ C0] #0: ffffffffb85793c0 (rcu_callback){....}-{0:0}, at: rcu_do_batch+0x2e4/0xf20 [ 13.193031][ C0] [ 13.193031][ C0] stack backtrace: [ 13.193246][ C0] CPU: 0 UID: 0 PID: 14 Comm: ksoftirqd/0 Not tainted 6.15.0-virtme #1 PREEMPT(full) [ 13.193250][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 13.193252][ C0] Call Trace: [ 13.193254][ C0] [ 13.193257][ C0] dump_stack_lvl+0x82/0xd0 [ 13.193263][ C0] print_usage_bug.part.0+0x25f/0x360 [ 13.193267][ C0] mark_lock_irq+0x343/0x400 [ 13.193273][ C0] mark_lock+0x174/0x2f0 [ 13.193277][ C0] mark_usage+0x46/0x150 [ 13.193279][ C0] __lock_acquire+0x20b/0x7e0 [ 13.193282][ C0] ? unwind_next_frame+0x4f8/0x1e10 [ 13.193288][ C0] ? ret_from_fork_asm+0x1a/0x30 [ 13.193292][ C0] lock_acquire.part.0+0xb6/0x240 [ 13.193294][ C0] ? xa_set_mark+0x73/0x120 [ 13.193297][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.193300][ C0] ? lock_acquire+0x10c/0x170 [ 13.193303][ C0] ? xa_set_mark+0x73/0x120 [ 13.193306][ C0] _raw_spin_lock+0x33/0x40 [ 13.193309][ C0] ? xa_set_mark+0x73/0x120 [ 13.193311][ C0] xa_set_mark+0x73/0x120 [ 13.193314][ C0] ? __pfx_xa_set_mark+0x10/0x10 [ 13.193316][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.193321][ C0] ? find_held_lock+0x2b/0x80 [ 13.193326][ C0] ref_tracker_dir_exit+0xb2/0x740 [ 13.193331][ C0] ? _raw_spin_unlock_irqrestore+0x5d/0x80 [ 13.193335][ C0] ? __pfx_ref_tracker_dir_exit+0x10/0x10 [ 13.193339][ C0] ? ref_tracker_free+0x35d/0x900 [ 13.193343][ C0] ? __lock_acquire+0x44d/0x7e0 [ 13.193345][ C0] ? __pfx_ref_tracker_free+0x10/0x10 [ 13.193349][ C0] ? __sk_destruct+0x383/0x780 [ 13.193353][ C0] ? rcu_do_batch+0x34f/0xf20 [ 13.193356][ C0] ? rcu_core+0x2bb/0x500 [ 13.193359][ C0] ? handle_softirqs+0x21b/0x620 [ 13.193363][ C0] __put_net+0x83/0x140 [ 13.193367][ C0] ? __pfx_migrate_enable+0x10/0x10 [ 13.193372][ C0] ? __pfx___put_net+0x10/0x10 [ 13.193377][ C0] ? bpf_sk_storage_free+0x9f/0x1c0 [ 13.193381][ C0] __sk_destruct+0x58a/0x780 [ 13.193385][ C0] ? rcu_do_batch+0x34a/0xf20 [ 13.193388][ C0] rcu_do_batch+0x34f/0xf20 [ 13.193392][ C0] ? __schedule+0x87b/0x1b00 [ 13.193396][ C0] ? __pfx_rcu_do_batch+0x10/0x10 [ 13.193400][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.193403][ C0] ? note_gp_changes+0x182/0x1e0 [ 13.193406][ C0] ? lockdep_hardirqs_on+0x7c/0x110 [ 13.193411][ C0] rcu_core+0x2bb/0x500 [ 13.193414][ C0] handle_softirqs+0x21b/0x620 [ 13.193418][ C0] ? __pfx_run_ksoftirqd+0x10/0x10 [ 13.193421][ C0] run_ksoftirqd+0x3f/0x70 [ 13.193424][ C0] smpboot_thread_fn+0x307/0x960 [ 13.193428][ C0] ? __pfx_smpboot_thread_fn+0x10/0x10 [ 13.193432][ C0] kthread+0x37b/0x600 [ 13.193436][ C0] ? __pfx_kthread+0x10/0x10 [ 13.193439][ C0] ? ret_from_fork+0x1b/0x320 [ 13.193441][ C0] ? __lock_release+0x5d/0x170 [ 13.193444][ C0] ? rcu_is_watching+0x12/0xc0 [ 13.193447][ C0] ? __pfx_kthread+0x10/0x10 [ 13.193450][ C0] ret_from_fork+0x240/0x320 [ 13.193453][ C0] ? __pfx_kthread+0x10/0x10 [ 13.193456][ C0] ret_from_fork_asm+0x1a/0x30 [ 13.193462][ C0] [ 15.326350][ T230] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 15.327393][ T230] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 15.328198][ T230] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 15.329783][ T230] TCP: AO key ifindex 200 != sk bound ifindex 3 [ 15.330678][ T230] TCP: AO key ifindex 200 != sk bound ifindex 3