Warning: Permanently added '10.128.0.178' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program [ 48.622636][ C1] [ 48.624986][ C1] ============================================ [ 48.631124][ C1] WARNING: possible recursive locking detected [ 48.637336][ C1] 5.15.159-syzkaller #0 Not tainted [ 48.642510][ C1] -------------------------------------------- [ 48.648634][ C1] ksoftirqd/1/20 is trying to acquire lock: [ 48.654501][ C1] ffff88814ade6d68 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 48.664848][ C1] [ 48.664848][ C1] but task is already holding lock: [ 48.672190][ C1] ffff88814ade6d68 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 48.682694][ C1] [ 48.682694][ C1] other info that might help us debug this: [ 48.690822][ C1] Possible unsafe locking scenario: [ 48.690822][ C1] [ 48.698343][ C1] CPU0 [ 48.701688][ C1] ---- [ 48.704945][ C1] lock(&htab->buckets[i].lock); [ 48.709950][ C1] lock(&htab->buckets[i].lock); [ 48.715123][ C1] [ 48.715123][ C1] *** DEADLOCK *** [ 48.715123][ C1] [ 48.723427][ C1] May be due to missing lock nesting notation [ 48.723427][ C1] [ 48.731720][ C1] 5 locks held by ksoftirqd/1/20: [ 48.736807][ C1] #0: ffffffff8c91fba0 (rcu_callback){....}-{0:0}, at: rcu_lock_acquire+0x0/0x20 [ 48.746474][ C1] #1: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 48.755797][ C1] #2: ffff88814ade6d68 (&htab->buckets[i].lock){+.-.}-{2:2}, at: sock_hash_delete_elem+0x177/0x400 [ 48.766585][ C1] #3: ffff888072ae4290 (&psock->link_lock){+.-.}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 48.776336][ C1] #4: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 48.785721][ C1] [ 48.785721][ C1] stack backtrace: [ 48.791591][ C1] CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 5.15.159-syzkaller #0 [ 48.799632][ C1] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 48.809680][ C1] Call Trace: [ 48.812958][ C1] [ 48.815891][ C1] dump_stack_lvl+0x1e3/0x2d0 [ 48.820558][ C1] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 48.826276][ C1] ? panic+0x860/0x860 [ 48.830355][ C1] validate_chain+0x46d2/0x5930 [ 48.835279][ C1] ? bpf_prog_2c29ac5cdc6b1842+0x3a/0xc4c [ 48.841072][ C1] ? reacquire_held_locks+0x660/0x660 [ 48.846437][ C1] ? check_noncircular+0x1e1/0x3b0 [ 48.851573][ C1] ? lockdep_unlock+0x166/0x300 [ 48.856415][ C1] ? lockdep_lock+0x2a0/0x2a0 [ 48.861096][ C1] ? reacquire_held_locks+0x660/0x660 [ 48.866470][ C1] ? mark_lock+0x98/0x340 [ 48.870791][ C1] __lock_acquire+0x1295/0x1ff0 [ 48.875641][ C1] lock_acquire+0x1db/0x4f0 [ 48.880125][ C1] ? sock_hash_delete_elem+0x177/0x400 [ 48.885572][ C1] ? read_lock_is_recursive+0x10/0x10 [ 48.890940][ C1] ? sock_hash_delete_elem+0x177/0x400 [ 48.896465][ C1] ? __bpf_trace_softirq+0x10/0x10 [ 48.901562][ C1] ? sock_hash_delete_elem+0x177/0x400 [ 48.907002][ C1] _raw_spin_lock_bh+0x31/0x40 [ 48.911921][ C1] ? sock_hash_delete_elem+0x177/0x400 [ 48.917362][ C1] sock_hash_delete_elem+0x177/0x400 [ 48.922633][ C1] ? sock_hash_lookup+0x660/0x660 [ 48.927663][ C1] bpf_prog_2c29ac5cdc6b1842+0x3a/0xc4c [ 48.933277][ C1] bpf_trace_run2+0x19e/0x340 [ 48.938119][ C1] ? bpf_trace_run1+0x2f0/0x2f0 [ 48.942960][ C1] ? sock_map_unref+0x3ac/0x5d0 [ 48.947794][ C1] ? do_raw_spin_lock+0x14a/0x370 [ 48.952890][ C1] ? __bpf_trace_softirq+0x10/0x10 [ 48.957982][ C1] ? sock_map_unref+0x3ac/0x5d0 [ 48.962812][ C1] __bpf_trace_kfree+0x6e/0x90 [ 48.967560][ C1] ? sock_map_unref+0x3ac/0x5d0 [ 48.972416][ C1] kfree+0x22f/0x270 [ 48.976289][ C1] ? sock_map_unref+0xcc/0x5d0 [ 48.981034][ C1] sock_map_unref+0x3ac/0x5d0 [ 48.985938][ C1] sock_hash_delete_elem+0x388/0x400 [ 48.991232][ C1] ? sock_hash_lookup+0x660/0x660 [ 48.996267][ C1] bpf_prog_2c29ac5cdc6b1842+0x3a/0xc4c [ 49.001790][ C1] bpf_trace_run2+0x19e/0x340 [ 49.006459][ C1] ? bpf_trace_run1+0x2f0/0x2f0 [ 49.011375][ C1] ? security_task_free+0x96/0xc0 [ 49.016380][ C1] ? rcu_lock_release+0x5/0x20 [ 49.021213][ C1] ? __lock_acquire+0x1ff0/0x1ff0 [ 49.026222][ C1] ? security_task_free+0x96/0xc0 [ 49.031236][ C1] ? put_task_struct_rcu_user+0x90/0x90 [ 49.036775][ C1] __bpf_trace_kfree+0x6e/0x90 [ 49.041522][ C1] ? security_task_free+0x96/0xc0 [ 49.046530][ C1] kfree+0x22f/0x270 [ 49.050412][ C1] ? put_task_struct_rcu_user+0x90/0x90 [ 49.055942][ C1] security_task_free+0x96/0xc0 [ 49.060775][ C1] __put_task_struct+0xf4/0x2b0 [ 49.065606][ C1] rcu_core+0xa15/0x1650 [ 49.069936][ C1] ? local_bh_disable+0x20/0x20 [ 49.074859][ C1] ? run_ksoftirqd+0xc1/0x120 [ 49.079518][ C1] ? rcu_qs+0xed/0x190 [ 49.083563][ C1] ? rcu_softirq_qs+0x2b0/0x2b0 [ 49.088394][ C1] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 49.094353][ C1] ? print_irqtrace_events+0x210/0x210 [ 49.099793][ C1] ? rcu_softirq_qs+0x75/0x2b0 [ 49.104542][ C1] ? rcu_get_gp_kthreads_prio+0x10/0x10 [ 49.110162][ C1] __do_softirq+0x3b3/0x93a [ 49.114647][ C1] ? run_ksoftirqd+0xc1/0x120 [ 49.119311][ C1] ? __entry_text_end+0x1fe9f7/0x1fe9f7 [ 49.124843][ C1] ? run_ksoftirqd+0xa3/0x120 [ 49.129502][ C1] ? lockdep_hardirqs_off+0x70/0x100 [ 49.134770][ C1] run_ksoftirqd+0xc1/0x120 [ 49.139252][ C1] ? ksoftirqd_should_run+0x20/0x20 [ 49.144437][ C1] ? smpboot_thread_fn+0x2c1/0x9d0 [ 49.149529][ C1] ? ksoftirqd_should_run+0x20/0x20 [ 49.154705][ C1] smpboot_thread_fn+0x51b/0x9d0 [ 49.159636][ C1] kthread+0x3f6/0x4f0 [ 49.163799][ C1] ? cpu_report_death+0x180/0x180 [ 49.168826][ C1] ? kthread_blkcg+0xd0/0xd0 [ 49.173394][ C1] ret_from_fork+0x1f/0x30 [ 49.177795][ C1]