Warning: Permanently added '10.128.1.93' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program [ 51.700749][ T1066] [ 51.703116][ T1066] ============================================ [ 51.709357][ T1066] WARNING: possible recursive locking detected [ 51.715496][ T1066] 5.15.159-syzkaller #0 Not tainted [ 51.720682][ T1066] -------------------------------------------- [ 51.726825][ T1066] kworker/1:2/1066 is trying to acquire lock: [ 51.733001][ T1066] ffff88801942f268 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.743385][ T1066] [ 51.743385][ T1066] but task is already holding lock: [ 51.751280][ T1066] ffff88801942f268 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.761636][ T1066] [ 51.761636][ T1066] other info that might help us debug this: [ 51.769711][ T1066] Possible unsafe locking scenario: [ 51.769711][ T1066] [ 51.777177][ T1066] CPU0 [ 51.780481][ T1066] ---- [ 51.783753][ T1066] lock(&htab->buckets[i].lock); [ 51.788773][ T1066] lock(&htab->buckets[i].lock); [ 51.793803][ T1066] [ 51.793803][ T1066] *** DEADLOCK *** [ 51.793803][ T1066] [ 51.801940][ T1066] May be due to missing lock nesting notation [ 51.801940][ T1066] [ 51.810255][ T1066] 6 locks held by kworker/1:2/1066: [ 51.815450][ T1066] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.825813][ T1066] #1: ffffc90004537d20 ((work_completion)(&(&psock->rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.837912][ T1066] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.847229][ T1066] #3: ffff88801942f268 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.858020][ T1066] #4: ffff88807dd42290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 51.867855][ T1066] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.877190][ T1066] [ 51.877190][ T1066] stack backtrace: [ 51.883093][ T1066] CPU: 1 PID: 1066 Comm: kworker/1:2 Not tainted 5.15.159-syzkaller #0 [ 51.891504][ T1066] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 51.901556][ T1066] Workqueue: events sk_psock_destroy [ 51.906847][ T1066] Call Trace: [ 51.910125][ T1066] [ 51.913054][ T1066] dump_stack_lvl+0x1e3/0x2d0 [ 51.917734][ T1066] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 51.923369][ T1066] ? panic+0x860/0x860 [ 51.927453][ T1066] validate_chain+0x46d2/0x5930 [ 51.932311][ T1066] ? arch_stack_walk+0x10d/0x140 [ 51.937430][ T1066] ? reacquire_held_locks+0x660/0x660 [ 51.942803][ T1066] ? check_noncircular+0x1e1/0x3b0 [ 51.947921][ T1066] ? lockdep_unlock+0x166/0x300 [ 51.952770][ T1066] ? lockdep_lock+0x2a0/0x2a0 [ 51.957443][ T1066] ? add_chain_block+0x850/0x850 [ 51.962391][ T1066] ? reacquire_held_locks+0x660/0x660 [ 51.967769][ T1066] ? mark_lock+0x98/0x340 [ 51.972100][ T1066] __lock_acquire+0x1295/0x1ff0 [ 51.976957][ T1066] lock_acquire+0x1db/0x4f0 [ 51.981456][ T1066] ? sock_hash_delete_elem+0x177/0x400 [ 51.986920][ T1066] ? read_lock_is_recursive+0x10/0x10 [ 51.992377][ T1066] ? sock_hash_delete_elem+0x177/0x400 [ 51.997846][ T1066] ? __bpf_trace_softirq+0x10/0x10 [ 52.002957][ T1066] ? deref_stack_reg+0xbe/0x110 [ 52.007810][ T1066] ? sock_hash_delete_elem+0x177/0x400 [ 52.013269][ T1066] _raw_spin_lock_bh+0x31/0x40 [ 52.018034][ T1066] ? sock_hash_delete_elem+0x177/0x400 [ 52.023753][ T1066] sock_hash_delete_elem+0x177/0x400 [ 52.029041][ T1066] ? sock_hash_lookup+0x660/0x660 [ 52.034072][ T1066] bpf_prog_2c29ac5cdc6b1842+0x3a/0x190 [ 52.039616][ T1066] bpf_trace_run2+0x19e/0x340 [ 52.044296][ T1066] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.049148][ T1066] ? sock_map_unref+0x3ac/0x5d0 [ 52.054087][ T1066] ? do_raw_spin_lock+0x14a/0x370 [ 52.059112][ T1066] ? __bpf_trace_softirq+0x10/0x10 [ 52.064234][ T1066] ? sock_map_unref+0x3ac/0x5d0 [ 52.069088][ T1066] __bpf_trace_kfree+0x6e/0x90 [ 52.073850][ T1066] ? sock_map_unref+0x3ac/0x5d0 [ 52.078700][ T1066] kfree+0x22f/0x270 [ 52.082592][ T1066] ? sock_map_unref+0xcc/0x5d0 [ 52.087358][ T1066] sock_map_unref+0x3ac/0x5d0 [ 52.092038][ T1066] sock_hash_delete_elem+0x388/0x400 [ 52.097325][ T1066] ? sock_hash_lookup+0x660/0x660 [ 52.102353][ T1066] bpf_prog_2c29ac5cdc6b1842+0x3a/0x190 [ 52.107903][ T1066] bpf_trace_run2+0x19e/0x340 [ 52.112585][ T1066] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.117437][ T1066] ? security_sk_free+0x40/0x80 [ 52.122286][ T1066] ? rcu_lock_release+0x5/0x20 [ 52.127053][ T1066] ? security_sk_free+0x40/0x80 [ 52.131906][ T1066] __bpf_trace_kfree+0x6e/0x90 [ 52.136674][ T1066] ? security_sk_free+0x40/0x80 [ 52.141525][ T1066] kfree+0x22f/0x270 [ 52.145422][ T1066] security_sk_free+0x40/0x80 [ 52.150183][ T1066] __sk_destruct+0x56a/0x840 [ 52.154781][ T1066] sk_psock_destroy+0x7f7/0x870 [ 52.159634][ T1066] process_one_work+0x8a1/0x10c0 [ 52.164582][ T1066] ? worker_detach_from_pool+0x260/0x260 [ 52.170391][ T1066] ? _raw_spin_lock_irqsave+0x120/0x120 [ 52.176142][ T1066] ? kthread_data+0x4e/0xc0 [ 52.181270][ T1066] ? wq_worker_running+0x97/0x170 [ 52.186300][ T1066] worker_thread+0xaca/0x1280 [ 52.191089][ T1066] kthread+0x3f6/0x4f0 [ 52.195167][ T1066] ? rcu_lock_release+0x20/0x20 [ 52.200055][ T1066] ? kthread_blkcg+0xd0/0xd0 [ 52.204764][ T1066] ret_from_fork+0x1f/0x30 [ 52.209192][ T1066]