Warning: Permanently added '10.128.0.251' (ED25519) to the list of known hosts. executing program executing program executing program syzkaller login: [ 41.869099][ T1281] [ 41.871452][ T1281] ============================================ [ 41.877583][ T1281] WARNING: possible recursive locking detected [ 41.883797][ T1281] 5.15.156-syzkaller #0 Not tainted [ 41.888968][ T1281] -------------------------------------------- [ 41.895146][ T1281] kworker/0:3/1281 is trying to acquire lock: [ 41.901187][ T1281] ffff88807c7345c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.910679][ T1281] [ 41.910679][ T1281] but task is already holding lock: [ 41.918027][ T1281] ffff88807c7345c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.928043][ T1281] [ 41.928043][ T1281] other info that might help us debug this: [ 41.939746][ T1281] Possible unsafe locking scenario: [ 41.939746][ T1281] [ 41.947290][ T1281] CPU0 [ 41.950564][ T1281] ---- [ 41.953871][ T1281] lock(&stab->lock); [ 41.958032][ T1281] lock(&stab->lock); [ 41.962085][ T1281] [ 41.962085][ T1281] *** DEADLOCK *** [ 41.962085][ T1281] [ 41.970314][ T1281] May be due to missing lock nesting notation [ 41.970314][ T1281] [ 41.978708][ T1281] 6 locks held by kworker/0:3/1281: [ 41.983899][ T1281] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 41.996039][ T1281] #1: ffffc900054ffd20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 42.010854][ T1281] #2: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.020250][ T1281] #3: ffff88807c7345c0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.030436][ T1281] #4: ffff8881467a2290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 42.040101][ T1281] #5: ffffffff8c91fb20 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.049389][ T1281] [ 42.049389][ T1281] stack backtrace: [ 42.055255][ T1281] CPU: 0 PID: 1281 Comm: kworker/0:3 Not tainted 5.15.156-syzkaller #0 [ 42.063476][ T1281] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 42.073511][ T1281] Workqueue: events bpf_map_free_deferred [ 42.079219][ T1281] Call Trace: [ 42.082568][ T1281] [ 42.085483][ T1281] dump_stack_lvl+0x1e3/0x2d0 [ 42.090145][ T1281] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.096205][ T1281] ? panic+0x860/0x860 [ 42.103904][ T1281] validate_chain+0x46d2/0x5930 [ 42.109141][ T1281] ? stack_trace_save+0x1c0/0x1c0 [ 42.114246][ T1281] ? check_path+0x21/0x40 [ 42.118666][ T1281] ? check_noncircular+0x1e1/0x3b0 [ 42.124012][ T1281] ? reacquire_held_locks+0x660/0x660 [ 42.129393][ T1281] ? lockdep_unlock+0x166/0x300 [ 42.134239][ T1281] ? lockdep_lock+0x2a0/0x2a0 [ 42.138900][ T1281] ? add_chain_block+0x850/0x850 [ 42.143823][ T1281] ? reacquire_held_locks+0x660/0x660 [ 42.149183][ T1281] ? validate_chain+0x13bd/0x5930 [ 42.154189][ T1281] ? mark_lock+0x98/0x340 [ 42.158499][ T1281] __lock_acquire+0x1295/0x1ff0 [ 42.163338][ T1281] lock_acquire+0x1db/0x4f0 [ 42.167820][ T1281] ? sock_map_delete_elem+0x161/0x230 [ 42.173175][ T1281] ? read_lock_is_recursive+0x10/0x10 [ 42.178531][ T1281] ? sock_map_delete_elem+0x161/0x230 [ 42.183888][ T1281] ? __bpf_trace_softirq+0x10/0x10 [ 42.188981][ T1281] ? sock_map_delete_elem+0x161/0x230 [ 42.194372][ T1281] _raw_spin_lock_bh+0x31/0x40 [ 42.199959][ T1281] ? sock_map_delete_elem+0x161/0x230 [ 42.208026][ T1281] sock_map_delete_elem+0x161/0x230 [ 42.213422][ T1281] ? sock_map_update_elem+0x380/0x380 [ 42.218798][ T1281] bpf_prog_8a405b5ced52e191+0x42/0x468 [ 42.224465][ T1281] bpf_trace_run2+0x19e/0x340 [ 42.229146][ T1281] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.233980][ T1281] ? sock_map_unref+0x3ac/0x5d0 [ 42.238820][ T1281] ? do_raw_spin_lock+0x14a/0x370 [ 42.243845][ T1281] ? __bpf_trace_softirq+0x10/0x10 [ 42.248939][ T1281] ? sock_map_unref+0x3ac/0x5d0 [ 42.253784][ T1281] __bpf_trace_kfree+0x6e/0x90 [ 42.258550][ T1281] ? sock_map_unref+0x3ac/0x5d0 [ 42.263395][ T1281] kfree+0x22f/0x270 [ 42.267274][ T1281] ? sock_map_unref+0xcc/0x5d0 [ 42.272028][ T1281] sock_map_unref+0x3ac/0x5d0 [ 42.276691][ T1281] sock_map_delete_elem+0x191/0x230 [ 42.281877][ T1281] ? sock_map_update_elem+0x380/0x380 [ 42.287349][ T1281] bpf_prog_8a405b5ced52e191+0x42/0x468 [ 42.292887][ T1281] bpf_trace_run2+0x19e/0x340 [ 42.297548][ T1281] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.302382][ T1281] ? sock_map_free+0x363/0x3a0 [ 42.307154][ T1281] ? sock_map_free+0x363/0x3a0 [ 42.312007][ T1281] __bpf_trace_kfree+0x6e/0x90 [ 42.316762][ T1281] ? sock_map_free+0x363/0x3a0 [ 42.321519][ T1281] kfree+0x22f/0x270 [ 42.325399][ T1281] ? print_irqtrace_events+0x210/0x210 [ 42.330836][ T1281] sock_map_free+0x363/0x3a0 [ 42.335415][ T1281] process_one_work+0x8a1/0x10c0 [ 42.340342][ T1281] ? worker_detach_from_pool+0x260/0x260 [ 42.345966][ T1281] ? _raw_spin_lock_irqsave+0x120/0x120 [ 42.351496][ T1281] ? kthread_data+0x4e/0xc0 [ 42.355983][ T1281] ? wq_worker_running+0x97/0x170 [ 42.360994][ T1281] worker_thread+0xaca/0x1280 [ 42.365662][ T1281] kthread+0x3f6/0x4f0 [ 42.369708][ T1281] ? rcu_lock_release+0x20/0x20 [ 42.374541][ T1281] ? kthread_blkcg+0xd0/0xd0 [ 42.379109][ T1281] ret_from_fork+0x1f/0x30 [ 42.383508][ T1281]