Warning: Permanently added '10.128.1.38' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 70.777674][ T150] [ 70.780073][ T150] ===================================================== [ 70.787009][ T150] WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected [ 70.794464][ T150] 6.1.84-syzkaller #0 Not tainted [ 70.799669][ T150] ----------------------------------------------------- [ 70.806861][ T150] kworker/0:2/150 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: [ 70.814788][ T150] ffff88807cc4e218 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0xac/0x2f0 [ 70.825137][ T150] [ 70.825137][ T150] and this task is already holding: [ 70.832500][ T150] ffff8880b9828358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 70.841407][ T150] which would create a new lock dependency: [ 70.847898][ T150] (&base->lock){-.-.}-{2:2} -> (&htab->buckets[i].lock){+...}-{2:2} [ 70.856090][ T150] [ 70.856090][ T150] but this new dependency connects a HARDIRQ-irq-safe lock: [ 70.865625][ T150] (&base->lock){-.-.}-{2:2} [ 70.865650][ T150] [ 70.865650][ T150] ... which became HARDIRQ-irq-safe at: [ 70.878110][ T150] lock_acquire+0x1f8/0x5a0 [ 70.882742][ T150] _raw_spin_lock_irqsave+0xd1/0x120 [ 70.888220][ T150] lock_timer_base+0x120/0x260 [ 70.893253][ T150] add_timer_on+0x1eb/0x580 [ 70.897844][ T150] handle_irq_event+0xa9/0x1e0 [ 70.902711][ T150] handle_edge_irq+0x245/0xbf0 [ 70.907583][ T150] __common_interrupt+0xd7/0x1f0 [ 70.912615][ T150] common_interrupt+0x9f/0xc0 [ 70.917493][ T150] asm_common_interrupt+0x22/0x40 [ 70.922613][ T150] console_emit_next_record+0xd67/0x1000 [ 70.928486][ T150] console_unlock+0x278/0x7c0 [ 70.933265][ T150] vprintk_emit+0x523/0x740 [ 70.937963][ T150] _printk+0xd1/0x111 [ 70.942044][ T150] identify_boot_cpu+0x69/0xb8 [ 70.946912][ T150] arch_cpu_finalize_init+0x5/0x81 [ 70.952119][ T150] start_kernel+0x423/0x53f [ 70.956712][ T150] secondary_startup_64_no_verify+0xcf/0xdb [ 70.962791][ T150] [ 70.962791][ T150] to a HARDIRQ-irq-unsafe lock: [ 70.969978][ T150] (&htab->buckets[i].lock){+...}-{2:2} [ 70.970005][ T150] [ 70.970005][ T150] ... which became HARDIRQ-irq-unsafe at: [ 70.983946][ T150] ... [ 70.983953][ T150] lock_acquire+0x1f8/0x5a0 [ 70.991153][ T150] _raw_spin_lock_bh+0x31/0x40 [ 70.996032][ T150] sock_hash_free+0x160/0x820 [ 71.000982][ T150] process_one_work+0x8a9/0x11d0 [ 71.006481][ T150] worker_thread+0xa47/0x1200 [ 71.011437][ T150] kthread+0x28d/0x320 [ 71.015630][ T150] ret_from_fork+0x1f/0x30 [ 71.020238][ T150] [ 71.020238][ T150] other info that might help us debug this: [ 71.020238][ T150] [ 71.030560][ T150] Possible interrupt unsafe locking scenario: [ 71.030560][ T150] [ 71.038900][ T150] CPU0 CPU1 [ 71.044283][ T150] ---- ---- [ 71.049649][ T150] lock(&htab->buckets[i].lock); [ 71.054698][ T150] local_irq_disable(); [ 71.061570][ T150] lock(&base->lock); [ 71.068165][ T150] lock(&htab->buckets[i].lock); [ 71.075739][ T150] [ 71.079379][ T150] lock(&base->lock); [ 71.083629][ T150] [ 71.083629][ T150] *** DEADLOCK *** [ 71.083629][ T150] [ 71.091773][ T150] 4 locks held by kworker/0:2/150: [ 71.096882][ T150] #0: ffff888012472138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 71.107254][ T150] #1: ffffc90002d8fd20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 71.118666][ T150] #2: ffff8880b9828358 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x120/0x260 [ 71.128102][ T150] #3: ffffffff8d12a980 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run3+0x146/0x440 [ 71.137825][ T150] [ 71.137825][ T150] the dependencies between HARDIRQ-irq-safe lock and the holding lock: [ 71.148244][ T150] -> (&base->lock){-.-.}-{2:2} { [ 71.153208][ T150] IN-HARDIRQ-W at: [ 71.157191][ T150] lock_acquire+0x1f8/0x5a0 [ 71.163362][ T150] _raw_spin_lock_irqsave+0xd1/0x120 [ 71.170334][ T150] lock_timer_base+0x120/0x260 [ 71.176841][ T150] add_timer_on+0x1eb/0x580 [ 71.183003][ T150] handle_irq_event+0xa9/0x1e0 [ 71.189423][ T150] handle_edge_irq+0x245/0xbf0 [ 71.195847][ T150] __common_interrupt+0xd7/0x1f0 [ 71.202444][ T150] common_interrupt+0x9f/0xc0 [ 71.208959][ T150] asm_common_interrupt+0x22/0x40 [ 71.215732][ T150] console_emit_next_record+0xd67/0x1000 [ 71.223106][ T150] console_unlock+0x278/0x7c0 [ 71.229446][ T150] vprintk_emit+0x523/0x740 [ 71.235704][ T150] _printk+0xd1/0x111 [ 71.241436][ T150] identify_boot_cpu+0x69/0xb8 [ 71.248133][ T150] arch_cpu_finalize_init+0x5/0x81 [ 71.254903][ T150] start_kernel+0x423/0x53f [ 71.261060][ T150] secondary_startup_64_no_verify+0xcf/0xdb [ 71.268617][ T150] IN-SOFTIRQ-W at: [ 71.272604][ T150] lock_acquire+0x1f8/0x5a0 [ 71.278944][ T150] _raw_spin_lock_irq+0xcf/0x110 [ 71.285974][ T150] __run_timers+0x111/0x890 [ 71.292220][ T150] run_timer_softirq+0x63/0xf0 [ 71.298638][ T150] __do_softirq+0x2e9/0xa4c [ 71.306476][ T150] __irq_exit_rcu+0x155/0x240 [ 71.312990][ T150] irq_exit_rcu+0x5/0x20 [ 71.318892][ T150] common_interrupt+0xa4/0xc0 [ 71.325333][ T150] asm_common_interrupt+0x22/0x40 [ 71.332192][ T150] console_emit_next_record+0xd67/0x1000 [ 71.339566][ T150] console_unlock+0x278/0x7c0 [ 71.345906][ T150] vprintk_emit+0x523/0x740 [ 71.352158][ T150] _printk+0xd1/0x111 [ 71.357902][ T150] spectre_v2_user_select_mitigation+0x453/0x47e [ 71.365914][ T150] cpu_select_mitigations+0x47/0x8f [ 71.372857][ T150] arch_cpu_finalize_init+0xf/0x81 [ 71.380147][ T150] start_kernel+0x423/0x53f [ 71.386308][ T150] secondary_startup_64_no_verify+0xcf/0xdb [ 71.393858][ T150] INITIAL USE at: [ 71.397775][ T150] lock_acquire+0x1f8/0x5a0 [ 71.403954][ T150] _raw_spin_lock_irqsave+0xd1/0x120 [ 71.410805][ T150] lock_timer_base+0x120/0x260 [ 71.417137][ T150] add_timer_on+0x1eb/0x580 [ 71.423291][ T150] handle_irq_event+0xa9/0x1e0 [ 71.429729][ T150] handle_edge_irq+0x245/0xbf0 [ 71.436067][ T150] __common_interrupt+0xd7/0x1f0 [ 71.442721][ T150] common_interrupt+0x9f/0xc0 [ 71.448987][ T150] asm_common_interrupt+0x22/0x40 [ 71.455815][ T150] console_emit_next_record+0xd67/0x1000 [ 71.463148][ T150] console_unlock+0x278/0x7c0 [ 71.469498][ T150] vprintk_emit+0x523/0x740 [ 71.475754][ T150] _printk+0xd1/0x111 [ 71.481482][ T150] identify_boot_cpu+0x69/0xb8 [ 71.488050][ T150] arch_cpu_finalize_init+0x5/0x81 [ 71.494830][ T150] start_kernel+0x423/0x53f [ 71.501419][ T150] secondary_startup_64_no_verify+0xcf/0xdb [ 71.509076][ T150] } [ 71.511622][ T150] ... key at: [] init_timer_cpu.__key+0x0/0x20 [ 71.520142][ T150] [ 71.520142][ T150] the dependencies between the lock to be acquired [ 71.520151][ T150] and HARDIRQ-irq-unsafe lock: [ 71.533994][ T150] -> (&htab->buckets[i].lock){+...}-{2:2} { [ 71.540018][ T150] HARDIRQ-ON-W at: [ 71.544118][ T150] lock_acquire+0x1f8/0x5a0 [ 71.550298][ T150] _raw_spin_lock_bh+0x31/0x40 [ 71.556722][ T150] sock_hash_free+0x160/0x820 [ 71.563063][ T150] process_one_work+0x8a9/0x11d0 [ 71.569656][ T150] worker_thread+0xa47/0x1200 [ 71.576093][ T150] kthread+0x28d/0x320 [ 71.581851][ T150] ret_from_fork+0x1f/0x30 [ 71.588019][ T150] INITIAL USE at: [ 71.592096][ T150] lock_acquire+0x1f8/0x5a0 [ 71.599043][ T150] _raw_spin_lock_bh+0x31/0x40 [ 71.605548][ T150] sock_hash_free+0x160/0x820 [ 71.612199][ T150] process_one_work+0x8a9/0x11d0 [ 71.619280][ T150] worker_thread+0xa47/0x1200 [ 71.625633][ T150] kthread+0x28d/0x320 [ 71.632149][ T150] ret_from_fork+0x1f/0x30 [ 71.638229][ T150] } [ 71.640742][ T150] ... key at: [] sock_hash_alloc.__key+0x0/0x20 [ 71.649132][ T150] ... acquired at: [ 71.653986][ T150] lock_acquire+0x1f8/0x5a0 [ 71.658773][ T150] _raw_spin_lock_bh+0x31/0x40 [ 71.663741][ T150] sock_hash_delete_elem+0xac/0x2f0 [ 71.669483][ T150] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 71.675380][ T150] bpf_trace_run3+0x231/0x440 [ 71.680407][ T150] enqueue_timer+0x440/0x600 [ 71.685219][ T150] __mod_timer+0x92b/0xee0 [ 71.689857][ T150] schedule_timeout+0x1b4/0x300 [ 71.695009][ T150] rcu_exp_sel_wait_wake+0x764/0x1d50 [ 71.700800][ T150] process_one_work+0x8a9/0x11d0 [ 71.706038][ T150] worker_thread+0xa47/0x1200 [ 71.710930][ T150] kthread+0x28d/0x320 [ 71.715201][ T150] ret_from_fork+0x1f/0x30 [ 71.719811][ T150] [ 71.722228][ T150] [ 71.722228][ T150] stack backtrace: [ 71.728273][ T150] CPU: 0 PID: 150 Comm: kworker/0:2 Not tainted 6.1.84-syzkaller #0 [ 71.736363][ T150] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 71.746520][ T150] Workqueue: rcu_gp wait_rcu_exp_gp [ 71.752008][ T150] Call Trace: [ 71.755351][ T150] [ 71.758338][ T150] dump_stack_lvl+0x1e3/0x2cb [ 71.763049][ T150] ? nf_tcp_handle_invalid+0x642/0x642 [ 71.768642][ T150] ? panic+0x75d/0x75d [ 71.772731][ T150] ? print_shortest_lock_dependencies+0xee/0x150 [ 71.779172][ T150] validate_chain+0x4d16/0x5950 [ 71.784062][ T150] ? reacquire_held_locks+0x660/0x660 [ 71.789546][ T150] ? reacquire_held_locks+0x660/0x660 [ 71.794939][ T150] ? reacquire_held_locks+0x660/0x660 [ 71.800438][ T150] ? register_lock_class+0x100/0x990 [ 71.805750][ T150] ? validate_chain+0x112/0x5950 [ 71.810971][ T150] ? is_dynamic_key+0x260/0x260 [ 71.816099][ T150] ? mark_lock+0x9a/0x340 [ 71.820536][ T150] __lock_acquire+0x125b/0x1f80 [ 71.825414][ T150] lock_acquire+0x1f8/0x5a0 [ 71.830100][ T150] ? sock_hash_delete_elem+0xac/0x2f0 [ 71.835931][ T150] ? lockdep_softirqs_on+0x590/0x590 [ 71.841404][ T150] ? read_lock_is_recursive+0x10/0x10 [ 71.846879][ T150] ? sock_hash_delete_elem+0xac/0x2f0 [ 71.852375][ T150] ? __bpf_trace_softirq+0x10/0x10 [ 71.857497][ T150] ? read_lock_is_recursive+0x10/0x10 [ 71.863058][ T150] ? sock_hash_delete_elem+0xac/0x2f0 [ 71.868454][ T150] _raw_spin_lock_bh+0x31/0x40 [ 71.873232][ T150] ? sock_hash_delete_elem+0xac/0x2f0 [ 71.878752][ T150] sock_hash_delete_elem+0xac/0x2f0 [ 71.883967][ T150] bpf_prog_2c29ac5cdc6b1842+0x3a/0x3e [ 71.889444][ T150] bpf_trace_run3+0x231/0x440 [ 71.894386][ T150] ? bpf_trace_run3+0x146/0x440 [ 71.899327][ T150] ? bpf_trace_run2+0x410/0x410 [ 71.904177][ T150] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 71.910073][ T150] ? _raw_spin_lock_irqsave+0xdd/0x120 [ 71.915652][ T150] ? _raw_spin_lock+0x40/0x40 [ 71.920359][ T150] enqueue_timer+0x440/0x600 [ 71.924955][ T150] __mod_timer+0x92b/0xee0 [ 71.929564][ T150] ? mod_timer_pending+0x20/0x20 [ 71.934514][ T150] ? lockdep_softirqs_off+0x420/0x420 [ 71.940080][ T150] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 71.945985][ T150] ? _raw_spin_unlock+0x40/0x40 [ 71.951034][ T150] schedule_timeout+0x1b4/0x300 [ 71.955900][ T150] ? console_conditional_schedule+0x40/0x40 [ 71.961801][ T150] ? update_process_times+0x1b0/0x1b0 [ 71.967361][ T150] rcu_exp_sel_wait_wake+0x764/0x1d50 [ 71.972833][ T150] ? read_lock_is_recursive+0x10/0x10 [ 71.978394][ T150] ? rcu_check_gp_start_stall+0x450/0x450 [ 71.984292][ T150] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 71.990420][ T150] ? do_raw_spin_unlock+0x137/0x8a0 [ 71.995644][ T150] ? process_one_work+0x7a9/0x11d0 [ 72.000794][ T150] process_one_work+0x8a9/0x11d0 [ 72.005841][ T150] ? worker_detach_from_pool+0x260/0x260 [ 72.011494][ T150] ? _raw_spin_lock_irqsave+0x120/0x120 [ 72.017407][ T150] ? kthread_data+0x4e/0xc0 [ 72.022117][ T150] ? wq_worker_running+0x97/0x190 [ 72.027158][ T150] worker_thread+0xa47/0x1200 [ 72.031843][ T150] ? _raw_spin_unlock+0x40/0x40 [ 72.036808][ T150] ? __sched_text_start+0x8/0x8 [ 72.041673][ T150] ? _raw_spin_unlock+0x40/0x40 [ 72.046538][ T150] kthread+0x28d/0x320 [ 72.050623][ T150] ? worker_clr_flags+0x190/0x190 [ 72.055742][ T150] ? kthread_blkcg+0xd0/0xd0 [ 72.060433][ T150] ret_from_fork+0x1f/0x30 [ 72.064871][ T150]