Warning: Permanently added '10.128.1.245' (ED25519) to the list of known hosts. executing program executing program executing program [ 51.096127][ T1280] [ 51.098500][ T1280] ============================================ [ 51.104645][ T1280] WARNING: possible recursive locking detected [ 51.110876][ T1280] 5.15.160-syzkaller #0 Not tainted [ 51.116075][ T1280] -------------------------------------------- [ 51.122215][ T1280] kworker/0:2/1280 is trying to acquire lock: [ 51.128274][ T1280] ffff8880796f89c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 51.137634][ T1280] [ 51.137634][ T1280] but task is already holding lock: [ 51.145015][ T1280] ffff8880796f89c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 51.154465][ T1280] [ 51.154465][ T1280] other info that might help us debug this: [ 51.162595][ T1280] Possible unsafe locking scenario: [ 51.162595][ T1280] [ 51.170045][ T1280] CPU0 [ 51.173331][ T1280] ---- [ 51.176606][ T1280] lock(&stab->lock); [ 51.180686][ T1280] lock(&stab->lock); [ 51.184744][ T1280] [ 51.184744][ T1280] *** DEADLOCK *** [ 51.184744][ T1280] [ 51.192882][ T1280] May be due to missing lock nesting notation [ 51.192882][ T1280] [ 51.201189][ T1280] 6 locks held by kworker/0:2/1280: [ 51.206379][ T1280] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 51.217269][ T1280] #1: ffffc900058ffd20 ((work_completion)(&aux->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 51.228330][ T1280] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.237651][ T1280] #3: ffff8880796f89c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 51.247479][ T1280] #4: ffff88814a83c290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 51.257129][ T1280] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 51.266439][ T1280] [ 51.266439][ T1280] stack backtrace: [ 51.272323][ T1280] CPU: 0 PID: 1280 Comm: kworker/0:2 Not tainted 5.15.160-syzkaller #0 [ 51.280640][ T1280] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 51.290692][ T1280] Workqueue: events bpf_prog_free_deferred [ 51.296502][ T1280] Call Trace: [ 51.299778][ T1280] [ 51.302703][ T1280] dump_stack_lvl+0x1e3/0x2d0 [ 51.307377][ T1280] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 51.313007][ T1280] ? panic+0x860/0x860 [ 51.317075][ T1280] validate_chain+0x46d2/0x5930 [ 51.321922][ T1280] ? stack_trace_save+0x1c0/0x1c0 [ 51.326966][ T1280] ? check_path+0x21/0x40 [ 51.331308][ T1280] ? check_noncircular+0x1e1/0x3b0 [ 51.336413][ T1280] ? reacquire_held_locks+0x660/0x660 [ 51.341783][ T1280] ? lockdep_unlock+0x166/0x300 [ 51.346623][ T1280] ? lockdep_lock+0x2a0/0x2a0 [ 51.351293][ T1280] ? add_chain_block+0x850/0x850 [ 51.356224][ T1280] ? reacquire_held_locks+0x660/0x660 [ 51.361592][ T1280] ? validate_chain+0x13bd/0x5930 [ 51.366610][ T1280] ? mark_lock+0x98/0x340 [ 51.370933][ T1280] __lock_acquire+0x1295/0x1ff0 [ 51.375792][ T1280] lock_acquire+0x1db/0x4f0 [ 51.380313][ T1280] ? sock_map_delete_elem+0x161/0x230 [ 51.385702][ T1280] ? read_lock_is_recursive+0x10/0x10 [ 51.391090][ T1280] ? sock_map_delete_elem+0x161/0x230 [ 51.396564][ T1280] ? __bpf_trace_softirq+0x10/0x10 [ 51.401686][ T1280] ? sock_map_delete_elem+0x161/0x230 [ 51.407061][ T1280] _raw_spin_lock_bh+0x31/0x40 [ 51.411852][ T1280] ? sock_map_delete_elem+0x161/0x230 [ 51.417223][ T1280] sock_map_delete_elem+0x161/0x230 [ 51.422515][ T1280] ? sock_map_update_elem+0x380/0x380 [ 51.427884][ T1280] bpf_prog_8a405b5ced52e191+0x42/0x65c [ 51.433421][ T1280] bpf_trace_run2+0x19e/0x340 [ 51.438096][ T1280] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.443022][ T1280] ? sock_map_unref+0x3ac/0x5d0 [ 51.448071][ T1280] ? do_raw_spin_lock+0x14a/0x370 [ 51.453110][ T1280] ? __bpf_trace_softirq+0x10/0x10 [ 51.458215][ T1280] ? sock_map_unref+0x3ac/0x5d0 [ 51.463073][ T1280] __bpf_trace_kfree+0x6e/0x90 [ 51.467853][ T1280] ? sock_map_unref+0x3ac/0x5d0 [ 51.472697][ T1280] kfree+0x22f/0x270 [ 51.476584][ T1280] ? sock_map_unref+0xcc/0x5d0 [ 51.481349][ T1280] sock_map_unref+0x3ac/0x5d0 [ 51.486025][ T1280] sock_map_delete_elem+0x191/0x230 [ 51.491321][ T1280] ? sock_map_update_elem+0x380/0x380 [ 51.496691][ T1280] ? lockdep_hardirqs_on_prepare+0x438/0x7a0 [ 51.502684][ T1280] bpf_prog_8a405b5ced52e191+0x42/0x65c [ 51.508224][ T1280] bpf_trace_run2+0x19e/0x340 [ 51.512984][ T1280] ? bpf_trace_run1+0x2f0/0x2f0 [ 51.517825][ T1280] ? __vunmap+0x977/0xa20 [ 51.522167][ T1280] ? __might_sleep+0xc0/0xc0 [ 51.526750][ T1280] ? __vunmap+0x977/0xa20 [ 51.531074][ T1280] __bpf_trace_kfree+0x6e/0x90 [ 51.535829][ T1280] ? __vunmap+0x977/0xa20 [ 51.540153][ T1280] kfree+0x22f/0x270 [ 51.544039][ T1280] ? _vm_unmap_aliases+0x481/0x4e0 [ 51.549157][ T1280] __vunmap+0x977/0xa20 [ 51.553323][ T1280] bpf_jit_free+0x92/0x180 [ 51.557736][ T1280] process_one_work+0x8a1/0x10c0 [ 51.562672][ T1280] ? worker_detach_from_pool+0x260/0x260 [ 51.568297][ T1280] ? _raw_spin_lock_irqsave+0x120/0x120 [ 51.573847][ T1280] ? kthread_data+0x4e/0xc0 [ 51.578349][ T1280] ? wq_worker_running+0x97/0x170 [ 51.583370][ T1280] worker_thread+0xaca/0x1280 [ 51.588050][ T1280] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 51.593969][ T1280] kthread+0x3f6/0x4f0 [ 51.598030][ T1280] ? rcu_lock_release+0x20/0x20 [ 51.602874][ T1280] ? kthread_blkcg+0xd0/0xd0 [ 51.607471][ T1280] ret_from_fork+0x1f/0x30 [ 51.611886][ T1280]