[ 808.233895][ C3]
[ 808.234006][ C3] ======================================================
[ 808.234201][ C3] WARNING: possible circular locking dependency detected
[ 808.234396][ C3] 6.9.0-rc2-virtme #1 Not tainted
[ 808.234548][ C3] ------------------------------------------------------
[ 808.234730][ C3] swapper/3/0 is trying to acquire lock:
[ 808.234887][ C3] ffff888003c3c498 (&hashinfo->ehash_locks[i]){+.-.}-{2:2}, at: tw_timer_handler+0xe9/0x130
[ 808.235218][ C3]
[ 808.235218][ C3] but task is already holding lock:
[ 808.235450][ C3] ffffc90000288d68 ((&tw->tw_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230
[ 808.235723][ C3]
[ 808.235723][ C3] which lock already depends on the new lock.
[ 808.235723][ C3]
[ 808.236030][ C3]
[ 808.236030][ C3] the existing dependency chain (in reverse order) is:
[ 808.236324][ C3]
[ 808.236324][ C3] -> #1 ((&tw->tw_timer)){+.-.}-{0:0}:
[ 808.236550][ C3] __lock_acquire+0xaf0/0x1570
[ 808.236723][ C3] lock_acquire.part.0+0xeb/0x330
[ 808.236871][ C3] __timer_delete_sync+0xe1/0x110
[ 808.237032][ C3] inet_twsk_deschedule_put+0xec/0x150
[ 808.237229][ C3] inet_twsk_purge+0x4c8/0x660
[ 808.237389][ C3] tcp_twsk_purge+0x112/0x160
[ 808.237546][ C3] tcp_sk_exit_batch+0x17/0x120
[ 808.237713][ C3] cleanup_net+0x4f3/0xb60
[ 808.237864][ C3] process_one_work+0xe2c/0x1730
[ 808.238025][ C3] worker_thread+0x587/0xd30
[ 808.238173][ C3] kthread+0x28a/0x350
[ 808.238332][ C3] ret_from_fork+0x31/0x70
[ 808.238482][ C3] ret_from_fork_asm+0x1a/0x30
[ 808.238630][ C3]
[ 808.238630][ C3] -> #0 (&hashinfo->ehash_locks[i]){+.-.}-{2:2}:
[ 808.238854][ C3] check_prev_add+0x182/0xce0
[ 808.239013][ C3] validate_chain+0x71d/0x9b0
[ 808.239163][ C3] __lock_acquire+0xaf0/0x1570
[ 808.239320][ C3] lock_acquire.part.0+0xeb/0x330
[ 808.239467][ C3] _raw_spin_lock+0x30/0x40
[ 808.239615][ C3] tw_timer_handler+0xe9/0x130
[ 808.239773][ C3] call_timer_fn+0x13b/0x230
[ 808.239921][ C3] __run_timers+0x545/0x810
[ 808.240067][ C3] run_timer_softirq+0x7a/0x1b0
[ 808.240228][ C3] __do_softirq+0x1f8/0x5df
[ 808.240381][ C3] irq_exit_rcu+0x97/0xc0
[ 808.240528][ C3] sysvec_apic_timer_interrupt+0x75/0x80
[ 808.240716][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 808.240899][ C3] default_idle+0xf/0x20
[ 808.241047][ C3] default_idle_call+0x6d/0xb0
[ 808.241208][ C3] cpuidle_idle_call+0x1f4/0x280
[ 808.241376][ C3] do_idle+0xf9/0x160
[ 808.241521][ C3] cpu_startup_entry+0x54/0x60
[ 808.241675][ C3] start_secondary+0x21c/0x2b0
[ 808.241814][ C3] common_startup_64+0x12c/0x138
[ 808.241966][ C3]
[ 808.241966][ C3] other info that might help us debug this:
[ 808.241966][ C3]
[ 808.242270][ C3] Possible unsafe locking scenario:
[ 808.242270][ C3]
[ 808.242490][ C3] CPU0 CPU1
[ 808.242637][ C3] ---- ----
[ 808.242785][ C3] lock((&tw->tw_timer));
[ 808.242944][ C3] lock(&hashinfo->ehash_locks[i]);
[ 808.243175][ C3] lock((&tw->tw_timer));
[ 808.243409][ C3] lock(&hashinfo->ehash_locks[i]);
[ 808.243557][ C3]
[ 808.243557][ C3] *** DEADLOCK ***
[ 808.243557][ C3]
[ 808.243789][ C3] 1 lock held by swapper/3/0:
[ 808.243934][ C3] #0: ffffc90000288d68 ((&tw->tw_timer)){+.-.}-{0:0}, at: call_timer_fn+0xe8/0x230
[ 808.244236][ C3]
[ 808.244236][ C3] stack backtrace:
[ 808.244446][ C3] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.9.0-rc2-virtme #1
[ 808.244685][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014
[ 808.245037][ C3] Call Trace:
[ 808.245162][ C3]
[ 808.245255][ C3] dump_stack_lvl+0x82/0xd0
[ 808.245434][ C3] check_noncircular+0x2f9/0x3e0
[ 808.245588][ C3] ? __pfx_check_noncircular+0x10/0x10
[ 808.245743][ C3] ? find_held_lock+0x2c/0x110
[ 808.245895][ C3] ? alloc_chain_hlocks+0x4e0/0x720
[ 808.246043][ C3] check_prev_add+0x182/0xce0
[ 808.246204][ C3] validate_chain+0x71d/0x9b0
[ 808.246371][ C3] ? __pfx_validate_chain+0x10/0x10
[ 808.246523][ C3] ? hlock_class+0x4e/0x130
[ 808.246686][ C3] ? mark_lock+0x38/0x3e0
[ 808.246811][ C3] __lock_acquire+0xaf0/0x1570
[ 808.246979][ C3] ? __pfx_tw_timer_handler+0x10/0x10
[ 808.247140][ C3] lock_acquire.part.0+0xeb/0x330
[ 808.247319][ C3] ? tw_timer_handler+0xe9/0x130
[ 808.247478][ C3] ? __pfx_lock_acquire.part.0+0x10/0x10
[ 808.247639][ C3] ? trace_lock_acquire+0x135/0x1c0
[ 808.247792][ C3] ? tw_timer_handler+0xe9/0x130
[ 808.247951][ C3] ? lock_acquire+0x32/0xc0
[ 808.248119][ C3] ? tw_timer_handler+0xe9/0x130
[ 808.248286][ C3] _raw_spin_lock+0x30/0x40
[ 808.248455][ C3] ? tw_timer_handler+0xe9/0x130
[ 808.248611][ C3] tw_timer_handler+0xe9/0x130
[ 808.248774][ C3] call_timer_fn+0x13b/0x230
[ 808.248938][ C3] ? call_timer_fn+0xe8/0x230
[ 808.249100][ C3] ? call_timer_fn+0xe8/0x230
[ 808.249275][ C3] ? __pfx_call_timer_fn+0x10/0x10
[ 808.249438][ C3] ? mark_lock+0x38/0x3e0
[ 808.249568][ C3] __run_timers+0x545/0x810
[ 808.249730][ C3] ? __pfx_tw_timer_handler+0x10/0x10
[ 808.249898][ C3] ? __pfx___run_timers+0x10/0x10
[ 808.250063][ C3] ? do_raw_spin_lock+0x131/0x270
[ 808.250219][ C3] ? __pfx_do_raw_spin_lock+0x10/0x10
[ 808.250386][ C3] ? lock_acquire+0x32/0xc0
[ 808.250547][ C3] ? run_timer_softirq+0x72/0x1b0
[ 808.250694][ C3] run_timer_softirq+0x7a/0x1b0
[ 808.250840][ C3] __do_softirq+0x1f8/0x5df
[ 808.250993][ C3] irq_exit_rcu+0x97/0xc0
[ 808.251105][ C3] sysvec_apic_timer_interrupt+0x75/0x80
[ 808.251283][ C3]
[ 808.251364][ C3]
[ 808.251438][ C3] asm_sysvec_apic_timer_interrupt+0x1a/0x20
[ 808.251619][ C3] RIP: 0010:default_idle+0xf/0x20
[ 808.251774][ 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 23 8d 32 00 fb f4 c3 cc cc cc cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 90 90 90 90
[ 808.252301][ C3] RSP: 0018:ffffc9000016fdf8 EFLAGS: 00000242
[ 808.252497][ C3] RAX: 00000000010827c7 RBX: 1ffff9200002dfc1 RCX: ffffffff8c938e55
[ 808.252718][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffff8a0ac0e4
[ 808.252944][ C3] RBP: 0000000000000000 R08: 0000000000000001 R09: ffffed1006c3709c
[ 808.253164][ C3] R10: ffff8880361b84e3 R11: ffff8880361bde40 R12: 0000000000000000
[ 808.253392][ C3] R13: ffff888001b98040 R14: dffffc0000000000 R15: 0000000000000000
[ 808.253611][ C3] ? ct_kernel_exit.constprop.0+0xc5/0xf0
[ 808.253758][ C3] ? cpuidle_idle_call+0x1f4/0x280
[ 808.253906][ C3] default_idle_call+0x6d/0xb0
[ 808.254059][ C3] cpuidle_idle_call+0x1f4/0x280
[ 808.254223][ C3] ? __pfx_cpuidle_idle_call+0x10/0x10
[ 808.254382][ C3] ? tsc_verify_tsc_adjust+0x5e/0x2b0
[ 808.254529][ C3] do_idle+0xf9/0x160
[ 808.254641][ C3] cpu_startup_entry+0x54/0x60
[ 808.254789][ C3] start_secondary+0x21c/0x2b0
[ 808.254933][ C3] ? __pfx_start_secondary+0x10/0x10
[ 808.255081][ C3] common_startup_64+0x12c/0x138
[ 808.255244][ C3]