./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor1371120319 <...> Warning: Permanently added '10.128.1.141' (ED25519) to the list of known hosts. execve("./syz-executor1371120319", ["./syz-executor1371120319"], 0x7fff1f0f6700 /* 10 vars */) = 0 brk(NULL) = 0x55557c454000 brk(0x55557c454d00) = 0x55557c454d00 arch_prctl(ARCH_SET_FS, 0x55557c454380) = 0 set_tid_address(0x55557c454650) = 5098 set_robust_list(0x55557c454660, 24) = 0 rseq(0x55557c454ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor1371120319", 4096) = 28 getrandom("\x42\x36\x27\xb3\x64\x8b\x44\x90", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557c454d00 brk(0x55557c475d00) = 0x55557c475d00 brk(0x55557c476000) = 0x55557c476000 mprotect(0x7f3012c67000, 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, child_tidptr=0x55557c454650) = 5099 ./strace-static-x86_64: Process 5099 attached [pid 5099] set_robust_list(0x55557c454660, 24) = 0 [pid 5099] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5099] setpgid(0, 0) = 0 [pid 5099] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5099] write(3, "1000", 4) = 4 [pid 5099] close(3) = 0 [pid 5099] write(1, "executing program\n", 18executing program ) = 18 [pid 5099] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=12, insns=0x20000440, license=NULL, 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=4294966948, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL}, 144) = -1 EFAULT (Bad address) [pid 5099] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5099] close(3) = 0 [pid 5099] bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_LPM_TRIE, key_size=7, value_size=65537, max_entries=8, 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 5099] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=12, insns=0x20000440, license=NULL, 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) = -1 EFAULT (Bad address) [pid 5099] close(3) = 0 [pid 5099] bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_LPM_TRIE, key_size=7, value_size=3983, 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 5099] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5099] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_RAW_TRACEPOINT, insn_cnt=12, insns=0x20000440, 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) = 5 [pid 5099] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=5}}, 16) = 6 [pid 5099] exit_group(0) = ? [pid 5099] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5099, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- restart_syscall(<... resuming interrupted clone ...>) = 0 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD./strace-static-x86_64: Process 5100 attached , child_tidptr=0x55557c454650) = 5100 [pid 5100] set_robust_list(0x55557c454660, 24) = 0 [pid 5100] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5100] setpgid(0, 0) = 0 [pid 5100] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5100] write(3, "1000", 4) = 4 [pid 5100] close(3) = 0 executing program [pid 5100] write(1, "executing program\n", 18) = 18 [pid 5100] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=12, insns=0x20000440, license=NULL, 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=4294966948, attach_btf_id=0, attach_prog_fd=0, fd_array=NULL}, 144) = -1 EFAULT (Bad address) [pid 5100] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5100] close(3) = 0 [pid 5100] bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_LPM_TRIE, key_size=7, value_size=65537, max_entries=8, 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 5100] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_UNSPEC, insn_cnt=12, insns=0x20000440, license=NULL, 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) = -1 EFAULT (Bad address) [pid 5100] close(3) = 0 [pid 5100] bpf(BPF_MAP_CREATE, {map_type=BPF_MAP_TYPE_LPM_TRIE, key_size=7, value_size=3983, 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 5100] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5100] bpf(BPF_PROG_LOAD, {prog_type=BPF_PROG_TYPE_RAW_TRACEPOINT, insn_cnt=12, insns=0x20000440, 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) = 5 [ 79.373542][ T5093] [ 79.375935][ T5093] ====================================================== [ 79.383044][ T5093] WARNING: possible circular locking dependency detected [ 79.390083][ T5093] 6.10.0-rc6-syzkaller-gb3470da314fd #0 Not tainted [ 79.396675][ T5093] ------------------------------------------------------ [ 79.403689][ T5093] sshd/5093 is trying to acquire lock: [ 79.409143][ T5093] ffff8880b9529430 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x18a/0x790 [ 79.417795][ T5093] [ 79.417795][ T5093] but task is already holding lock: [ 79.425156][ T5093] ffff8880b952a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 79.434043][ T5093] [ 79.434043][ T5093] which lock already depends on the new lock. [ 79.434043][ T5093] [ 79.444445][ T5093] [ 79.444445][ T5093] the existing dependency chain (in reverse order) is: [ 79.453890][ T5093] [ 79.453890][ T5093] -> #1 (&base->lock){-.-.}-{2:2}: [ 79.461193][ T5093] lock_acquire+0x1ed/0x550 [ 79.466219][ T5093] _raw_spin_lock_irqsave+0xd5/0x120 [ 79.472045][ T5093] lock_timer_base+0x112/0x240 [ 79.477328][ T5093] __mod_timer+0x1ca/0xeb0 [ 79.482269][ T5093] queue_delayed_work_on+0x1ca/0x390 [ 79.488514][ T5093] kvfree_call_rcu+0x47f/0x790 [ 79.493805][ T5093] rtnl_register_internal+0x482/0x590 [ 79.499703][ T5093] rtnl_register+0x36/0x80 [ 79.504661][ T5093] ip_rt_init+0x2bd/0x360 [ 79.509519][ T5093] ip_init+0xe/0x20 [ 79.513857][ T5093] inet_init+0x3d8/0x580 [ 79.518623][ T5093] do_one_initcall+0x248/0x880 [ 79.523918][ T5093] do_initcall_level+0x157/0x210 [ 79.529404][ T5093] do_initcalls+0x3f/0x80 [ 79.534256][ T5093] kernel_init_freeable+0x435/0x5d0 [ 79.539980][ T5093] kernel_init+0x1d/0x2b0 [ 79.544839][ T5093] ret_from_fork+0x4b/0x80 [ 79.549782][ T5093] ret_from_fork_asm+0x1a/0x30 [ 79.555075][ T5093] [ 79.555075][ T5093] -> #0 (krc.lock){....}-{2:2}: [ 79.562125][ T5093] validate_chain+0x18e0/0x5900 [ 79.567611][ T5093] __lock_acquire+0x1346/0x1fd0 [ 79.572992][ T5093] lock_acquire+0x1ed/0x550 [ 79.578017][ T5093] _raw_spin_lock+0x2e/0x40 [ 79.583049][ T5093] kvfree_call_rcu+0x18a/0x790 [ 79.588339][ T5093] trie_delete_elem+0x546/0x6a0 [ 79.593743][ T5093] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 79.599736][ T5093] bpf_trace_run2+0x2ec/0x540 [ 79.604950][ T5093] enqueue_timer+0x3ce/0x570 [ 79.610065][ T5093] __mod_timer+0x953/0xeb0 [ 79.615003][ T5093] sk_reset_timer+0x23/0xc0 [ 79.620030][ T5093] tcp_schedule_loss_probe+0x448/0x590 [ 79.626027][ T5093] tcp_write_xmit+0x4308/0x6a10 [ 79.631421][ T5093] __tcp_push_pending_frames+0x9b/0x360 [ 79.637497][ T5093] tcp_sendmsg_locked+0x43b1/0x4e10 [ 79.643223][ T5093] tcp_sendmsg+0x30/0x50 [ 79.648089][ T5093] __sock_sendmsg+0x1a6/0x270 [ 79.653395][ T5093] sock_write_iter+0x2dd/0x400 [ 79.658679][ T5093] vfs_write+0xa72/0xc90 [ 79.663450][ T5093] ksys_write+0x1a0/0x2c0 [ 79.668307][ T5093] do_syscall_64+0xf3/0x230 [ 79.673336][ T5093] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 79.679757][ T5093] [ 79.679757][ T5093] other info that might help us debug this: [ 79.679757][ T5093] [ 79.689987][ T5093] Possible unsafe locking scenario: [ 79.689987][ T5093] [ 79.697442][ T5093] CPU0 CPU1 [ 79.702835][ T5093] ---- ---- [ 79.708199][ T5093] lock(&base->lock); [ 79.712289][ T5093] lock(krc.lock); [ 79.718726][ T5093] lock(&base->lock); [ 79.725331][ T5093] lock(krc.lock); [ 79.729147][ T5093] [ 79.729147][ T5093] *** DEADLOCK *** [ 79.729147][ T5093] [ 79.737286][ T5093] 3 locks held by sshd/5093: [ 79.741874][ T5093] #0: ffff888011408e98 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x22/0x50 [ 79.751038][ T5093] #1: ffff8880b952a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 79.760378][ T5093] #2: ffffffff8e333f20 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x1fc/0x540 [ 79.769805][ T5093] [ 79.769805][ T5093] stack backtrace: [ 79.775700][ T5093] CPU: 1 PID: 5093 Comm: sshd Not tainted 6.10.0-rc6-syzkaller-gb3470da314fd #0 [ 79.784724][ T5093] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/07/2024 [ 79.794894][ T5093] Call Trace: [ 79.798180][ T5093] [ 79.801115][ T5093] dump_stack_lvl+0x241/0x360 [ 79.805801][ T5093] ? __pfx_dump_stack_lvl+0x10/0x10 [ 79.811006][ T5093] ? print_circular_bug+0x130/0x1a0 [ 79.816211][ T5093] check_noncircular+0x36a/0x4a0 [ 79.821158][ T5093] ? __pfx_check_noncircular+0x10/0x10 [ 79.826625][ T5093] ? lockdep_lock+0x123/0x2b0 [ 79.831327][ T5093] ? mark_lock+0x9a/0x350 [ 79.835667][ T5093] validate_chain+0x18e0/0x5900 [ 79.840537][ T5093] ? __pfx_validate_chain+0x10/0x10 [ 79.845738][ T5093] ? stack_depot_save_flags+0x6e4/0x830 [ 79.851301][ T5093] ? do_raw_spin_lock+0x14f/0x370 [ 79.856417][ T5093] ? __pfx_lock_release+0x10/0x10 [ 79.861443][ T5093] ? do_raw_spin_unlock+0x13c/0x8b0 [ 79.866652][ T5093] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 79.872571][ T5093] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 79.878899][ T5093] ? stack_trace_save+0x118/0x1d0 [ 79.884025][ T5093] ? mark_lock+0x9a/0x350 [ 79.888368][ T5093] __lock_acquire+0x1346/0x1fd0 [ 79.893233][ T5093] lock_acquire+0x1ed/0x550 [ 79.897737][ T5093] ? kvfree_call_rcu+0x18a/0x790 [ 79.902700][ T5093] ? __pfx_lock_acquire+0x10/0x10 [ 79.907762][ T5093] ? __phys_addr+0xba/0x170 [ 79.912376][ T5093] _raw_spin_lock+0x2e/0x40 [ 79.917060][ T5093] ? kvfree_call_rcu+0x18a/0x790 [ 79.922015][ T5093] kvfree_call_rcu+0x18a/0x790 [ 79.926805][ T5093] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 79.932716][ T5093] ? __pfx_kvfree_call_rcu+0x10/0x10 [ 79.938012][ T5093] ? longest_prefix_match+0x49f/0x650 [ 79.943396][ T5093] trie_delete_elem+0x546/0x6a0 [ 79.948259][ T5093] ? bpf_trace_run2+0x1fc/0x540 [ 79.953120][ T5093] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 79.958579][ T5093] bpf_trace_run2+0x2ec/0x540 [ 79.963367][ T5093] ? __pfx_bpf_trace_run2+0x10/0x10 [ 79.968590][ T5093] ? __pfx_debug_object_activate+0x10/0x10 [ 79.974425][ T5093] enqueue_timer+0x3ce/0x570 [ 79.979038][ T5093] __mod_timer+0x953/0xeb0 [ 79.983470][ T5093] ? __pfx___mod_timer+0x10/0x10 [ 79.988425][ T5093] ? ktime_get+0x3c/0xb0 [ 79.992684][ T5093] ? __asan_memset+0x23/0x50 [ 79.997280][ T5093] sk_reset_timer+0x23/0xc0 [ 80.001797][ T5093] tcp_schedule_loss_probe+0x448/0x590 [ 80.007269][ T5093] tcp_write_xmit+0x4308/0x6a10 [ 80.012138][ T5093] ? __virt_addr_valid+0x183/0x520 [ 80.017286][ T5093] __tcp_push_pending_frames+0x9b/0x360 [ 80.022846][ T5093] tcp_sendmsg_locked+0x43b1/0x4e10 [ 80.028074][ T5093] ? __pfx_tcp_sendmsg_locked+0x10/0x10 [ 80.033624][ T5093] ? __local_bh_enable_ip+0x168/0x200 [ 80.039004][ T5093] ? do_raw_spin_unlock+0x13c/0x8b0 [ 80.044220][ T5093] tcp_sendmsg+0x30/0x50 [ 80.048651][ T5093] __sock_sendmsg+0x1a6/0x270 [ 80.053338][ T5093] sock_write_iter+0x2dd/0x400 [ 80.058194][ T5093] ? __pfx_sock_write_iter+0x10/0x10 [ 80.063491][ T5093] ? bpf_lsm_file_permission+0x9/0x10 [ 80.068865][ T5093] ? security_file_permission+0x7f/0xa0 [ 80.074422][ T5093] vfs_write+0xa72/0xc90 [ 80.078674][ T5093] ? __pfx_sock_write_iter+0x10/0x10 [ 80.084050][ T5093] ? __pfx_vfs_write+0x10/0x10 [ 80.088818][ T5093] ? __set_current_blocked+0x310/0x380 [ 80.094284][ T5093] ? __might_fault+0xc6/0x120 [ 80.098972][ T5093] ksys_write+0x1a0/0x2c0 [ 80.103311][ T5093] ? __pfx_ksys_write+0x10/0x10 [ 80.108193][ T5093] ? do_syscall_64+0x100/0x230 [ 80.112993][ T5093] ? do_syscall_64+0xb6/0x230 [ 80.117677][ T5093] do_syscall_64+0xf3/0x230 [ 80.122195][ T5093] ? clear_bhb_loop+0x35/0x90 [ 80.126877][ T5093] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 80.132809][ T5093] RIP: 0033:0x7f1918716bf2 [ 80.137229][ T5093] 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 [ 80.156837][ T5093] RSP: 002b:00007ffddca4f288 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 80.165256][ T5093] RAX: ffffffffffffffda RBX: 0000000000000084 RCX: 00007f1918716bf2 [ 80.173252][ T5093] RDX: 0000000000000084 RSI: 000055c675059960 RDI: 0000000000000004 [ 80.181230][ T5093] RBP: 000055c675062de0 R08: 0000000000000000 R09: 0000000000000000 [ 80.189234][ T5093] R10: 0000000000000000 R11: 0000000000000246 R12: 000055c6353aaaa4 [ 80.197213][ T5093] R13: 000000000000004f R14: 000055c6353ab3e8 R15: 00007ffddca4f2f8 [ 80.205196][ T5093]