./strace-static-x86_64 -e \!wait4,clock_nanosleep,nanosleep -s 100 -x -f ./syz-executor3361606030 <...> Warning: Permanently added '10.128.0.127' (ED25519) to the list of known hosts. execve("./syz-executor3361606030", ["./syz-executor3361606030"], 0x7ffdd5c840b0 /* 10 vars */) = 0 brk(NULL) = 0x55557d6a4000 brk(0x55557d6a4d00) = 0x55557d6a4d00 arch_prctl(ARCH_SET_FS, 0x55557d6a4380) = 0 set_tid_address(0x55557d6a4650) = 5230 set_robust_list(0x55557d6a4660, 24) = 0 rseq(0x55557d6a4ca0, 0x20, 0, 0x53053053) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 readlink("/proc/self/exe", "/root/syz-executor3361606030", 4096) = 28 getrandom("\x34\x56\xfc\x64\x28\x0c\x78\x76", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x55557d6a4d00 brk(0x55557d6c5d00) = 0x55557d6c5d00 brk(0x55557d6c6000) = 0x55557d6c6000 mprotect(0x7fc12071a000, 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=0x55557d6a4650) = 5231 ./strace-static-x86_64: Process 5231 attached [pid 5231] set_robust_list(0x55557d6a4660, 24) = 0 [pid 5231] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5231] setpgid(0, 0) = 0 [pid 5231] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5231] write(3, "1000", 4) = 4 [pid 5231] close(3) = 0 [pid 5231] write(1, "executing program\n", 18executing program ) = 18 [pid 5231] 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 5231] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5231] close(3) = 0 [pid 5231] 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 5231] 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 5231] close(3) = 0 [pid 5231] 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 5231] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5231] 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 5231] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=5}}, 16) = 6 [pid 5231] exit_group(0) = ? [pid 5231] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5231, 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 5232 attached [pid 5232] set_robust_list(0x55557d6a4660, 24 [pid 5230] <... clone resumed>, child_tidptr=0x55557d6a4650) = 5232 [pid 5232] <... set_robust_list resumed>) = 0 [pid 5232] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5232] setpgid(0, 0) = 0 [pid 5232] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5232] write(3, "1000", 4) = 4 [pid 5232] close(3) = 0 [pid 5232] write(1, "executing program\n", 18executing program ) = 18 [pid 5232] 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 5232] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5232] close(3) = 0 [pid 5232] 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 5232] 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 5232] close(3) = 0 [pid 5232] 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 5232] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5232] 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 5232] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=5}}, 16) = 6 [pid 5232] exit_group(0) = ? [pid 5232] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5232, 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 5233 attached , child_tidptr=0x55557d6a4650) = 5233 [pid 5233] set_robust_list(0x55557d6a4660, 24) = 0 [pid 5233] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5233] setpgid(0, 0) = 0 [pid 5233] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5233] write(3, "1000", 4) = 4 [pid 5233] close(3) = 0 [pid 5233] write(1, "executing program\n", 18executing program ) = 18 [pid 5233] 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 5233] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5233] close(3) = 0 [pid 5233] 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 5233] 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 5233] close(3) = 0 [pid 5233] 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 5233] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5233] 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 5233] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=5}}, 16) = 6 [pid 5233] exit_group(0) = ? [pid 5233] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5233, 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 5234 attached , child_tidptr=0x55557d6a4650) = 5234 [pid 5234] set_robust_list(0x55557d6a4660, 24) = 0 [pid 5234] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5234] setpgid(0, 0) = 0 [pid 5234] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5234] write(3, "1000", 4) = 4 [pid 5234] close(3) = 0 [pid 5234] write(1, "executing program\n", 18executing program ) = 18 [pid 5234] 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 5234] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5234] close(3) = 0 [pid 5234] 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 5234] 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 5234] close(3) = 0 [pid 5234] 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 5234] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5234] 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 5234] bpf(BPF_RAW_TRACEPOINT_OPEN, {raw_tracepoint={name="timer_start", prog_fd=5}}, 16) = 6 [pid 5234] exit_group(0) = ? [pid 5234] +++ exited with 0 +++ --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=5234, 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 5235 attached , child_tidptr=0x55557d6a4650) = 5235 [pid 5235] set_robust_list(0x55557d6a4660, 24) = 0 [pid 5235] prctl(PR_SET_PDEATHSIG, SIGKILL) = 0 [pid 5235] setpgid(0, 0) = 0 [pid 5235] openat(AT_FDCWD, "/proc/self/oom_score_adj", O_WRONLY|O_CLOEXEC) = 3 [pid 5235] write(3, "1000", 4) = 4 [pid 5235] close(3) = 0 [pid 5235] write(1, "executing program\n", 18executing program ) = 18 [pid 5235] 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 5235] socketpair(AF_TIPC, SOCK_DGRAM, 0, [3, 4]) = 0 [pid 5235] close(3) = 0 [pid 5235] 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 5235] 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 5235] close(3) = 0 [pid 5235] 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 5235] bpf(BPF_MAP_UPDATE_ELEM, {map_fd=3, key=0x20000340, value=0x20000200, flags=BPF_ANY}, 32) = 0 [pid 5235] 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 [ 61.049298][ T5225] [ 61.051651][ T5225] ====================================================== [ 61.058647][ T5225] WARNING: possible circular locking dependency detected [ 61.066092][ T5225] 6.11.0-rc5-syzkaller-00154-g9b0874286768 #0 Not tainted [ 61.073177][ T5225] ------------------------------------------------------ [ 61.080172][ T5225] sshd/5225 is trying to acquire lock: [ 61.085611][ T5225] ffff8880b8929430 (krc.lock){....}-{2:2}, at: kvfree_call_rcu+0x18a/0x790 [ 61.094240][ T5225] [ 61.094240][ T5225] but task is already holding lock: [ 61.101583][ T5225] ffff8880b892a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 61.110443][ T5225] [ 61.110443][ T5225] which lock already depends on the new lock. [ 61.110443][ T5225] [ 61.120827][ T5225] [ 61.120827][ T5225] the existing dependency chain (in reverse order) is: [ 61.129819][ T5225] [ 61.129819][ T5225] -> #1 (&base->lock){-.-.}-{2:2}: [ 61.137100][ T5225] lock_acquire+0x1ed/0x550 [ 61.142113][ T5225] _raw_spin_lock_irqsave+0xd5/0x120 [ 61.147917][ T5225] lock_timer_base+0x112/0x240 [ 61.153186][ T5225] __mod_timer+0x1ca/0xeb0 [ 61.158108][ T5225] queue_delayed_work_on+0x1ca/0x390 [ 61.163901][ T5225] kvfree_call_rcu+0x47f/0x790 [ 61.169173][ T5225] pwq_release_workfn+0x6d1/0x860 [ 61.174703][ T5225] kthread_worker_fn+0x500/0xaf0 [ 61.180147][ T5225] kthread+0x2f0/0x390 [ 61.184721][ T5225] ret_from_fork+0x4b/0x80 [ 61.189655][ T5225] ret_from_fork_asm+0x1a/0x30 [ 61.194926][ T5225] [ 61.194926][ T5225] -> #0 (krc.lock){....}-{2:2}: [ 61.201944][ T5225] validate_chain+0x18e0/0x5900 [ 61.207299][ T5225] __lock_acquire+0x137a/0x2040 [ 61.212655][ T5225] lock_acquire+0x1ed/0x550 [ 61.217661][ T5225] _raw_spin_lock+0x2e/0x40 [ 61.222673][ T5225] kvfree_call_rcu+0x18a/0x790 [ 61.227943][ T5225] trie_delete_elem+0x546/0x6a0 [ 61.233302][ T5225] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 61.239271][ T5225] bpf_trace_run2+0x2ec/0x540 [ 61.244452][ T5225] enqueue_timer+0x3ce/0x570 [ 61.249568][ T5225] __mod_timer+0x953/0xeb0 [ 61.254513][ T5225] sk_reset_timer+0x23/0xc0 [ 61.259541][ T5225] tcp_event_new_data_sent+0x203/0x360 [ 61.265517][ T5225] tcp_write_xmit+0x18dc/0x6a10 [ 61.270878][ T5225] __tcp_push_pending_frames+0x9b/0x360 [ 61.276930][ T5225] tcp_sendmsg_locked+0x43b1/0x4e10 [ 61.282655][ T5225] tcp_sendmsg+0x30/0x50 [ 61.287417][ T5225] __sock_sendmsg+0x1a6/0x270 [ 61.292607][ T5225] sock_write_iter+0x2dd/0x400 [ 61.297887][ T5225] vfs_write+0xa72/0xc90 [ 61.302638][ T5225] ksys_write+0x1a0/0x2c0 [ 61.307474][ T5225] do_syscall_64+0xf3/0x230 [ 61.312568][ T5225] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.318970][ T5225] [ 61.318970][ T5225] other info that might help us debug this: [ 61.318970][ T5225] [ 61.329352][ T5225] Possible unsafe locking scenario: [ 61.329352][ T5225] [ 61.336781][ T5225] CPU0 CPU1 [ 61.342126][ T5225] ---- ---- [ 61.347472][ T5225] lock(&base->lock); [ 61.351526][ T5225] lock(krc.lock); [ 61.357837][ T5225] lock(&base->lock); [ 61.364408][ T5225] lock(krc.lock); [ 61.368202][ T5225] [ 61.368202][ T5225] *** DEADLOCK *** [ 61.368202][ T5225] [ 61.376325][ T5225] 3 locks held by sshd/5225: [ 61.380894][ T5225] #0: ffff88804b112718 (sk_lock-AF_INET){+.+.}-{0:0}, at: tcp_sendmsg+0x22/0x50 [ 61.390016][ T5225] #1: ffff8880b892a718 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x112/0x240 [ 61.399313][ T5225] #2: ffffffff8e938320 (rcu_read_lock){....}-{1:2}, at: bpf_trace_run2+0x1fc/0x540 [ 61.408697][ T5225] [ 61.408697][ T5225] stack backtrace: [ 61.414578][ T5225] CPU: 1 UID: 0 PID: 5225 Comm: sshd Not tainted 6.11.0-rc5-syzkaller-00154-g9b0874286768 #0 [ 61.424718][ T5225] Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024 [ 61.434761][ T5225] Call Trace: [ 61.438028][ T5225] [ 61.440945][ T5225] dump_stack_lvl+0x241/0x360 [ 61.445615][ T5225] ? __pfx_dump_stack_lvl+0x10/0x10 [ 61.450802][ T5225] ? print_circular_bug+0x130/0x1a0 [ 61.455984][ T5225] check_noncircular+0x36a/0x4a0 [ 61.460909][ T5225] ? __pfx_check_noncircular+0x10/0x10 [ 61.466354][ T5225] ? lockdep_lock+0x123/0x2b0 [ 61.471019][ T5225] ? mark_lock+0x9a/0x350 [ 61.475339][ T5225] validate_chain+0x18e0/0x5900 [ 61.480183][ T5225] ? __pfx_validate_chain+0x10/0x10 [ 61.485366][ T5225] ? stack_depot_save_flags+0x6e4/0x830 [ 61.490903][ T5225] ? do_raw_spin_lock+0x14f/0x370 [ 61.495911][ T5225] ? __pfx_lock_release+0x10/0x10 [ 61.500925][ T5225] ? do_raw_spin_unlock+0x13c/0x8b0 [ 61.506109][ T5225] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 61.511990][ T5225] ? __pfx__raw_spin_unlock_irqrestore+0x10/0x10 [ 61.518311][ T5225] ? stack_trace_save+0x118/0x1d0 [ 61.523324][ T5225] ? mark_lock+0x9a/0x350 [ 61.527643][ T5225] __lock_acquire+0x137a/0x2040 [ 61.532487][ T5225] lock_acquire+0x1ed/0x550 [ 61.536977][ T5225] ? kvfree_call_rcu+0x18a/0x790 [ 61.541907][ T5225] ? __pfx_lock_acquire+0x10/0x10 [ 61.546923][ T5225] ? __phys_addr+0xba/0x170 [ 61.551410][ T5225] _raw_spin_lock+0x2e/0x40 [ 61.555901][ T5225] ? kvfree_call_rcu+0x18a/0x790 [ 61.560826][ T5225] kvfree_call_rcu+0x18a/0x790 [ 61.565580][ T5225] ? _raw_spin_unlock_irqrestore+0xdd/0x140 [ 61.571462][ T5225] ? __pfx_kvfree_call_rcu+0x10/0x10 [ 61.576737][ T5225] ? longest_prefix_match+0x49f/0x650 [ 61.582100][ T5225] trie_delete_elem+0x546/0x6a0 [ 61.586945][ T5225] ? bpf_trace_run2+0x1fc/0x540 [ 61.591781][ T5225] bpf_prog_2c29ac5cdc6b1842+0x42/0x46 [ 61.597223][ T5225] bpf_trace_run2+0x2ec/0x540 [ 61.601891][ T5225] ? exc_int3+0xe/0x80 [ 61.605950][ T5225] ? __pfx_bpf_trace_run2+0x10/0x10 [ 61.611135][ T5225] ? enqueue_timer+0xfe/0x570 [ 61.615801][ T5225] ? enqueue_timer+0x310/0x570 [ 61.620578][ T5225] enqueue_timer+0x3ce/0x570 [ 61.625250][ T5225] __mod_timer+0x953/0xeb0 [ 61.629656][ T5225] ? __pfx___mod_timer+0x10/0x10 [ 61.634580][ T5225] ? __pfx_seqcount_lockdep_reader_access+0x10/0x10 [ 61.641243][ T5225] ? ktime_get+0x3c/0xb0 [ 61.645477][ T5225] ? __asan_memset+0x23/0x50 [ 61.650056][ T5225] sk_reset_timer+0x23/0xc0 [ 61.654555][ T5225] tcp_event_new_data_sent+0x203/0x360 [ 61.660006][ T5225] tcp_write_xmit+0x18dc/0x6a10 [ 61.664851][ T5225] ? __virt_addr_valid+0x183/0x530 [ 61.669947][ T5225] ? __alloc_skb+0x2d5/0x440 [ 61.674528][ T5225] __tcp_push_pending_frames+0x9b/0x360 [ 61.680062][ T5225] tcp_sendmsg_locked+0x43b1/0x4e10 [ 61.685264][ T5225] ? __pfx_tcp_sendmsg_locked+0x10/0x10 [ 61.690791][ T5225] ? __local_bh_enable_ip+0x168/0x200 [ 61.696150][ T5225] ? do_raw_spin_unlock+0x13c/0x8b0 [ 61.701337][ T5225] tcp_sendmsg+0x30/0x50 [ 61.705565][ T5225] __sock_sendmsg+0x1a6/0x270 [ 61.710244][ T5225] sock_write_iter+0x2dd/0x400 [ 61.714998][ T5225] ? __pfx_sock_write_iter+0x10/0x10 [ 61.720273][ T5225] ? bpf_lsm_file_permission+0x9/0x10 [ 61.725633][ T5225] ? security_file_permission+0x7f/0xa0 [ 61.731174][ T5225] vfs_write+0xa72/0xc90 [ 61.735405][ T5225] ? __pfx_sock_write_iter+0x10/0x10 [ 61.740681][ T5225] ? __pfx_vfs_write+0x10/0x10 [ 61.745427][ T5225] ? __set_current_blocked+0x310/0x380 [ 61.750874][ T5225] ? __might_fault+0xc6/0x120 [ 61.755542][ T5225] ksys_write+0x1a0/0x2c0 [ 61.759856][ T5225] ? __pfx_ksys_write+0x10/0x10 [ 61.764690][ T5225] ? do_syscall_64+0x100/0x230 [ 61.769438][ T5225] ? do_syscall_64+0xb6/0x230 [ 61.774107][ T5225] do_syscall_64+0xf3/0x230 [ 61.778595][ T5225] ? clear_bhb_loop+0x35/0x90 [ 61.783258][ T5225] entry_SYSCALL_64_after_hwframe+0x77/0x7f [ 61.789146][ T5225] RIP: 0033:0x7f9e74b16bf2 [ 61.793548][ T5225] 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 [ 61.813151][ T5225] RSP: 002b:00007ffc8ad792a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 61.821551][ T5225] RAX: ffffffffffffffda RBX: 0000000000000084 RCX: 00007f9e74b16bf2 [ 61.829506][ T5225] RDX: 0000000000000084 RSI: 000055a5b154c960 RDI: 0000000000000004 [ 61.837461][ T5225] RBP: 000055a5b15553f0 R08: 0000000000000000 R09: 0000000000000000 [ 61.845416][ T5225] R10: 0000000000000000 R11: 0000000000000246 R12: 000055a58f84daa4 [ 61.853367][ T5225] R13: 000000000000003d R14: 000055a58f84e3e8 R15: 00007ffc8ad79318 [ 61.861333][ T5225]