Warning: Permanently added '10.128.0.216' (ED25519) to the list of known hosts. executing program executing program executing program executing program [ 41.633662][ T1065] [ 41.636013][ T1065] ============================================ [ 41.642140][ T1065] WARNING: possible recursive locking detected [ 41.648266][ T1065] 5.15.160-syzkaller #0 Not tainted [ 41.653435][ T1065] -------------------------------------------- [ 41.659555][ T1065] kworker/1:2/1065 is trying to acquire lock: [ 41.665592][ T1065] ffff88807e2a7dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.674901][ T1065] [ 41.674901][ T1065] but task is already holding lock: [ 41.682254][ T1065] ffff88807e2a7dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.691617][ T1065] [ 41.691617][ T1065] other info that might help us debug this: [ 41.699650][ T1065] Possible unsafe locking scenario: [ 41.699650][ T1065] [ 41.707074][ T1065] CPU0 [ 41.710327][ T1065] ---- [ 41.713581][ T1065] lock(&stab->lock); [ 41.717625][ T1065] lock(&stab->lock); [ 41.721727][ T1065] [ 41.721727][ T1065] *** DEADLOCK *** [ 41.721727][ T1065] [ 41.729844][ T1065] May be due to missing lock nesting notation [ 41.729844][ T1065] [ 41.738219][ T1065] 6 locks held by kworker/1:2/1065: [ 41.743389][ T1065] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 41.753889][ T1065] #1: ffffc900048c7d20 ((work_completion)(&(&psock->rwork)->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 41.766040][ T1065] #2: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 41.775319][ T1065] #3: ffff88807e2a7dc0 (&stab->lock){+...}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 41.785469][ T1065] #4: ffff88814b8b1290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 41.795096][ T1065] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 41.804375][ T1065] [ 41.804375][ T1065] stack backtrace: [ 41.810246][ T1065] CPU: 1 PID: 1065 Comm: kworker/1:2 Not tainted 5.15.160-syzkaller #0 [ 41.818459][ T1065] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 [ 41.828494][ T1065] Workqueue: events sk_psock_destroy [ 41.833765][ T1065] Call Trace: [ 41.837030][ T1065] [ 41.839943][ T1065] dump_stack_lvl+0x1e3/0x2d0 [ 41.844600][ T1065] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 41.850211][ T1065] ? panic+0x860/0x860 [ 41.854266][ T1065] validate_chain+0x46d2/0x5930 [ 41.859096][ T1065] ? stack_trace_save+0x1c0/0x1c0 [ 41.864116][ T1065] ? check_path+0x21/0x40 [ 41.868423][ T1065] ? check_noncircular+0x1e1/0x3b0 [ 41.873510][ T1065] ? reacquire_held_locks+0x660/0x660 [ 41.878862][ T1065] ? lockdep_unlock+0x166/0x300 [ 41.884122][ T1065] ? lockdep_lock+0x2a0/0x2a0 [ 41.888776][ T1065] ? add_chain_block+0x850/0x850 [ 41.893690][ T1065] ? reacquire_held_locks+0x660/0x660 [ 41.899040][ T1065] ? validate_chain+0x13bd/0x5930 [ 41.904042][ T1065] ? mark_lock+0x98/0x340 [ 41.908349][ T1065] __lock_acquire+0x1295/0x1ff0 [ 41.913181][ T1065] lock_acquire+0x1db/0x4f0 [ 41.917678][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 41.923028][ T1065] ? read_lock_is_recursive+0x10/0x10 [ 41.928379][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 41.933816][ T1065] ? __bpf_trace_softirq+0x10/0x10 [ 41.938917][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 41.944706][ T1065] _raw_spin_lock_bh+0x31/0x40 [ 41.949447][ T1065] ? sock_map_delete_elem+0x161/0x230 [ 41.954794][ T1065] sock_map_delete_elem+0x161/0x230 [ 41.960161][ T1065] ? sock_map_update_elem+0x380/0x380 [ 41.965515][ T1065] bpf_prog_2c29ac5cdc6b1842+0x3a/0xfcc [ 41.971205][ T1065] bpf_trace_run2+0x19e/0x340 [ 41.975878][ T1065] ? bpf_trace_run1+0x2f0/0x2f0 [ 41.980708][ T1065] ? sock_map_unref+0x3ac/0x5d0 [ 41.985548][ T1065] ? do_raw_spin_lock+0x14a/0x370 [ 41.990555][ T1065] ? __bpf_trace_softirq+0x10/0x10 [ 41.995651][ T1065] ? sock_map_unref+0x3ac/0x5d0 [ 42.000486][ T1065] __bpf_trace_kfree+0x6e/0x90 [ 42.005230][ T1065] ? sock_map_unref+0x3ac/0x5d0 [ 42.010147][ T1065] kfree+0x22f/0x270 [ 42.014025][ T1065] ? sock_map_unref+0xcc/0x5d0 [ 42.018770][ T1065] sock_map_unref+0x3ac/0x5d0 [ 42.023427][ T1065] sock_map_delete_elem+0x191/0x230 [ 42.028602][ T1065] ? sock_map_update_elem+0x380/0x380 [ 42.033976][ T1065] ? mark_lock+0x98/0x340 [ 42.038283][ T1065] bpf_prog_2c29ac5cdc6b1842+0x3a/0xfcc [ 42.043806][ T1065] bpf_trace_run2+0x19e/0x340 [ 42.048547][ T1065] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.053374][ T1065] ? security_sk_free+0x40/0x80 [ 42.058307][ T1065] ? lockdep_hardirqs_on+0x94/0x130 [ 42.063486][ T1065] ? asm_sysvec_call_function_single+0x16/0x20 [ 42.069619][ T1065] ? security_sk_free+0x40/0x80 [ 42.074619][ T1065] __bpf_trace_kfree+0x6e/0x90 [ 42.079362][ T1065] ? security_sk_free+0x40/0x80 [ 42.084194][ T1065] kfree+0x22f/0x270 [ 42.088070][ T1065] ? apparmor_sk_free_security+0x5c/0x170 [ 42.093772][ T1065] security_sk_free+0x40/0x80 [ 42.098425][ T1065] __sk_destruct+0x56a/0x840 [ 42.102992][ T1065] sk_psock_destroy+0x7f7/0x870 [ 42.107823][ T1065] process_one_work+0x8a1/0x10c0 [ 42.112740][ T1065] ? worker_detach_from_pool+0x260/0x260 [ 42.118351][ T1065] ? _raw_spin_lock_irqsave+0x120/0x120 [ 42.123873][ T1065] ? kthread_data+0x4e/0xc0 [ 42.128370][ T1065] ? wq_worker_running+0x97/0x170 [ 42.133369][ T1065] worker_thread+0xaca/0x1280 [ 42.138031][ T1065] kthread+0x3f6/0x4f0 [ 42.142077][ T1065] ? rcu_lock_release+0x20/0x20 [ 42.146912][ T1065] ? kthread_blkcg+0xd0/0xd0 [ 42.151481][ T1065] ret_from_fork+0x1f/0x30 [ 42.155883][ T1065]