forked to background, child pid 3216 [ 28.645733][ T3217] 8021q: adding VLAN 0 to HW filter on device bond0 [ 28.656866][ T3217] eql: remember to turn off Van-Jacobson compression on your slave devices Starting sshd: [ 28.992913][ T3293] sshd (3293) used greatest stack depth: 19840 bytes left OK syzkaller Warning: Permanently added '10.128.0.168' (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 syzkaller login: [ 52.368843][ T47] [ 52.371225][ T47] ====================================================== [ 52.378340][ T47] WARNING: possible circular locking dependency detected [ 52.385367][ T47] 6.1.86-syzkaller #0 Not tainted [ 52.390393][ T47] ------------------------------------------------------ [ 52.397416][ T47] kworker/u4:3/47 is trying to acquire lock: [ 52.403400][ T47] ffff888023b9ea40 (&stab->lock){+.-.}-{2:2}, at: sock_map_delete_elem+0x161/0x230 [ 52.412757][ T47] executing program executing program executing program executing program executing program [ 52.412757][ T47] but task is already holding lock: [ 52.420138][ T47] ffff888027a25290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 [ 52.429394][ T47] [ 52.429394][ T47] which lock already depends on the new lock. [ 52.429394][ T47] [ 52.439803][ T47] [ 52.439803][ T47] the existing dependency chain (in reverse order) is: [ 52.448912][ T47] [ 52.448912][ T47] -> #1 (&psock->link_lock){+...}-{2:2}: [ 52.456758][ T47] lock_acquire+0x1f8/0x5a0 [ 52.461806][ T47] _raw_spin_lock_bh+0x31/0x40 executing program executing program executing program [ 52.467130][ T47] sock_map_update_common+0x31c/0x5b0 [ 52.473044][ T47] sock_map_update_elem_sys+0x55b/0x910 [ 52.479133][ T47] map_update_elem+0x503/0x680 [ 52.484443][ T47] __sys_bpf+0x337/0x6c0 [ 52.489233][ T47] __x64_sys_bpf+0x78/0x90 [ 52.494195][ T47] do_syscall_64+0x3b/0xb0 [ 52.499155][ T47] entry_SYSCALL_64_after_hwframe+0x68/0xd2 [ 52.505590][ T47] [ 52.505590][ T47] -> #0 (&stab->lock){+.-.}-{2:2}: [ 52.512917][ T47] validate_chain+0x1661/0x5950 executing program executing program executing program executing program executing program executing program [ 52.518320][ T47] __lock_acquire+0x125b/0x1f80 [ 52.523748][ T47] lock_acquire+0x1f8/0x5a0 [ 52.529321][ T47] _raw_spin_lock_bh+0x31/0x40 [ 52.534626][ T47] sock_map_delete_elem+0x161/0x230 [ 52.540456][ T47] bpf_prog_b89bc06253186eb1+0x4e/0x52 [ 52.546630][ T47] bpf_trace_run2+0x1fd/0x410 [ 52.551845][ T47] __bpf_trace_kfree+0x6e/0x90 [ 52.557146][ T47] __traceiter_kfree+0x26/0x40 [ 52.562441][ T47] kfree+0xf6/0x190 executing program executing program executing program [ 52.566784][ T47] sock_map_unref+0x3ac/0x5d0 [ 52.571997][ T47] sock_map_free+0x1e3/0x3d0 [ 52.577118][ T47] process_one_work+0x8a9/0x11d0 [ 52.582612][ T47] worker_thread+0xa47/0x1200 [ 52.587822][ T47] kthread+0x28d/0x320 [ 52.592421][ T47] ret_from_fork+0x1f/0x30 [ 52.597373][ T47] [ 52.597373][ T47] other info that might help us debug this: [ 52.597373][ T47] [ 52.607609][ T47] Possible unsafe locking scenario: [ 52.607609][ T47] executing program executing program executing program executing program [ 52.615073][ T47] CPU0 CPU1 [ 52.620445][ T47] ---- ---- [ 52.625811][ T47] lock(&psock->link_lock); [ 52.630412][ T47] lock(&stab->lock); [ 52.637015][ T47] lock(&psock->link_lock); [ 52.644144][ T47] lock(&stab->lock); [ 52.648231][ T47] [ 52.648231][ T47] *** DEADLOCK *** [ 52.648231][ T47] [ 52.656382][ T47] 6 locks held by kworker/u4:3/47: executing program executing program executing program executing program [ 52.661502][ T47] #0: ffff888012479138 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 52.672578][ T47] #1: ffffc90000b87d20 ((work_completion)(&map->work)){+.+.}-{0:0}, at: process_one_work+0x7a9/0x11d0 [ 52.683653][ T47] #2: ffff88807ad82130 (sk_lock-AF_UNIX){+.+.}-{0:0}, at: sock_map_free+0x11a/0x3d0 [ 52.693168][ T47] #3: ffffffff8d12ac40 (rcu_read_lock){....}-{1:2}, at: sock_map_free+0x126/0x3d0 [ 52.702513][ T47] #4: ffff888027a25290 (&psock->link_lock){+...}-{2:2}, at: sock_map_unref+0xcc/0x5d0 executing program executing program executing program executing program executing program [ 52.712209][ T47] #5: ffffffff8d12ac40 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x110/0x410 [ 52.721635][ T47] [ 52.721635][ T47] stack backtrace: [ 52.727534][ T47] CPU: 1 PID: 47 Comm: kworker/u4:3 Not tainted 6.1.86-syzkaller #0 [ 52.735521][ T47] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 52.745588][ T47] Workqueue: events_unbound bpf_map_free_deferred [ 52.752029][ T47] Call Trace: [ 52.755331][ T47] [ 52.758274][ T47] dump_stack_lvl+0x1e3/0x2cb [ 52.762975][ T47] ? nf_tcp_handle_invalid+0x642/0x642 executing program executing program executing program executing program executing program [ 52.768467][ T47] ? print_circular_bug+0x12b/0x1a0 [ 52.773682][ T47] check_noncircular+0x2fa/0x3b0 [ 52.778634][ T47] ? deref_stack_reg+0x17c/0x210 [ 52.783588][ T47] ? reacquire_held_locks+0x660/0x660 [ 52.788988][ T47] ? add_chain_block+0x850/0x850 [ 52.793950][ T47] ? lockdep_lock+0x11f/0x2a0 [ 52.798648][ T47] ? unwind_next_frame+0x111a/0x2220 [ 52.803949][ T47] ? _find_first_zero_bit+0xd0/0x100 [ 52.809250][ T47] validate_chain+0x1661/0x5950 [ 52.814131][ T47] ? check_path+0x40/0x40 executing program executing program executing program executing program [ 52.818478][ T47] ? check_path+0x21/0x40 [ 52.822823][ T47] ? check_noncircular+0x1e3/0x3b0 [ 52.827950][ T47] ? reacquire_held_locks+0x660/0x660 [ 52.833345][ T47] ? add_chain_block+0x850/0x850 [ 52.838300][ T47] ? lockdep_lock+0x2a0/0x2a0 [ 52.842994][ T47] ? lockdep_unlock+0x165/0x300 [ 52.847896][ T47] ? lockdep_lock+0x2a0/0x2a0 [ 52.852605][ T47] ? reacquire_held_locks+0x660/0x660 [ 52.857996][ T47] ? validate_chain+0x13ce/0x5950 [ 52.863059][ T47] ? mark_lock+0x9a/0x340 executing program executing program executing program executing program [ 52.867414][ T47] __lock_acquire+0x125b/0x1f80 [ 52.872296][ T47] lock_acquire+0x1f8/0x5a0 [ 52.877603][ T47] ? sock_map_delete_elem+0x161/0x230 [ 52.883001][ T47] ? read_lock_is_recursive+0x10/0x10 [ 52.888402][ T47] ? sock_map_delete_elem+0x161/0x230 [ 52.893796][ T47] ? __bpf_trace_softirq+0x10/0x10 [ 52.899021][ T47] ? sock_map_delete_elem+0x161/0x230 [ 52.904421][ T47] _raw_spin_lock_bh+0x31/0x40 [ 52.909203][ T47] ? sock_map_delete_elem+0x161/0x230 [ 52.914599][ T47] sock_map_delete_elem+0x161/0x230 executing program executing program executing program executing program executing program executing program [ 52.919818][ T47] ? sock_map_update_elem+0x500/0x500 [ 52.925214][ T47] bpf_prog_b89bc06253186eb1+0x4e/0x52 [ 52.930702][ T47] bpf_trace_run2+0x1fd/0x410 [ 52.935397][ T47] ? bpf_trace_run2+0x110/0x410 [ 52.940291][ T47] ? bpf_trace_run1+0x3d0/0x3d0 [ 52.945154][ T47] ? sock_map_unref+0x3ac/0x5d0 [ 52.950032][ T47] ? do_raw_spin_lock+0x14a/0x370 [ 52.955083][ T47] ? __bpf_trace_softirq+0x10/0x10 [ 52.960220][ T47] ? sock_map_unref+0x3ac/0x5d0 [ 52.965101][ T47] __bpf_trace_kfree+0x6e/0x90 executing program executing program executing program [ 52.969891][ T47] ? sock_map_unref+0x3ac/0x5d0 [ 52.974811][ T47] __traceiter_kfree+0x26/0x40 [ 52.979605][ T47] ? sock_map_unref+0x3ac/0x5d0 [ 52.984477][ T47] kfree+0xf6/0x190 [ 52.988295][ T47] sock_map_unref+0x3ac/0x5d0 [ 52.993000][ T47] sock_map_free+0x1e3/0x3d0 [ 52.997619][ T47] ? sock_map_free+0x126/0x3d0 [ 53.002411][ T47] ? process_one_work+0x7a9/0x11d0 [ 53.007539][ T47] process_one_work+0x8a9/0x11d0 [ 53.012502][ T47] ? worker_detach_from_pool+0x260/0x260 executing program executing program executing program executing program executing program executing program executing program [ 53.018157][ T47] ? _raw_spin_lock_irqsave+0x120/0x120 [ 53.023719][ T47] ? kthread_data+0x4e/0xc0 [ 53.028242][ T47] ? wq_worker_running+0x97/0x190 [ 53.033288][ T47] worker_thread+0xa47/0x1200 [ 53.037981][ T47] ? __sched_text_start+0x8/0x8 [ 53.042862][ T47] ? _raw_spin_unlock+0x40/0x40 [ 53.047734][ T47] kthread+0x28d/0x320 [ 53.051818][ T47] ? worker_clr_flags+0x190/0x190 [ 53.057036][ T47] ? kthread_blkcg+0xd0/0xd0 [ 53.061641][ T47] ret_from_fork+0x1f/0x30 [ 53.066081][ T47] executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program