Warning: Permanently added '10.128.10.32' (ED25519) to the list of known hosts. executing program executing program executing program executing program syzkaller login: [ 50.239866][ T7] [ 50.242328][ T7] ============================================ [ 50.248554][ T7] WARNING: possible recursive locking detected [ 50.254678][ T7] 5.15.158-syzkaller #0 Not tainted [ 50.259975][ T7] -------------------------------------------- [ 50.266241][ T7] kworker/0:0/7 is trying to acquire lock: [ 50.272226][ T7] ffff888023916c68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 50.283017][ T7] [ 50.283017][ T7] but task is already holding lock: [ 50.290470][ T7] ffff888023916c68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 50.300984][ T7] [ 50.300984][ T7] other info that might help us debug this: [ 50.309081][ T7] Possible unsafe locking scenario: [ 50.309081][ T7] [ 50.316620][ T7] CPU0 [ 50.319996][ T7] ---- [ 50.324071][ T7] lock(&htab->buckets[i].lock); [ 50.329876][ T7] lock(&htab->buckets[i].lock); [ 50.334906][ T7] [ 50.334906][ T7] *** DEADLOCK *** [ 50.334906][ T7] [ 50.343236][ T7] May be due to missing lock nesting notation [ 50.343236][ T7] [ 50.351639][ T7] 4 locks held by kworker/0:0/7: [ 50.356641][ T7] #0: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.366917][ T7] #1: ffff888023916c68 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 50.377902][ T7] #2: ffff88807bf66290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 50.387860][ T7] #3: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 50.397735][ T7] [ 50.397735][ T7] stack backtrace: [ 50.403998][ T7] CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 5.15.158-syzkaller #0 [ 50.412078][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 50.422535][ T7] Workqueue: 0x0 (events) [ 50.427046][ T7] Call Trace: [ 50.430309][ T7] [ 50.433223][ T7] dump_stack_lvl+0x1e3/0x2d0 [ 50.438033][ T7] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 50.443682][ T7] ? panic+0x860/0x860 [ 50.448024][ T7] validate_chain+0x46d2/0x5930 [ 50.453000][ T7] ? arch_stack_walk+0x10d/0x140 [ 50.458440][ T7] ? reacquire_held_locks+0x660/0x660 [ 50.464824][ T7] ? check_noncircular+0x1e1/0x3b0 [ 50.470313][ T7] ? lockdep_unlock+0x166/0x300 [ 50.475515][ T7] ? lockdep_lock+0x2a0/0x2a0 [ 50.480404][ T7] ? reacquire_held_locks+0x660/0x660 [ 50.486748][ T7] ? mark_lock+0x98/0x340 [ 50.491083][ T7] __lock_acquire+0x1295/0x1ff0 [ 50.496182][ T7] lock_acquire+0x1db/0x4f0 [ 50.501024][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 50.506885][ T7] ? read_lock_is_recursive+0x10/0x10 [ 50.512267][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 50.519888][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 50.526526][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 50.532624][ T7] _raw_spin_lock_bh+0x31/0x40 [ 50.537425][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 50.543290][ T7] sock_hash_delete_elem+0x177/0x400 [ 50.548659][ T7] ? sock_hash_lookup+0x660/0x660 [ 50.553885][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0xca8 [ 50.559720][ T7] bpf_trace_run2+0x19e/0x340 [ 50.564420][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 50.569446][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 50.574672][ T7] ? do_raw_spin_lock+0x14a/0x370 [ 50.579933][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 50.585048][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 50.590165][ T7] __bpf_trace_kfree+0x6e/0x90 [ 50.595175][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 50.600034][ T7] kfree+0x22f/0x270 [ 50.604093][ T7] ? sock_map_unref+0xcc/0x5d0 [ 50.609055][ T7] sock_map_unref+0x3ac/0x5d0 [ 50.614241][ T7] sock_hash_delete_elem+0x388/0x400 [ 50.620010][ T7] ? sock_hash_lookup+0x660/0x660 [ 50.625752][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0xca8 [ 50.631833][ T7] bpf_trace_run2+0x19e/0x340 [ 50.637003][ T7] ? print_irqtrace_events+0x210/0x210 [ 50.644083][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 50.649519][ T7] ? ida_alloc_range+0x99f/0xa90 [ 50.654898][ T7] ? do_raw_spin_unlock+0x137/0x8b0 [ 50.660272][ T7] ? _raw_spin_unlock_irqrestore+0x8b/0x130 [ 50.666207][ T7] ? ida_alloc_range+0x99f/0xa90 [ 50.671150][ T7] __bpf_trace_kfree+0x6e/0x90 [ 50.675999][ T7] ? ida_alloc_range+0x99f/0xa90 [ 50.680940][ T7] kfree+0x22f/0x270 [ 50.684856][ T7] ida_alloc_range+0x99f/0xa90 [ 50.689915][ T7] ? idr_replace+0x230/0x230 [ 50.694517][ T7] ? __mod_timer+0xa8e/0xeb0 [ 50.699323][ T7] create_worker+0x9c/0x630 [ 50.704047][ T7] ? mod_timer_pending+0x20/0x20 [ 50.708993][ T7] ? print_irqtrace_events+0x210/0x210 [ 50.714756][ T7] ? _raw_spin_lock_irq+0xdb/0x110 [ 50.719887][ T7] ? workqueue_prepare_cpu+0x170/0x170 [ 50.725617][ T7] ? _raw_spin_unlock_irq+0x1f/0x40 [ 50.730979][ T7] ? lockdep_hardirqs_on+0x94/0x130 [ 50.736593][ T7] worker_thread+0x4bf/0x1280 [ 50.741299][ T7] kthread+0x3f6/0x4f0 [ 50.745499][ T7] ? rcu_lock_release+0x20/0x20 [ 50.750463][ T7] ? kthread_blkcg+0xd0/0xd0 [ 50.755066][ T7] ret_from_fork+0x1f/0x30 [ 50.759519][ T7]