Warning: Permanently added '10.128.0.232' (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 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 [ 69.046494][ T18] [ 69.048893][ T18] ===================================================== [ 69.055829][ T18] WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected [ 69.063301][ T18] 6.8.0-syzkaller-05236-g443574b03387 #0 Not tainted [ 69.070054][ T18] ----------------------------------------------------- [ 69.077000][ T18] rcu_exp_gp_kthr/18 [HC0[0]:SC0[2]:HE0:SE0] is trying to acquire: [ 69.084901][ T18] ffff8880232c1020 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0xb0/0x300 [ 69.095201][ T18] [ 69.095201][ T18] and this task is already holding: [ 69.102564][ T18] ffffffff8e136558 (rcu_node_0){-.-.}-{2:2}, at: sync_rcu_exp_done_unlocked+0xe/0x140 [ 69.112132][ T18] which would create a new lock dependency: [ 69.118024][ T18] (rcu_node_0){-.-.}-{2:2} -> (&htab->buckets[i].lock){+...}-{2:2} [ 69.126073][ T18] [ 69.126073][ T18] but this new dependency connects a HARDIRQ-irq-safe lock: [ 69.135604][ T18] (rcu_node_0){-.-.}-{2:2} [ 69.135630][ T18] [ 69.135630][ T18] ... which became HARDIRQ-irq-safe at: [ 69.147815][ T18] lock_acquire+0x1e4/0x530 [ 69.152428][ T18] _raw_spin_lock_irqsave+0xd5/0x120 [ 69.157849][ T18] rcu_report_exp_cpu_mult+0x27/0x2f0 [ 69.163391][ T18] __flush_smp_call_function_queue+0xb2e/0x15b0 [ 69.169721][ T18] __sysvec_call_function_single+0xa8/0x3e0 [ 69.175804][ T18] sysvec_call_function_single+0x9e/0xc0 [ 69.181524][ T18] asm_sysvec_call_function_single+0x1a/0x20 [ 69.187607][ T18] trace_event_eval_update+0xe34/0xf90 [ 69.193175][ T18] process_scheduled_works+0xa00/0x1770 [ 69.198804][ T18] worker_thread+0x86d/0xd70 [ 69.203479][ T18] kthread+0x2f0/0x390 [ 69.207631][ T18] ret_from_fork+0x4b/0x80 [ 69.212131][ T18] ret_from_fork_asm+0x1a/0x30 [ 69.216988][ T18] [ 69.216988][ T18] to a HARDIRQ-irq-unsafe lock: [ 69.224000][ T18] (&htab->buckets[i].lock){+...}-{2:2} [ 69.224026][ T18] [ 69.224026][ T18] ... which became HARDIRQ-irq-unsafe at: [ 69.237445][ T18] ... [ 69.237458][ T18] lock_acquire+0x1e4/0x530 [ 69.244614][ T18] _raw_spin_lock_bh+0x35/0x50 [ 69.249470][ T18] sock_hash_delete_elem+0xb0/0x300 [ 69.254837][ T18] 0xffffffffa0001db2 [ 69.258896][ T18] bpf_trace_run2+0x204/0x420 [ 69.263658][ T18] trace_contention_end+0xd7/0x100 [ 69.268855][ T18] __mutex_lock+0x2e5/0xd70 [ 69.273528][ T18] futex_exit_release+0x34/0x1f0 [ 69.278551][ T18] exit_mm_release+0x1a/0x30 [ 69.283243][ T18] exit_mm+0xb0/0x310 [ 69.287314][ T18] do_exit+0x99e/0x27e0 [ 69.291639][ T18] do_group_exit+0x207/0x2c0 [ 69.296400][ T18] __x64_sys_exit_group+0x3f/0x40 [ 69.301603][ T18] do_syscall_64+0xfb/0x240 [ 69.306192][ T18] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 69.312172][ T18] [ 69.312172][ T18] other info that might help us debug this: [ 69.312172][ T18] [ 69.322453][ T18] Possible interrupt unsafe locking scenario: [ 69.322453][ T18] [ 69.330801][ T18] CPU0 CPU1 [ 69.336196][ T18] ---- ---- [ 69.341560][ T18] lock(&htab->buckets[i].lock); [ 69.346694][ T18] local_irq_disable(); [ 69.353469][ T18] lock(rcu_node_0); [ 69.359982][ T18] lock(&htab->buckets[i].lock); [ 69.367522][ T18] [ 69.371004][ T18] lock(rcu_node_0); [ 69.375307][ T18] [ 69.375307][ T18] *** DEADLOCK *** [ 69.375307][ T18] [ 69.383441][ T18] 2 locks held by rcu_exp_gp_kthr/18: [ 69.388803][ T18] #0: ffffffff8e136558 (rcu_node_0){-.-.}-{2:2}, at: sync_rcu_exp_done_unlocked+0xe/0x140 [ 69.398833][ T18] #1: ffffffff8e131920 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x114/0x420 [ 69.408357][ T18] [ 69.408357][ T18] the dependencies between HARDIRQ-irq-safe lock and the holding lock: [ 69.418783][ T18] -> (rcu_node_0){-.-.}-{2:2} { [ 69.423708][ T18] IN-HARDIRQ-W at: [ 69.427691][ T18] lock_acquire+0x1e4/0x530 [ 69.433874][ T18] _raw_spin_lock_irqsave+0xd5/0x120 [ 69.440845][ T18] rcu_report_exp_cpu_mult+0x27/0x2f0 [ 69.447904][ T18] __flush_smp_call_function_queue+0xb2e/0x15b0 [ 69.456069][ T18] __sysvec_call_function_single+0xa8/0x3e0 [ 69.463652][ T18] sysvec_call_function_single+0x9e/0xc0 [ 69.470947][ T18] asm_sysvec_call_function_single+0x1a/0x20 [ 69.478598][ T18] trace_event_eval_update+0xe34/0xf90 [ 69.485741][ T18] process_scheduled_works+0xa00/0x1770 [ 69.492961][ T18] worker_thread+0x86d/0xd70 [ 69.499651][ T18] kthread+0x2f0/0x390 [ 69.505411][ T18] ret_from_fork+0x4b/0x80 [ 69.511523][ T18] ret_from_fork_asm+0x1a/0x30 [ 69.517977][ T18] IN-SOFTIRQ-W at: [ 69.522030][ T18] lock_acquire+0x1e4/0x530 [ 69.528202][ T18] _raw_spin_lock_irqsave+0xd5/0x120 [ 69.535140][ T18] rcu_core+0x3ae/0x1830 [ 69.541044][ T18] __do_softirq+0x2bc/0x943 [ 69.547396][ T18] __irq_exit_rcu+0xf2/0x1c0 [ 69.553639][ T18] irq_exit_rcu+0x9/0x30 [ 69.559531][ T18] sysvec_apic_timer_interrupt+0xa6/0xc0 [ 69.566837][ T18] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 69.574470][ T18] __sanitizer_cov_trace_pc+0x37/0x70 [ 69.581510][ T18] next_arg+0x15c/0x550 [ 69.587346][ T18] parse_args+0x1d5/0xdc0 [ 69.593425][ T18] dynamic_debug_init+0x4a4/0x5a0 [ 69.600099][ T18] do_one_initcall+0x238/0x830 [ 69.606511][ T18] do_pre_smp_initcalls+0x57/0xa0 [ 69.613184][ T18] kernel_init_freeable+0x40d/0x5d0 [ 69.620027][ T18] kernel_init+0x1d/0x2a0 [ 69.626095][ T18] ret_from_fork+0x4b/0x80 [ 69.632159][ T18] ret_from_fork_asm+0x1a/0x30 [ 69.638575][ T18] INITIAL USE at: [ 69.642462][ T18] lock_acquire+0x1e4/0x530 [ 69.648529][ T18] _raw_spin_lock_irqsave+0xd5/0x120 [ 69.655377][ T18] rcutree_prepare_cpu+0x71/0x640 [ 69.661960][ T18] rcu_init+0x9b/0x140 [ 69.667594][ T18] start_kernel+0x1f7/0x500 [ 69.673657][ T18] x86_64_start_reservations+0x2a/0x30 [ 69.680677][ T18] x86_64_start_kernel+0x99/0xa0 [ 69.687226][ T18] common_startup_64+0x13e/0x147 [ 69.693722][ T18] } [ 69.696304][ T18] ... key at: [] rcu_init_one.rcu_node_class+0x0/0x20 [ 69.705241][ T18] [ 69.705241][ T18] the dependencies between the lock to be acquired [ 69.705250][ T18] and HARDIRQ-irq-unsafe lock: [ 69.718766][ T18] -> (&htab->buckets[i].lock){+...}-{2:2} { [ 69.724673][ T18] HARDIRQ-ON-W at: [ 69.728732][ T18] lock_acquire+0x1e4/0x530 [ 69.734916][ T18] _raw_spin_lock_bh+0x35/0x50 [ 69.741506][ T18] sock_hash_delete_elem+0xb0/0x300 [ 69.748383][ T18] 0xffffffffa0001db2 [ 69.754011][ T18] bpf_trace_run2+0x204/0x420 [ 69.760423][ T18] trace_contention_end+0xd7/0x100 [ 69.767186][ T18] __mutex_lock+0x2e5/0xd70 [ 69.773345][ T18] futex_exit_release+0x34/0x1f0 [ 69.779944][ T18] exit_mm_release+0x1a/0x30 [ 69.786179][ T18] exit_mm+0xb0/0x310 [ 69.791806][ T18] do_exit+0x99e/0x27e0 [ 69.797609][ T18] do_group_exit+0x207/0x2c0 [ 69.803854][ T18] __x64_sys_exit_group+0x3f/0x40 [ 69.810611][ T18] do_syscall_64+0xfb/0x240 [ 69.816850][ T18] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 69.824400][ T18] INITIAL USE at: [ 69.828286][ T18] lock_acquire+0x1e4/0x530 [ 69.834348][ T18] _raw_spin_lock_bh+0x35/0x50 [ 69.840669][ T18] sock_hash_delete_elem+0xb0/0x300 [ 69.847425][ T18] 0xffffffffa0001db2 [ 69.853060][ T18] bpf_trace_run2+0x204/0x420 [ 69.859298][ T18] trace_contention_end+0xd7/0x100 [ 69.865977][ T18] __mutex_lock+0x2e5/0xd70 [ 69.872047][ T18] futex_exit_release+0x34/0x1f0 [ 69.878546][ T18] exit_mm_release+0x1a/0x30 [ 69.884693][ T18] exit_mm+0xb0/0x310 [ 69.890234][ T18] do_exit+0x99e/0x27e0 [ 69.895959][ T18] do_group_exit+0x207/0x2c0 [ 69.902123][ T18] __x64_sys_exit_group+0x3f/0x40 [ 69.908799][ T18] do_syscall_64+0xfb/0x240 [ 69.914862][ T18] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 69.922323][ T18] } [ 69.924813][ T18] ... key at: [] sock_hash_alloc.__key+0x0/0x20 [ 69.933167][ T18] ... acquired at: [ 69.936961][ T18] lock_acquire+0x1e4/0x530 [ 69.941635][ T18] _raw_spin_lock_bh+0x35/0x50 [ 69.946565][ T18] sock_hash_delete_elem+0xb0/0x300 [ 69.951929][ T18] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 69.957644][ T18] bpf_trace_run2+0x204/0x420 [ 69.962498][ T18] trace_contention_end+0xf6/0x120 [ 69.967780][ T18] __pv_queued_spin_lock_slowpath+0x939/0xc60 [ 69.974021][ T18] queued_spin_lock_slowpath+0x42/0x50 [ 69.979655][ T18] do_raw_spin_lock+0x272/0x370 [ 69.984774][ T18] _raw_spin_lock_irqsave+0xe1/0x120 [ 69.990230][ T18] sync_rcu_exp_done_unlocked+0xe/0x140 [ 69.995969][ T18] rcu_exp_sel_wait_wake+0x628/0x1df0 [ 70.001626][ T18] kthread_worker_fn+0x4bf/0xab0 [ 70.006735][ T18] kthread+0x2f0/0x390 [ 70.010979][ T18] ret_from_fork+0x4b/0x80 [ 70.015572][ T18] ret_from_fork_asm+0x1a/0x30 [ 70.020507][ T18] [ 70.022817][ T18] [ 70.022817][ T18] stack backtrace: [ 70.028707][ T18] CPU: 1 PID: 18 Comm: rcu_exp_gp_kthr Not tainted 6.8.0-syzkaller-05236-g443574b03387 #0 [ 70.038610][ T18] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 70.048757][ T18] Call Trace: [ 70.052071][ T18] [ 70.055013][ T18] dump_stack_lvl+0x1e7/0x2e0 [ 70.059797][ T18] ? __pfx_dump_stack_lvl+0x10/0x10 [ 70.065004][ T18] ? __pfx__printk+0x10/0x10 [ 70.069776][ T18] ? print_shortest_lock_dependencies+0xf2/0x160 [ 70.076133][ T18] validate_chain+0x4dc7/0x58e0 [ 70.081030][ T18] ? __pfx_validate_chain+0x10/0x10 [ 70.086260][ T18] ? __pfx_validate_chain+0x10/0x10 [ 70.091457][ T18] ? __lock_acquire+0x1346/0x1fd0 [ 70.096573][ T18] ? mark_lock+0x9a/0x350 [ 70.100902][ T18] __lock_acquire+0x1346/0x1fd0 [ 70.105771][ T18] lock_acquire+0x1e4/0x530 [ 70.110303][ T18] ? sock_hash_delete_elem+0xb0/0x300 [ 70.115711][ T18] ? __pfx_lockdep_softirqs_off+0x10/0x10 [ 70.121452][ T18] ? __pfx_lock_acquire+0x10/0x10 [ 70.126500][ T18] ? __pfx_validate_chain+0x10/0x10 [ 70.131728][ T18] ? sock_hash_delete_elem+0xb0/0x300 [ 70.137106][ T18] ? __pfx___local_bh_disable_ip+0x10/0x10 [ 70.143031][ T18] ? __pfx_lock_acquire+0x10/0x10 [ 70.148053][ T18] ? stack_depot_save_flags+0x37d/0x860 [ 70.153609][ T18] ? sock_hash_delete_elem+0xb0/0x300 [ 70.158978][ T18] _raw_spin_lock_bh+0x35/0x50 [ 70.163829][ T18] ? sock_hash_delete_elem+0xb0/0x300 [ 70.169371][ T18] sock_hash_delete_elem+0xb0/0x300 [ 70.174568][ T18] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 70.180030][ T18] bpf_trace_run2+0x204/0x420 [ 70.184706][ T18] ? mark_lock+0x9a/0x350 [ 70.189119][ T18] ? bpf_trace_run2+0x114/0x420 [ 70.193970][ T18] ? __pfx_bpf_trace_run2+0x10/0x10 [ 70.199216][ T18] trace_contention_end+0xf6/0x120 [ 70.204567][ T18] __pv_queued_spin_lock_slowpath+0x939/0xc60 [ 70.210653][ T18] ? __pfx___pv_queued_spin_lock_slowpath+0x10/0x10 [ 70.217241][ T18] queued_spin_lock_slowpath+0x42/0x50 [ 70.222716][ T18] do_raw_spin_lock+0x272/0x370 [ 70.227630][ T18] ? __pfx_do_raw_spin_lock+0x10/0x10 [ 70.233023][ T18] _raw_spin_lock_irqsave+0xe1/0x120 [ 70.238306][ T18] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 70.244196][ T18] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 70.250081][ T18] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 70.256412][ T18] sync_rcu_exp_done_unlocked+0xe/0x140 [ 70.262071][ T18] rcu_exp_sel_wait_wake+0x628/0x1df0 [ 70.267450][ T18] ? lockdep_hardirqs_on_prepare+0x43d/0x780 [ 70.273436][ T18] ? __pfx_rcu_exp_sel_wait_wake+0x10/0x10 [ 70.279235][ T18] ? _raw_spin_lock_irq+0xdf/0x120 [ 70.284355][ T18] kthread_worker_fn+0x4bf/0xab0 [ 70.289290][ T18] ? kthread_worker_fn+0xdc/0xab0 [ 70.294311][ T18] ? __pfx_wait_rcu_exp_gp+0x10/0x10 [ 70.299608][ T18] ? __pfx_kthread_worker_fn+0x10/0x10 [ 70.305087][ T18] kthread+0x2f0/0x390 [ 70.309156][ T18] ? __pfx_kthread_worker_fn+0x10/0x10 [ 70.314609][ T18] ? __pfx_kthread+0x10/0x10 [ 70.319190][ T18] ret_from_fork+0x4b/0x80 [ 70.323608][ T18] ? __pfx_kthread+0x10/0x10 [ 70.328189][ T18] ret_from_fork_asm+0x1a/0x30 [ 70.332955][ T18]