Warning: Permanently added '10.128.0.226' (ED25519) to the list of known hosts. executing program executing program executing program executing program [ 51.830727][ T1280] [ 51.833093][ T1280] ============================================ [ 51.839243][ T1280] WARNING: possible recursive locking detected [ 51.845385][ T1280] 5.15.156-syzkaller #0 Not tainted [ 51.850576][ T1280] -------------------------------------------- [ 51.856736][ T1280] kworker/0:2/1280 is trying to acquire lock: [ 51.862798][ T1280] ffff888024413d68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.873182][ T1280] [ 51.873182][ T1280] but task is already holding lock: [ 51.880548][ T1280] ffff888024413d68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.890908][ T1280] [ 51.890908][ T1280] other info that might help us debug this: [ 51.898995][ T1280] Possible unsafe locking scenario: [ 51.898995][ T1280] [ 51.906444][ T1280] CPU0 [ 51.909717][ T1280] ---- [ 51.912990][ T1280] lock(&htab->buckets[i].lock); [ 51.918010][ T1280] lock(&htab->buckets[i].lock); [ 51.923033][ T1280] [ 51.923033][ T1280] *** DEADLOCK *** [ 51.923033][ T1280] [ 51.931166][ T1280] May be due to missing lock nesting notation [ 51.931166][ T1280] [ 51.939522][ T1280] 6 locks held by kworker/0:2/1280: [ 51.944722][ T1280] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.955083][ T1280] #1: ffffc900058afd20 ((work_completion)(&aux->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.966153][ T1280] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.975468][ T1280] #3: ffff888024413d68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.986264][ T1280] #4: ffff88807929b290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 51.995952][ T1280] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 52.005285][ T1280] [ 52.005285][ T1280] stack backtrace: [ 52.011169][ T1280] CPU: 0 PID: 1280 Comm: kworker/0:2 Not tainted 5.15.156-syzkaller #0 [ 52.019403][ T1280] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 52.029453][ T1280] Workqueue: events bpf_prog_free_deferred [ 52.035400][ T1280] Call Trace: [ 52.038678][ T1280] [ 52.041609][ T1280] dump_stack_lvl+0x1e3/0x2d0 [ 52.046294][ T1280] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 52.051922][ T1280] ? panic+0x860/0x860 [ 52.056344][ T1280] validate_chain+0x46d2/0x5930 [ 52.061201][ T1280] ? arch_stack_walk+0x10d/0x140 [ 52.066158][ T1280] ? reacquire_held_locks+0x660/0x660 [ 52.071548][ T1280] ? check_noncircular+0x1e1/0x3b0 [ 52.076670][ T1280] ? lockdep_unlock+0x166/0x300 [ 52.081520][ T1280] ? lockdep_lock+0x2a0/0x2a0 [ 52.086201][ T1280] ? add_chain_block+0x850/0x850 [ 52.091136][ T1280] ? reacquire_held_locks+0x660/0x660 [ 52.096714][ T1280] ? mark_lock+0x98/0x340 [ 52.101137][ T1280] __lock_acquire+0x1295/0x1ff0 [ 52.105992][ T1280] lock_acquire+0x1db/0x4f0 [ 52.110491][ T1280] ? sock_hash_delete_elem+0x177/0x400 [ 52.115978][ T1280] ? read_lock_is_recursive+0x10/0x10 [ 52.121347][ T1280] ? sock_hash_delete_elem+0x177/0x400 [ 52.126828][ T1280] ? __bpf_trace_softirq+0x10/0x10 [ 52.131946][ T1280] ? sock_hash_delete_elem+0x177/0x400 [ 52.137408][ T1280] _raw_spin_lock_bh+0x31/0x40 [ 52.142197][ T1280] ? sock_hash_delete_elem+0x177/0x400 [ 52.147656][ T1280] sock_hash_delete_elem+0x177/0x400 [ 52.152943][ T1280] ? sock_hash_lookup+0x660/0x660 [ 52.157975][ T1280] bpf_prog_2c29ac5cdc6b1842+0x3a/0x9c4 [ 52.163519][ T1280] bpf_trace_run2+0x19e/0x340 [ 52.168196][ T1280] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.173042][ T1280] ? sock_map_unref+0x3ac/0x5d0 [ 52.177896][ T1280] ? do_raw_spin_lock+0x14a/0x370 [ 52.182918][ T1280] ? __bpf_trace_softirq+0x10/0x10 [ 52.188025][ T1280] ? sock_map_unref+0x3ac/0x5d0 [ 52.192889][ T1280] __bpf_trace_kfree+0x6e/0x90 [ 52.197652][ T1280] ? sock_map_unref+0x3ac/0x5d0 [ 52.202498][ T1280] kfree+0x22f/0x270 [ 52.206396][ T1280] ? sock_map_unref+0xcc/0x5d0 [ 52.211163][ T1280] sock_map_unref+0x3ac/0x5d0 [ 52.215906][ T1280] sock_hash_delete_elem+0x388/0x400 [ 52.221193][ T1280] ? sock_hash_lookup+0x660/0x660 [ 52.226245][ T1280] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 52.232225][ T1280] bpf_prog_2c29ac5cdc6b1842+0x3a/0x9c4 [ 52.237788][ T1280] bpf_trace_run2+0x19e/0x340 [ 52.242554][ T1280] ? bpf_trace_run1+0x2f0/0x2f0 [ 52.247402][ T1280] ? __vunmap+0x977/0xa20 [ 52.251737][ T1280] ? __might_sleep+0xc0/0xc0 [ 52.256424][ T1280] ? __vunmap+0x977/0xa20 [ 52.260769][ T1280] __bpf_trace_kfree+0x6e/0x90 [ 52.265576][ T1280] ? __vunmap+0x977/0xa20 [ 52.269912][ T1280] kfree+0x22f/0x270 [ 52.273813][ T1280] ? _vm_unmap_aliases+0x481/0x4e0 [ 52.278944][ T1280] __vunmap+0x977/0xa20 [ 52.283102][ T1280] bpf_jit_free+0x92/0x180 [ 52.287516][ T1280] process_one_work+0x8a1/0x10c0 [ 52.292455][ T1280] ? worker_detach_from_pool+0x260/0x260 [ 52.298087][ T1280] ? _raw_spin_lock_irqsave+0x120/0x120 [ 52.303629][ T1280] ? kthread_data+0x4e/0xc0 [ 52.308130][ T1280] ? wq_worker_running+0x97/0x170 [ 52.313155][ T1280] worker_thread+0xaca/0x1280 [ 52.317833][ T1280] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 52.323759][ T1280] kthread+0x3f6/0x4f0 [ 52.327826][ T1280] ? rcu_lock_release+0x20/0x20 [ 52.332680][ T1280] ? kthread_blkcg+0xd0/0xd0 [ 52.337268][ T1280] ret_from_fork+0x1f/0x30 [ 52.341688][ T1280]