Warning: Permanently added '10.128.0.157' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program [ 51.400423][ T7] [ 51.402782][ T7] ============================================ [ 51.408920][ T7] WARNING: possible recursive locking detected [ 51.415063][ T7] 5.15.157-syzkaller #0 Not tainted [ 51.420257][ T7] -------------------------------------------- [ 51.426406][ T7] kworker/0:0/7 is trying to acquire lock: [ 51.432202][ T7] ffff88801d90c168 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.442586][ T7] [ 51.442586][ T7] but task is already holding lock: [ 51.449939][ T7] ffff88801d90c168 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.460286][ T7] [ 51.460286][ T7] other info that might help us debug this: [ 51.468429][ T7] Possible unsafe locking scenario: [ 51.468429][ T7] [ 51.475872][ T7] CPU0 [ 51.479142][ T7] ---- [ 51.482411][ T7] lock(&htab->buckets[i].lock); [ 51.487448][ T7] lock(&htab->buckets[i].lock); [ 51.493293][ T7] [ 51.493293][ T7] *** DEADLOCK *** [ 51.493293][ T7] [ 51.501737][ T7] May be due to missing lock nesting notation [ 51.501737][ T7] [ 51.512082][ T7] 6 locks held by kworker/0:0/7: [ 51.517033][ T7] #0: ffff888011c72138 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.527393][ T7] #1: ffffc90000cc7d20 ((work_completion)(&sdp->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.538441][ T7] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.547752][ T7] #3: ffff88801d90c168 (&htab->buckets[i].lock){+...}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 51.558577][ T7] #4: ffff88814178b290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 51.568231][ T7] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.577543][ T7] [ 51.577543][ T7] stack backtrace: [ 51.583421][ T7] CPU: 0 PID: 7 Comm: kworker/0:0 Not tainted 5.15.157-syzkaller #0 [ 51.591391][ T7] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 51.601452][ T7] Workqueue: rcu_gp srcu_invoke_callbacks [ 51.607204][ T7] Call Trace: [ 51.610484][ T7] [ 51.613416][ T7] dump_stack_lvl+0x1e3/0x2d0 [ 51.618096][ T7] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 51.623730][ T7] ? panic+0x860/0x860 [ 51.627803][ T7] validate_chain+0x46d2/0x5930 [ 51.632658][ T7] ? arch_stack_walk+0x10d/0x140 [ 51.637778][ T7] ? reacquire_held_locks+0x660/0x660 [ 51.643147][ T7] ? check_noncircular+0x1e1/0x3b0 [ 51.648282][ T7] ? lockdep_unlock+0x166/0x300 [ 51.653134][ T7] ? lockdep_lock+0x2a0/0x2a0 [ 51.657978][ T7] ? add_chain_block+0x850/0x850 [ 51.662920][ T7] ? reacquire_held_locks+0x660/0x660 [ 51.668309][ T7] ? mark_lock+0x98/0x340 [ 51.672650][ T7] __lock_acquire+0x1295/0x1ff0 [ 51.677531][ T7] lock_acquire+0x1db/0x4f0 [ 51.682028][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 51.687489][ T7] ? read_lock_is_recursive+0x10/0x10 [ 51.692861][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 51.698320][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 51.703435][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 51.708905][ T7] _raw_spin_lock_bh+0x31/0x40 [ 51.713671][ T7] ? sock_hash_delete_elem+0x177/0x400 [ 51.719128][ T7] sock_hash_delete_elem+0x177/0x400 [ 51.724412][ T7] ? sock_hash_lookup+0x660/0x660 [ 51.729522][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0xc1c [ 51.735075][ T7] bpf_trace_run2+0x19e/0x340 [ 51.739752][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.744602][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 51.749454][ T7] ? do_raw_spin_lock+0x14a/0x370 [ 51.754485][ T7] ? __bpf_trace_softirq+0x10/0x10 [ 51.759614][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 51.764463][ T7] __bpf_trace_kfree+0x6e/0x90 [ 51.769228][ T7] ? sock_map_unref+0x3ac/0x5d0 [ 51.774073][ T7] kfree+0x22f/0x270 [ 51.777964][ T7] ? sock_map_unref+0xcc/0x5d0 [ 51.782728][ T7] sock_map_unref+0x3ac/0x5d0 [ 51.787420][ T7] sock_hash_delete_elem+0x388/0x400 [ 51.792707][ T7] ? sock_hash_lookup+0x660/0x660 [ 51.797731][ T7] ? mark_lock+0x98/0x340 [ 51.802055][ T7] bpf_prog_2c29ac5cdc6b1842+0x3a/0xc1c [ 51.807598][ T7] bpf_trace_run2+0x19e/0x340 [ 51.812270][ T7] ? print_irqtrace_events+0x210/0x210 [ 51.817743][ T7] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.822589][ T7] ? srcu_invoke_callbacks+0x1b9/0x400 [ 51.828042][ T7] ? __local_bh_disable_ip+0x175/0x210 [ 51.833498][ T7] ? _raw_spin_unlock_irqrestore+0x8b/0x130 [ 51.839655][ T7] ? srcu_invoke_callbacks+0x1b9/0x400 [ 51.845110][ T7] __bpf_trace_kfree+0x6e/0x90 [ 51.849869][ T7] ? srcu_invoke_callbacks+0x1b9/0x400 [ 51.855339][ T7] kfree+0x22f/0x270 [ 51.859240][ T7] srcu_invoke_callbacks+0x1b9/0x400 [ 51.864540][ T7] ? read_lock_is_recursive+0x10/0x10 [ 51.869932][ T7] ? try_check_zero+0x360/0x360 [ 51.874780][ T7] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.880675][ T7] ? do_raw_spin_unlock+0x137/0x8b0 [ 51.885960][ T7] process_one_work+0x8a1/0x10c0 [ 51.890925][ T7] ? worker_detach_from_pool+0x260/0x260 [ 51.896555][ T7] ? _raw_spin_lock_irqsave+0x120/0x120 [ 51.902490][ T7] ? kthread_data+0x4e/0xc0 [ 51.907449][ T7] ? wq_worker_running+0x97/0x170 [ 51.912470][ T7] worker_thread+0xaca/0x1280 [ 51.917157][ T7] kthread+0x3f6/0x4f0 [ 51.921220][ T7] ? rcu_lock_release+0x20/0x20 [ 51.926071][ T7] ? kthread_blkcg+0xd0/0xd0 [ 51.930661][ T7] ret_from_fork+0x1f/0x30 [ 51.935088][ T7]