./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor123817473 <...> Warning: Permanently added '10.128.1.11' (ED25519) to the list of known hosts. execve("./syz-executor123817473", ["./syz-executor123817473"], 0x7ffdf3739b90 /* 10 vars */) = 0 brk(NULL) = 0x555577c9e000 brk(0x555577c9ed00) = 0x555577c9ed00 arch_prctl(ARCH_SET_FS, 0x555577c9e380) = 0 set_tid_address(0x555577c9e650) = 5072 set_robust_list(0x555577c9e660, 24) = 0 rseq(0x555577c9eca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor123817473", 4096) = 27 getrandom("\x38\xdf\xda\xc4\x50\x0f\x1e\x3f", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x555577c9ed00 brk(0x555577cbfd00) = 0x555577cbfd00 brk(0x555577cc0000) = 0x555577cc0000 mprotect(0x7fe378f4e000, 16384, PROT_READ) = 0 mmap(0x1ffff000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1ffff000 mmap(0x20000000, 16777216, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x20000000 mmap(0x21000000, 4096, PROT_NONE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x21000000 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5073 attached , child_tidptr=0x555577c9e650) = 5073 [pid 5073] set_robust_list(0x555577c9e660, 24) = 0 [pid 5073] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5073] setpgid(0, 0) = 0 [pid 5073] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5073] write(3, "1000", 4) = 4 [pid 5073] close(3) = 0 [pid 5073] bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_LPM_TRIE, key_size=8, value_size=65537, max_entries=9, map_flags=BPF_F_NO_PREALLOC, inner_map_fd=-1, map_name="", map_ifindex=0, btf_fd=-1, btf_key_type_id=0, btf_value_type_id=0, btf_vmlinux_value_type_id=0, map_extra=0}, 72) = 3 [pid 5073] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_RAW_TRACEPOINT, insn_cnt=12, insns=0x20000740, license="GPL", log_level=0, log_size=0, log_buf=NULL, kern_version=KERNEL_VERSION(0, 0, 0), prog_flags=0, prog_name="", prog_ifindex=0, expected_attach_type=BPF_CGROUP_INET_INGRESS, prog_btf_fd=-1, func_info_rec_size=0, func_info=NULL, func_info_cnt=0, line_info_rec_size=0, line_info=NULL, line_info_cnt=0, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL}, 144) = 4 [pid 5073] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=4}}, 16) = 5 [ 73.291758][ C0] [ 73.294140][ C0] ====================================================== [ 73.301167][ C0] WARNING: possible circular locking dependency detected [ 73.308202][ C0] 6.8.0-syzkaller-05271-gf99c5f563c17 #0 Not tainted [ 73.314917][ C0] ------------------------------------------------------ [ 73.321944][ C0] sshd/5067 is trying to acquire lock: [ 73.327400][ C0] ffff8880b9429470 (krc.lock){..-.}-{2:2}, at: kvfree_call_rcu+0x18a/0x790 [ 73.336095][ C0] [ 73.336095][ C0] but task is already holding lock: [ 73.343455][ C0] ffff88802cc491f8 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x96/0x6a0 [ 73.352332][ C0] [ 73.352332][ C0] which lock already depends on the new lock. [ 73.352332][ C0] [ 73.362740][ C0] [ 73.362740][ C0] the existing dependency chain (in reverse order) is: [ 73.371755][ C0] [ 73.371755][ C0] -> #2 (&trie->lock){..-.}-{2:2}: [ 73.379049][ C0] lock_acquire+0x1e4/0x530 [ 73.384089][ C0] _raw_spin_lock_irqsave+0xd5/0x120 [ 73.389915][ C0] trie_delete_elem+0x96/0x6a0 [ 73.395194][ C0] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 73.401184][ C0] bpf_trace_run2+0x204/0x420 [ 73.406404][ C0] enqueue_timer+0x396/0x550 [ 73.411525][ C0] __mod_timer+0x953/0xeb0 [ 73.416568][ C0] sk_reset_timer+0x23/0xc0 [ 73.421628][ C0] tcp_event_new_data_sent+0x203/0x360 [ 73.427644][ C0] tcp_write_xmit+0x1468/0x6100 [ 73.433082][ C0] __tcp_push_pending_frames+0x9b/0x360 [ 73.439160][ C0] tcp_sendmsg_locked+0x42cc/0x4d00 [ 73.444899][ C0] tcp_sendmsg+0x30/0x50 [ 73.449656][ C0] __sock_sendmsg+0x1a6/0x270 [ 73.454903][ C0] sock_write_iter+0x2dd/0x400 [ 73.460214][ C0] vfs_write+0xa84/0xcb0 [ 73.464986][ C0] ksys_write+0x1a0/0x2c0 [ 73.469868][ C0] do_syscall_64+0xfb/0x240 [ 73.474921][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 73.481347][ C0] [ 73.481347][ C0] -> #1 (&base->lock){-.-.}-{2:2}: [ 73.488644][ C0] lock_acquire+0x1e4/0x530 [ 73.493674][ C0] _raw_spin_lock_irqsave+0xd5/0x120 [ 73.499517][ C0] lock_timer_base+0x112/0x240 [ 73.504816][ C0] __mod_timer+0x1ca/0xeb0 [ 73.509761][ C0] queue_delayed_work_on+0x15a/0x260 [ 73.515585][ C0] kvfree_call_rcu+0x47f/0x790 [ 73.520874][ C0] rtnl_register_internal+0x482/0x590 [ 73.526788][ C0] rtnl_register+0x36/0x80 [ 73.531729][ C0] ip_rt_init+0x2f5/0x3a0 [ 73.536589][ C0] ip_init+0xe/0x20 [ 73.540948][ C0] inet_init+0x3d8/0x580 [ 73.545732][ C0] do_one_initcall+0x238/0x830 [ 73.551034][ C0] do_initcall_level+0x157/0x210 [ 73.556499][ C0] do_initcalls+0x3f/0x80 [ 73.561346][ C0] kernel_init_freeable+0x435/0x5d0 [ 73.567068][ C0] kernel_init+0x1d/0x2a0 [ 73.571917][ C0] ret_from_fork+0x4b/0x80 [ 73.576859][ C0] ret_from_fork_asm+0x1a/0x30 [ 73.582142][ C0] [ 73.582142][ C0] -> #0 (krc.lock){..-.}-{2:2}: [ 73.589176][ C0] validate_chain+0x18cb/0x58e0 [ 73.594546][ C0] __lock_acquire+0x1346/0x1fd0 [ 73.599911][ C0] lock_acquire+0x1e4/0x530 [ 73.604928][ C0] _raw_spin_lock+0x2e/0x40 [ 73.609967][ C0] kvfree_call_rcu+0x18a/0x790 [ 73.615246][ C0] trie_delete_elem+0x52c/0x6a0 [ 73.620649][ C0] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 73.626667][ C0] bpf_trace_run2+0x204/0x420 [ 73.631890][ C0] enqueue_timer+0x396/0x550 [ 73.637106][ C0] __mod_timer+0xa0e/0xeb0 [ 73.642062][ C0] dsp_cmx_send+0x21bf/0x2240 [ 73.647264][ C0] call_timer_fn+0x17e/0x600 [ 73.652398][ C0] __run_timer_base+0x66a/0x8e0 [ 73.657784][ C0] run_timer_softirq+0xb7/0x170 [ 73.663173][ C0] __do_softirq+0x2bc/0x943 [ 73.668224][ C0] __irq_exit_rcu+0xf2/0x1c0 [ 73.673331][ C0] irq_exit_rcu+0x9/0x30 [ 73.678098][ C0] sysvec_apic_timer_interrupt+0xa6/0xc0 [ 73.684247][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 73.690750][ C0] _raw_spin_unlock_irqrestore+0xd8/0x140 [ 73.696988][ C0] __mod_timer+0xb89/0xeb0 [ 73.701923][ C0] sk_reset_timer+0x23/0xc0 [ 73.706949][ C0] tcp_event_new_data_sent+0x203/0x360 [ 73.712948][ C0] tcp_write_xmit+0x1468/0x6100 [ 73.718327][ C0] __tcp_push_pending_frames+0x9b/0x360 [ 73.724398][ C0] tcp_sendmsg_locked+0x42cc/0x4d00 [ 73.730144][ C0] tcp_sendmsg+0x30/0x50 [ 73.734922][ C0] __sock_sendmsg+0x1a6/0x270 [ 73.740290][ C0] sock_write_iter+0x2dd/0x400 [ 73.745575][ C0] vfs_write+0xa84/0xcb0 [ 73.750369][ C0] ksys_write+0x1a0/0x2c0 [ 73.755213][ C0] do_syscall_64+0xfb/0x240 [ 73.760246][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 73.766682][ C0] [ 73.766682][ C0] other info that might help us debug this: [ 73.766682][ C0] [ 73.777075][ C0] Chain exists of: [ 73.777075][ C0] krc.lock --> &base->lock --> &trie->lock [ 73.777075][ C0] [ 73.788811][ C0] Possible unsafe locking scenario: [ 73.788811][ C0] [ 73.796264][ C0] CPU0 CPU1 [ 73.801710][ C0] ---- ---- [ 73.807070][ C0] lock(&trie->lock); [ 73.811159][ C0] lock(&base->lock); [ 73.817862][ C0] lock(&trie->lock); [ 73.824494][ C0] lock(krc.lock); [ 73.828342][ C0] [ 73.828342][ C0] *** DEADLOCK *** [ 73.828342][ C0] [ 73.836479][ C0] 6 locks held by sshd/5067: [ 73.841079][ C0] #0: ffff88807c64a718 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x22/0x50 [ 73.850219][ C0] #1: ffffc90000007c00 ((&dsp_spl_tl)){+.-.}-{0:0}, at: call_timer_fn+0xc0/0x600 [ 73.859530][ C0] #2: ffffffff8f1045f8 (dsp_lock){..-.}-{2:2}, at: dsp_cmx_send+0x26/0x2240 [ 73.868317][ C0] #3: ffff8880b942a758 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 73.877648][ C0] #4: ffffffff8e131920 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x114/0x420 [ 73.887084][ C0] #5: ffff88802cc491f8 (&trie->lock){..-.}-{2:2}, at: trie_delete_elem+0x96/0x6a0 [ 73.896836][ C0] [ 73.896836][ C0] stack backtrace: [ 73.903944][ C0] CPU: 0 PID: 5067 Comm: sshd Not tainted 6.8.0-syzkaller-05271-gf99c5f563c17 #0 [ 73.913074][ C0] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024 [ 73.923131][ C0] Call Trace: [ 73.926412][ C0] [ 73.929259][ C0] dump_stack_lvl+0x1e7/0x2e0 [ 73.933946][ C0] ? __pfx_dump_stack_lvl+0x10/0x10 [ 73.939152][ C0] ? print_circular_bug+0x130/0x1a0 [ 73.944379][ C0] check_noncircular+0x36a/0x4a0 [ 73.949317][ C0] ? __pfx_check_noncircular+0x10/0x10 [ 73.954777][ C0] ? lockdep_lock+0x123/0x2b0 [ 73.959457][ C0] ? deref_stack_reg+0x1c7/0x260 [ 73.964402][ C0] ? _find_first_zero_bit+0xd4/0x100 [ 73.969690][ C0] validate_chain+0x18cb/0x58e0 [ 73.974553][ C0] ? __pfx_validate_chain+0x10/0x10 [ 73.979750][ C0] ? __pfx_stack_trace_save+0x10/0x10 [ 73.985125][ C0] ? lockdep_unlock+0x16a/0x300 [ 73.989976][ C0] ? __pfx_lockdep_unlock+0x10/0x10 [ 73.995544][ C0] ? mark_lock+0x9a/0x350 [ 73.999883][ C0] __lock_acquire+0x1346/0x1fd0 [ 74.004745][ C0] lock_acquire+0x1e4/0x530 [ 74.009255][ C0] ? kvfree_call_rcu+0x18a/0x790 [ 74.014199][ C0] ? __pfx_lock_acquire+0x10/0x10 [ 74.019244][ C0] ? debug_object_active_state+0x239/0x360 [ 74.025050][ C0] ? __pfx_debug_object_active_state+0x10/0x10 [ 74.031216][ C0] ? __virt_addr_valid+0x183/0x520 [ 74.036337][ C0] ? __virt_addr_valid+0x183/0x520 [ 74.041469][ C0] ? __virt_addr_valid+0x44e/0x520 [ 74.046600][ C0] ? __phys_addr+0xba/0x170 [ 74.051144][ C0] _raw_spin_lock+0x2e/0x40 [ 74.055669][ C0] ? kvfree_call_rcu+0x18a/0x790 [ 74.060729][ C0] kvfree_call_rcu+0x18a/0x790 [ 74.065553][ C0] ? _raw_spin_lock_irqsave+0xe1/0x120 [ 74.071056][ C0] ? __pfx_kvfree_call_rcu+0x10/0x10 [ 74.076352][ C0] ? longest_prefix_match+0x33d/0x670 [ 74.081845][ C0] trie_delete_elem+0x52c/0x6a0 [ 74.086732][ C0] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 74.092193][ C0] bpf_trace_run2+0x204/0x420 [ 74.096869][ C0] ? bpf_trace_run2+0x114/0x420 [ 74.101731][ C0] ? __pfx_bpf_trace_run2+0x10/0x10 [ 74.106931][ C0] ? __pfx_debug_object_activate+0x10/0x10 [ 74.112744][ C0] enqueue_timer+0x396/0x550 [ 74.117337][ C0] __mod_timer+0xa0e/0xeb0 [ 74.121762][ C0] ? __pfx___mod_timer+0x10/0x10 [ 74.126724][ C0] ? _raw_read_unlock_irqrestore+0xdd/0x140 [ 74.132630][ C0] ? __pfx__raw_read_unlock_irqrestore+0x10/0x10 [ 74.138962][ C0] ? _raw_spin_lock_irqsave+0xe1/0x120 [ 74.144428][ C0] ? __pfx__raw_spin_lock_irqsave+0x10/0x10 [ 74.150321][ C0] ? ktime_get+0x24c/0x280 [ 74.154741][ C0] dsp_cmx_send+0x21bf/0x2240 [ 74.159416][ C0] ? __pfx_lock_acquire+0x10/0x10 [ 74.164442][ C0] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 74.170335][ C0] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 74.176662][ C0] ? call_timer_fn+0xa8/0x600 [ 74.181336][ C0] call_timer_fn+0x17e/0x600 [ 74.185922][ C0] ? call_timer_fn+0xc0/0x600 [ 74.190614][ C0] ? __pfx_dsp_cmx_send+0x10/0x10 [ 74.195646][ C0] ? __pfx_call_timer_fn+0x10/0x10 [ 74.200760][ C0] ? __pfx_dsp_cmx_send+0x10/0x10 [ 74.205802][ C0] ? __pfx_dsp_cmx_send+0x10/0x10 [ 74.210837][ C0] ? __pfx_dsp_cmx_send+0x10/0x10 [ 74.215869][ C0] ? _raw_spin_unlock_irq+0x23/0x50 [ 74.221079][ C0] ? lockdep_hardirqs_on+0x99/0x150 [ 74.226302][ C0] ? __pfx_dsp_cmx_send+0x10/0x10 [ 74.231324][ C0] __run_timer_base+0x66a/0x8e0 [ 74.236182][ C0] ? __pfx___run_timer_base+0x10/0x10 [ 74.241573][ C0] run_timer_softirq+0xb7/0x170 [ 74.246419][ C0] __do_softirq+0x2bc/0x943 [ 74.250931][ C0] ? __irq_exit_rcu+0xf2/0x1c0 [ 74.255691][ C0] ? __pfx___do_softirq+0x10/0x10 [ 74.260718][ C0] ? irqtime_account_irq+0xd4/0x1e0 [ 74.265921][ C0] __irq_exit_rcu+0xf2/0x1c0 [ 74.270506][ C0] ? __pfx___irq_exit_rcu+0x10/0x10 [ 74.275702][ C0] irq_exit_rcu+0x9/0x30 [ 74.279959][ C0] sysvec_apic_timer_interrupt+0xa6/0xc0 [ 74.285590][ C0] [ 74.288534][ C0] [ 74.291479][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.297484][ C0] RIP: 0010:_raw_spin_unlock_irqrestore+0xd8/0x140 [ 74.303985][ C0] Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 3e 8e 7d f6 f6 44 24 21 02 75 52 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 e3 43 ea f5 65 8b 05 34 26 89 74 85 c0 74 43 48 c7 04 24 0e 36 [ 74.323673][ C0] RSP: 0018:ffffc90003a2f360 EFLAGS: 00000206 [ 74.329735][ C0] RAX: f836c11418d67e00 RBX: 1ffff92000745e70 RCX: ffffffff81720c2a [ 74.337703][ C0] RDX: dffffc0000000000 RSI: ffffffff8baac220 RDI: 0000000000000001 [ 74.345671][ C0] RBP: ffffc90003a2f3f0 R08: ffffffff92cc75bf R09: 1ffffffff2598eb7 [ 74.353637][ C0] R10: dffffc0000000000 R11: fffffbfff2598eb8 R12: dffffc0000000000 [ 74.361610][ C0] R13: 1ffff92000745e6c R14: ffffc90003a2f380 R15: 0000000000000246 [ 74.369594][ C0] ? mark_lock+0x9a/0x350 [ 74.373937][ C0] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 74.380316][ C0] ? rcu_is_watching+0x15/0xb0 [ 74.385095][ C0] ? enqueue_timer+0x20b/0x550 [ 74.389873][ C0] __mod_timer+0xb89/0xeb0 [ 74.394314][ C0] ? __pfx___mod_timer+0x10/0x10 [ 74.399373][ C0] ? seqcount_lockdep_reader_access+0x157/0x220 [ 74.405646][ C0] ? lockdep_hardirqs_on+0x99/0x150 [ 74.410957][ C0] ? __asan_memset+0x23/0x50 [ 74.415574][ C0] sk_reset_timer+0x23/0xc0 [ 74.420095][ C0] tcp_event_new_data_sent+0x203/0x360 [ 74.425566][ C0] tcp_write_xmit+0x1468/0x6100 [ 74.430439][ C0] __tcp_push_pending_frames+0x9b/0x360 [ 74.435988][ C0] tcp_sendmsg_locked+0x42cc/0x4d00 [ 74.441203][ C0] ? __pfx_tcp_sendmsg_locked+0x10/0x10 [ 74.446743][ C0] ? __local_bh_enable_ip+0x168/0x200 [ 74.452135][ C0] ? do_raw_spin_unlock+0x13c/0x8b0 [ 74.457338][ C0] tcp_sendmsg+0x30/0x50 [ 74.461574][ C0] __sock_sendmsg+0x1a6/0x270 [ 74.466434][ C0] sock_write_iter+0x2dd/0x400 [ 74.471209][ C0] ? __pfx_sock_write_iter+0x10/0x10 [ 74.476500][ C0] ? bpf_lsm_file_permission+0x9/0x10 [ 74.481868][ C0] ? security_file_permission+0x7f/0xa0 [ 74.487415][ C0] vfs_write+0xa84/0xcb0 [ 74.491660][ C0] ? __pfx_vfs_write+0x10/0x10 [ 74.496422][ C0] ? __set_current_blocked+0x310/0x380 [ 74.501897][ C0] ? __might_fault+0xc6/0x120 [ 74.506586][ C0] ? __fdget_pos+0x1a2/0x320 [ 74.511190][ C0] ksys_write+0x1a0/0x2c0 [ 74.515558][ C0] ? __pfx_ksys_write+0x10/0x10 [ 74.520535][ C0] ? do_syscall_64+0x10a/0x240 [ 74.525316][ C0] ? do_syscall_64+0xb6/0x240 [ 74.530001][ C0] do_syscall_64+0xfb/0x240 [ 74.534514][ C0] entry_SYSCALL_64_after_hwframe+0x6d/0x75 [ 74.540415][ C0] RIP: 0033:0x7f9226955bf2 [ 74.544828][ C0] Code: 89 c7 48 89 44 24 08 e8 7b 34 fa ff 48 8b 44 24 08 48 83 c4 28 c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6f 48 8b 15 07 a2 0d 00 f7 d8 64 89 02 48 83 [ 74.564793][ C0] RSP: 002b:00007ffffc6a91a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 74.573210][ C0] RAX: ffffffffffffffda RBX: 000000000000002c RCX: 00007f9226955bf2 [ 74.581190][ C0] RDX: 000000000000002c RSI: 00005648f6772960 RDI: 0000000000000004 [ 74.589189][ C0] RBP: 00005648f6780220 R08: 0000000000000000 R09: 0000000000000000 [ 74.597161][ C0] R10: 0000000000000000 R11: 0000000000000246 R12: 00005648d7ed3aa4 [ 74.605474][ C0] R13: 0000000000000049 R14: 00005648d7ed43e8 R15: 00007ffffc6a9218 [ 74.613449][ C0]