Warning: Permanently added '10.128.0.102' (ED25519) to the list of known hosts. executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 42.434922][ T3514] [ 42.437267][ T3514] ====================================================== [ 42.444263][ T3514] WARNING: possible circular locking dependency detected [ 42.451256][ T3514] 5.15.155-syzkaller #0 Not tainted [ 42.456428][ T3514] ------------------------------------------------------ [ 42.463421][ T3514] kworker/0:6/3514 is trying to acquire lock: [ 42.469460][ T3514] ffff88807d53b9c0 (&stab->lock){+.-.}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 42.478764][ T3514] [ 42.478764][ T3514] but task is already holding lock: [ 42.486113][ T3514] ffff888078996290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 42.495309][ T3514] [ 42.495309][ T3514] which lock already depends on the new lock. [ 42.495309][ T3514] [ 42.505685][ T3514] [ 42.505685][ T3514] the existing dependency chain (in reverse order) is: [ 42.514670][ T3514] [ 42.514670][ T3514] -> #1 (&psock->link_lock){+...}-{2:2}: [ 42.522461][ T3514] lock_acquire+0x1db/0x4f0 [ 42.527461][ T3514] _raw_spin_lock_bh+0x31/0x40 [ 42.532721][ T3514] sock_map_update_common+0x31c/0x5b0 [ 42.538603][ T3514] sock_map_update_elem_sys+0x440/0x770 [ 42.544644][ T3514] map_update_elem+0x6a0/0x7c0 [ 42.549906][ T3514] __sys_bpf+0x2fd/0x670 [ 42.554648][ T3514] __x64_sys_bpf+0x78/0x90 [ 42.559564][ T3514] do_syscall_64+0x3b/0xb0 [ 42.564482][ T3514] entry_SYSCALL_64_after_hwframe+0x66/0xd0 [ 42.570877][ T3514] [ 42.570877][ T3514] -> #0 (&stab->lock){+.-.}-{2:2}: [ 42.578148][ T3514] validate_chain+0x1649/0x5930 [ 42.583497][ T3514] __lock_acquire+0x1295/0x1ff0 [ 42.588843][ T3514] lock_acquire+0x1db/0x4f0 [ 42.593840][ T3514] _raw_spin_lock_bh+0x31/0x40 [ 42.599104][ T3514] sock_map_delete_elem+0x161/0x230 [ 42.604799][ T3514] bpf_prog_b89bc06253186eb1+0x4e/0x5c4 [ 42.610840][ T3514] bpf_trace_run2+0x19e/0x340 [ 42.616013][ T3514] __bpf_trace_kfree+0x6e/0x90 [ 42.621272][ T3514] __traceiter_kfree+0x26/0x40 [ 42.626534][ T3514] kfree+0x22f/0x270 [ 42.630928][ T3514] sock_map_unref+0x3ac/0x5d0 [ 42.636102][ T3514] sock_map_free+0x1c9/0x3a0 [ 42.641187][ T3514] process_one_work+0x8a1/0x10c0 [ 42.646622][ T3514] worker_thread+0xaca/0x1280 [ 42.651794][ T3514] kthread+0x3f6/0x4f0 [ 42.656356][ T3514] ret_from_fork+0x1f/0x30 [ 42.661270][ T3514] [ 42.661270][ T3514] other info that might help us debug this: [ 42.661270][ T3514] [ 42.671469][ T3514] Possible unsafe locking scenario: [ 42.671469][ T3514] [ 42.678893][ T3514] CPU0 CPU1 [ 42.684230][ T3514] ---- ---- [ 42.689568][ T3514] lock(&psock->link_lock); [ 42.694142][ T3514] lock(&stab->lock); [ 42.700720][ T3514] lock(&psock->link_lock); [ 42.707812][ T3514] lock(&stab->lock); [ 42.711868][ T3514] [ 42.711868][ T3514] *** DEADLOCK *** [ 42.711868][ T3514] [ 42.719989][ T3514] 6 locks held by kworker/0:6/3514: [ 42.725160][ T3514] #0: ffff888011c70938 ((wq_completion)events){+.+.}-{0:0}, at: process_one_work+0x78a/0x10c0 [ 42.735490][ T3514] #1: ffffc90002e67d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7d0/0x10c0 [ 42.746512][ T3514] #2: ffff888078431920 (sk_lock-AF_UNIX){+.+.}-{0:0}, at: sock_map_free+0x12b/0x3a0 [ 42.755976][ T3514] #3: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.765274][ T3514] #4: ffff888078996290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 42.774908][ T3514] #5: ffffffff8c91fae0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x5/0x30 [ 42.784205][ T3514] [ 42.784205][ T3514] stack backtrace: [ 42.790073][ T3514] CPU: 0 PID: 3514 Comm: kworker/0:6 Not tainted 5.15.155-syzkaller #0 [ 42.798293][ T3514] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 42.808331][ T3514] Workqueue: events bpf_map_free_deferred [ 42.814041][ T3514] Call Trace: [ 42.817307][ T3514] [ 42.820237][ T3514] dump_stack_lvl+0x1e3/0x2d0 [ 42.824908][ T3514] ? io_uring_drop_tctx_refs+0x1a0/0x1a0 [ 42.830526][ T3514] ? print_circular_bug+0x12b/0x1a0 [ 42.835714][ T3514] check_noncircular+0x2f8/0x3b0 [ 42.840643][ T3514] ? add_chain_block+0x850/0x850 [ 42.845570][ T3514] ? lockdep_lock+0x11f/0x2a0 [ 42.850229][ T3514] ? unwind_next_frame+0x1437/0x1fa0 [ 42.855496][ T3514] ? deref_stack_reg+0xbe/0x110 [ 42.860329][ T3514] validate_chain+0x1649/0x5930 [ 42.865167][ T3514] ? noop_count+0x30/0x30 [ 42.869488][ T3514] ? reacquire_held_locks+0x660/0x660 [ 42.874853][ T3514] ? check_noncircular+0x1e1/0x3b0 [ 42.879949][ T3514] ? add_chain_block+0x850/0x850 [ 42.884869][ T3514] ? lockdep_unlock+0x166/0x300 [ 42.889704][ T3514] ? lockdep_lock+0x2a0/0x2a0 [ 42.894361][ T3514] ? reacquire_held_locks+0x660/0x660 [ 42.899717][ T3514] ? lockdep_unlock+0x166/0x300 [ 42.904549][ T3514] ? lockdep_lock+0x2a0/0x2a0 [ 42.909208][ T3514] ? mark_lock+0x98/0x340 [ 42.913524][ T3514] __lock_acquire+0x1295/0x1ff0 [ 42.918711][ T3514] lock_acquire+0x1db/0x4f0 [ 42.923194][ T3514] ? sock_map_delete_elem+0x161/0x230 [ 42.928554][ T3514] ? read_lock_is_recursive+0x10/0x10 [ 42.933906][ T3514] ? sock_map_delete_elem+0x161/0x230 [ 42.939278][ T3514] ? __bpf_trace_softirq+0x10/0x10 [ 42.944376][ T3514] ? sock_map_delete_elem+0x161/0x230 [ 42.949816][ T3514] _raw_spin_lock_bh+0x31/0x40 [ 42.954560][ T3514] ? sock_map_delete_elem+0x161/0x230 [ 42.959910][ T3514] sock_map_delete_elem+0x161/0x230 [ 42.965088][ T3514] ? sock_map_update_elem+0x380/0x380 [ 42.970444][ T3514] bpf_prog_b89bc06253186eb1+0x4e/0x5c4 [ 42.975966][ T3514] bpf_trace_run2+0x19e/0x340 [ 42.980622][ T3514] ? bpf_trace_run1+0x2f0/0x2f0 [ 42.985450][ T3514] ? sock_map_unref+0x3ac/0x5d0 [ 42.990294][ T3514] ? read_lock_is_recursive+0x10/0x10 [ 42.995721][ T3514] ? sock_map_unref+0x3ac/0x5d0 [ 43.000552][ T3514] __bpf_trace_kfree+0x6e/0x90 [ 43.005296][ T3514] ? sock_map_unref+0x3ac/0x5d0 [ 43.010138][ T3514] __traceiter_kfree+0x26/0x40 [ 43.014878][ T3514] ? sock_map_unref+0x3ac/0x5d0 [ 43.019708][ T3514] kfree+0x22f/0x270 [ 43.023584][ T3514] ? sock_map_unref+0xcc/0x5d0 [ 43.028328][ T3514] sock_map_unref+0x3ac/0x5d0 [ 43.032986][ T3514] sock_map_free+0x1c9/0x3a0 [ 43.037556][ T3514] process_one_work+0x8a1/0x10c0 [ 43.042480][ T3514] ? worker_detach_from_pool+0x260/0x260 [ 43.048090][ T3514] ? _raw_spin_lock_irqsave+0x120/0x120 [ 43.053614][ T3514] ? kthread_data+0x4e/0xc0 [ 43.058096][ T3514] ? wq_worker_running+0x97/0x170 [ 43.063097][ T3514] worker_thread+0xaca/0x1280 [ 43.067756][ T3514] ? _raw_spin_unlock_irqrestore+0xd9/0x130 [ 43.073634][ T3514] kthread+0x3f6/0x4f0 [ 43.077679][ T3514] ? rcu_lock_release+0x20/0x20 [ 43.082508][ T3514] ? kthread_blkcg+0xd0/0xd0 executing program executing program executing program executing program executing program executing program executing program executing program [ 43.087087][ T3514] ret_from_fork+0x1f/0x30 [ 43.091488][ T3514] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program