[ 1625.965258][ C3]
[ 1625.965471][ C3] ======================================================
[ 1625.965659][ C3] WARNING: possible circular locking dependency detected
[ 1625.965842][ C3] 6.11.0-rc5-virtme #1 Not tainted
[ 1625.965977][ C3] ------------------------------------------------------
[ 1625.966201][ C3] swapper/3/0 is trying to acquire lock:
[ 1625.966338][ C3] ffff88800560caa0 (&msk->pm.lock){+.-.}-{2:2}, at: mptcp_pm_add_timer+0x136/0x420
[ 1625.966595][ C3]
[ 1625.966595][ C3] but task is already holding lock:
[ 1625.966795][ C3] ffffc90000298d68 ((&add_entry->add_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230
[ 1625.967060][ C3]
[ 1625.967060][ C3] which lock already depends on the new lock.
[ 1625.967060][ C3]
[ 1625.967346][ C3]
[ 1625.967346][ C3] the existing dependency chain (in reverse order) is:
[ 1625.967590][ C3]
[ 1625.967590][ C3] -> #1 ((&add_entry->add_timer)){+.-.}-{0:0}:
[ 1625.967802][ C3] __lock_acquire+0xb35/0x1560
[ 1625.967946][ C3] lock_acquire.part.0+0xeb/0x330
[ 1625.968100][ C3] __timer_delete_sync+0xe1/0x110
[ 1625.968256][ C3] sk_stop_timer_sync+0x16/0x60
[ 1625.968388][ C3] mptcp_pm_del_add_timer+0x11e/0x150
[ 1625.968556][ C3] mptcp_incoming_options+0xf39/0x16d0
[ 1625.968737][ C3] tcp_data_queue+0x7e7/0x23e0
[ 1625.968869][ C3] tcp_rcv_established+0x6be/0x1f30
[ 1625.969007][ C3] tcp_v4_do_rcv+0x4cc/0x8d0
[ 1625.969167][ C3] tcp_v4_rcv+0x2554/0x33b0
[ 1625.969300][ C3] ip_protocol_deliver_rcu+0x93/0x360
[ 1625.969477][ C3] ip_local_deliver_finish+0x2c2/0x4b0
[ 1625.969640][ C3] ip_local_deliver+0x19d/0x480
[ 1625.969797][ C3] ip_rcv+0x4a3/0x660
[ 1625.969930][ C3] __netif_receive_skb_one_core+0x166/0x1b0
[ 1625.970107][ C3] process_backlog+0x372/0x1180
[ 1625.970262][ C3] __napi_poll.constprop.0+0xa2/0x460
[ 1625.970434][ C3] net_rx_action+0x50e/0xce0
[ 1625.970579][ C3] handle_softirqs+0x1f9/0x5c0
[ 1625.970710][ C3] do_softirq+0x4d/0xa0
[ 1625.970857][ C3] __local_bh_enable_ip+0xf6/0x120
[ 1625.970998][ C3] mptcp_pm_nl_addr_send_ack+0x1fe/0x300
[ 1625.971184][ C3] mptcp_pm_nl_work+0x1cd/0x430
[ 1625.971318][ C3] mptcp_worker+0xd1/0xac0
[ 1625.971456][ C3] process_one_work+0xe3b/0x1670
[ 1625.971593][ C3] worker_thread+0x58c/0xcb0
[ 1625.971740][ C3] kthread+0x28a/0x350
[ 1625.971873][ C3] ret_from_fork+0x31/0x70
[ 1625.972021][ C3] ret_from_fork_asm+0x1a/0x30
[ 1625.972170][ C3]
[ 1625.972170][ C3] -> #0 (&msk->pm.lock){+.-.}-{2:2}:
[ 1625.972382][ C3] check_prev_add+0x182/0xce0
[ 1625.972524][ C3] validate_chain+0x71d/0x9b0
[ 1625.972668][ C3] __lock_acquire+0xb35/0x1560
[ 1625.972800][ C3] lock_acquire.part.0+0xeb/0x330
[ 1625.972930][ C3] _raw_spin_lock_bh+0x38/0x50
[ 1625.973086][ C3] mptcp_pm_add_timer+0x136/0x420
[ 1625.973218][ C3] call_timer_fn+0x13b/0x230
[ 1625.973350][ C3] __run_timers+0x545/0x810
[ 1625.973495][ C3] run_timer_softirq+0xe8/0x1b0
[ 1625.973633][ C3] handle_softirqs+0x1f9/0x5c0
[ 1625.973779][ C3] irq_exit_rcu+0x99/0xc0
[ 1625.973912][ C3] sysvec_apic_timer_interrupt+0x75/0x80
[ 1625.974133][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 1625.974326][ C3] default_idle+0xf/0x20
[ 1625.974458][ C3] default_idle_call+0x6d/0xb0
[ 1625.974605][ C3] cpuidle_idle_call+0x1f4/0x280
[ 1625.974742][ C3] do_idle+0xf9/0x160
[ 1625.974873][ C3] cpu_startup_entry+0x54/0x60
[ 1625.975013][ C3] start_secondary+0x21c/0x2b0
[ 1625.975155][ C3] common_startup_64+0x12c/0x138
[ 1625.975299][ C3]
[ 1625.975299][ C3] other info that might help us debug this:
[ 1625.975299][ C3]
[ 1625.975567][ C3] Possible unsafe locking scenario:
[ 1625.975567][ C3]
[ 1625.975779][ C3] CPU0 CPU1
[ 1625.975909][ C3] ---- ----
[ 1625.976051][ C3] lock((&add_entry->add_timer));
[ 1625.976183][ C3] lock(&msk->pm.lock);
[ 1625.976362][ C3] lock((&add_entry->add_timer));
[ 1625.976559][ C3] lock(&msk->pm.lock);
[ 1625.976681][ C3]
[ 1625.976681][ C3] *** DEADLOCK ***
[ 1625.976681][ C3]
[ 1625.976877][ C3] 1 lock held by swapper/3/0:
[ 1625.977034][ C3] #0: ffffc90000298d68 ((&add_entry->add_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230
[ 1625.977300][ C3]
[ 1625.977300][ C3] stack backtrace:
[ 1625.977484][ C3] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.11.0-rc5-virtme #1
[ 1625.977684][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 1625.977998][ C3] Call Trace:
[ 1625.978118][ C3]
[ 1625.978201][ C3] dump_stack_lvl+0x82/0xd0
[ 1625.978338][ C3] check_noncircular+0x2f9/0x3e0
[ 1625.978483][ C3] ? unwind_next_frame+0x1d2/0x1d00
[ 1625.978617][ C3] ? __pfx_check_noncircular+0x10/0x10
[ 1625.978748][ C3] ? __pfx_unwind_next_frame+0x10/0x10
[ 1625.978878][ C3] ? alloc_chain_hlocks+0x4e0/0x720
[ 1625.979026][ C3] check_prev_add+0x182/0xce0
[ 1625.979158][ C3] validate_chain+0x71d/0x9b0
[ 1625.979292][ C3] ? __pfx_validate_chain+0x10/0x10
[ 1625.979420][ C3] ? hlock_class+0x4e/0x130
[ 1625.979551][ C3] ? mark_lock+0x38/0x3e0
[ 1625.979650][ C3] __lock_acquire+0xb35/0x1560
[ 1625.979788][ C3] lock_acquire.part.0+0xeb/0x330
[ 1625.979929][ C3] ? mptcp_pm_add_timer+0x136/0x420
[ 1625.980074][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 1625.980203][ C3] ? trace_lock_acquire+0x14d/0x1f0
[ 1625.980331][ C3] ? __pfx_mptcp_pm_add_timer+0x10/0x10
[ 1625.980461][ C3] ? mptcp_pm_add_timer+0x136/0x420
[ 1625.980588][ C3] ? lock_acquire+0x32/0xc0
[ 1625.980717][ C3] ? mptcp_pm_add_timer+0x136/0x420
[ 1625.980847][ C3] _raw_spin_lock_bh+0x38/0x50
[ 1625.980998][ C3] ? mptcp_pm_add_timer+0x136/0x420
[ 1625.981132][ C3] mptcp_pm_add_timer+0x136/0x420
[ 1625.981258][ C3] ? __pfx_mptcp_pm_add_timer+0x10/0x10
[ 1625.981383][ C3] ? call_timer_fn+0x11/0x230
[ 1625.981510][ C3] ? lock_acquire+0x32/0xc0
[ 1625.981637][ C3] ? __pfx_mptcp_pm_add_timer+0x10/0x10
[ 1625.981761][ C3] call_timer_fn+0x13b/0x230
[ 1625.981906][ C3] ? call_timer_fn+0xe8/0x230
[ 1625.982070][ C3] ? call_timer_fn+0xe8/0x230
[ 1625.982211][ C3] ? __pfx_call_timer_fn+0x10/0x10
[ 1625.982340][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 1625.982470][ C3] __run_timers+0x545/0x810
[ 1625.982598][ C3] ? __pfx_mptcp_pm_add_timer+0x10/0x10
[ 1625.982729][ C3] ? __pfx___run_timers+0x10/0x10
[ 1625.982860][ C3] ? do_raw_spin_lock+0x131/0x270
[ 1625.982998][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 1625.983133][ C3] ? lock_acquire+0x32/0xc0
[ 1625.983268][ C3] ? run_timer_softirq+0xe0/0x1b0
[ 1625.983402][ C3] run_timer_softirq+0xe8/0x1b0
[ 1625.983547][ C3] handle_softirqs+0x1f9/0x5c0
[ 1625.983679][ C3] irq_exit_rcu+0x99/0xc0
[ 1625.983777][ C3] sysvec_apic_timer_interrupt+0x75/0x80
[ 1625.983907][ C3]
[ 1625.983996][ C3]
[ 1625.984069][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 1625.984231][ C3] RIP: 0010:default_idle+0xf/0x20
[ 1625.984387][ C3] Code: 4c 01 c7 4c 29 c2 e9 72 ff ff ff 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 13 3b 3c 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[ 1625.984867][ C3] RSP: 0018:ffffc9000017fdf8 EFLAGS: 00000246
[ 1625.985060][ C3] RAX: 0000000002662003 RBX: 1ffff9200002ffc1 RCX: ffffffffa7c9d625
[ 1625.985259][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffa54a6d74
[ 1625.985473][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c37098
[ 1625.985672][ C3] R10: ffff8880361b84c3 R11: ffff8880361bde80 R12: 0000000000000000
[ 1625.985878][ C3] R13: ffff888001baa300 R14: dffffc0000000000 R15: 0000000000000000
[ 1625.986103][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0
[ 1625.986235][ C3] ? cpuidle_idle_call+0x1f4/0x280
[ 1625.986375][ C3] default_idle_call+0x6d/0xb0
[ 1625.986519][ C3] cpuidle_idle_call+0x1f4/0x280
[ 1625.986648][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10
[ 1625.986780][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0
[ 1625.986926][ C3] do_idle+0xf9/0x160
[ 1625.987040][ C3] cpu_startup_entry+0x54/0x60
[ 1625.987171][ C3] start_secondary+0x21c/0x2b0
[ 1625.987326][ C3] ? __pfx_start_secondary+0x10/0x10
[ 1625.987458][ C3] common_startup_64+0x12c/0x138
[ 1625.987608][ C3]
[ 3414.549735][T27584] pm_nl_ctl (27584) used greatest stack depth: 22752 bytes left