From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f198.google.com (mail-il1-f198.google.com [209.85.166.198]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 86C8016D9C2 for ; Fri, 22 Aug 2025 17:47:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.198 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755884826; cv=none; b=pAxtapOzSU+9Ss90zsGly0XlldpWGgCQFToJ5h7sgDLCz/9eCl5R6MtGDWciHatytHPl8iLFeEFEJPfn/lCIbUUYYnAXYDaaCPVJKE3odEuEKJRHq8ojXbnmKyKeWpIf+Y97KznCJE1Adjc5bWWdCDpgtYsOPmKdgML5jfpnffU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755884826; c=relaxed/simple; bh=uqbsem/edvVXeYuXyapHMkHCT7iy1SKxneRyBJYG2/c=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=t8zrSiJbsu0mqiJ70XuAbZwumEs/0Bel5PEIYapOJLnNkXi3GCSEZnxZEjHlP2hIpA6fPbG8p5Fm5qFo/yLrxz7iLuawfsx2l+wabf2i/dtxd6dde9YdV/4v2Cotm2VkU0p43+Srz+bjwM4BqTT05lFmzNRmGLPEy/BoNwYJPrc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com; arc=none smtp.client-ip=209.85.166.198 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=syzkaller.appspotmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=M3KW2WVRGUFZ5GODRSRYTGD7.apphosting.bounces.google.com Received: by mail-il1-f198.google.com with SMTP id e9e14a558f8ab-3e6830e2382so68018055ab.2 for ; Fri, 22 Aug 2025 10:47:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755884823; x=1756489623; h=content-transfer-encoding:to:from:subject:message-id:in-reply-to :date:mime-version:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=xkXgH+iB6VmWE2vr1V711WWx44dm7YVWVq4aPl1LOZQ=; b=IGk2Znr3ZleclTFRscAYvJ7NtT4guLEvsLVP8bNvVMpcZVEcfMUwIupRvRdMk7jsnv QubopGnQiHjH5bAVcNyNJzoW2WkUJHuvinkbAcDoQRt7luMaboqxBB1B+BAvW7vabP1d 9RfbZvPwm3hIS3cPBGC5tkZIAzHvJppExuvQRtZGVXp5bF62lj7uqY0kYZiLf77CaAW6 lhofxYAWP+xzU/COaM18TfvZaoVgQVsQT/gGBiipzcDEzuxxEBB7KkQc8Eh6XhA0WDRp u2NIueV2PUALWJ/2qJ315mZUZoIS0hDghAWyg55NHyk+SQFc4IXEs8f59cwywHt3HyTN Hl8Q== X-Gm-Message-State: AOJu0YwequD1CiZKWrrrLvVxr16SWgpR5NdRVP04PXXqYhYb/q9OeuzA AZp35z4ka57nWgph1RF1UjbwUFPor21KmOOPhdazD/FZ3Hh+/Qmeic5Zrs3GwYvMuc94Vb4AEv6 ABfAvYjXbiWCXSgtqDqnZIwLDiiiIsERLPL7qfR9mmggHGZfrKiw+EMyO+BQ= X-Google-Smtp-Source: AGHT+IGIEsnVy7qCgz9KdbXJYrg2jEoUBGYtzBtsqGcFCHSbGX/72U+is1c63w5g4gyVNNU0dK8kKaFHqd+IV1kxp3Wb35kGdCQ0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a05:6e02:3087:b0:3e9:8a9f:ba7a with SMTP id e9e14a558f8ab-3e98a9fbb99mr37240495ab.21.1755884823681; Fri, 22 Aug 2025 10:47:03 -0700 (PDT) Date: Fri, 22 Aug 2025 10:47:03 -0700 In-Reply-To: <20250822134548.415-1-yuichtsu@amazon.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <68a8ad17.a00a0220.33401d.027e.GAE@google.com> Subject: Re: [syzbot] [v9fs?] UBSAN: shift-out-of-bounds in v9fs_get_tree From: syzbot To: linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.com, yuichtsu@amazon.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, syzbot tried to test the proposed patch but the build/boot failed: failed to copy syz-execprog to VM: timedout after 1m0s ["scp" "-P" "22" "-F= " "/dev/null" "-o" "UserKnownHostsFile=3D/dev/null" "-o" "IdentitiesOnly=3D= yes" "-o" "BatchMode=3Dyes" "-o" "StrictHostKeyChecking=3Dno" "-o" "Connect= Timeout=3D10" "-v" "/syzkaller/jobs-2/linux/gopath/src/github.com/google/sy= zkaller/bin/linux_amd64/syz-execprog" "root@10.128.0.67:./syz-execprog"] Executing: program /usr/bin/ssh host 10.128.0.67, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u6, OpenSSL 3.0.16 11 Feb 2025 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.0.67 [10.128.0.67] port 22. debug1: fd 3 clearing O_NONBLOCK debug1: Connection established. debug1: identity file /root/.ssh/id_rsa type -1 debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: identity file /root/.ssh/id_ecdsa_sk type -1 debug1: identity file /root/.ssh/id_ecdsa_sk-cert type -1 debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: identity file /root/.ssh/id_ed25519_sk type -1 debug1: identity file /root/.ssh/id_ed25519_sk-cert type -1 debug1: identity file /root/.ssh/id_xmss type -1 debug1: identity file /root/.ssh/id_xmss-cert type -1 debug1: identity file /root/.ssh/id_dsa type -1 debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u6 debug1: Remote protocol version 2.0, remote software version OpenSSH_9.9 debug1: compat_banner: match: OpenSSH_9.9 pat OpenSSH* compat 0x04000000 debug1: Authenticating to 10.128.0.67:22 as 'root' debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or dire= ctory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or dir= ectory debug1: SSH2_MSG_KEXINIT sent debug1: SSH2_MSG_KEXINIT received debug1: kex: algorithm: sntrup761x25519-sha512 debug1: kex: host key algorithm: ssh-ed25519 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: compression: none debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug1: SSH2_MSG_KEX_ECDH_REPLY received debug1: Server host key: ssh-ed25519 SHA256:EAvWV3GG8odMD+k20F251zjwXNDbyLo= /P7N2oY0DvFQ debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts: No such file or dire= ctory debug1: load_hostkeys: fopen /etc/ssh/ssh_known_hosts2: No such file or dir= ectory Warning: Permanently added '10.128.0.67' (ED25519) to the list of known hos= ts. debug1: ssh_packet_send2_wrapped: resetting send seqnr 3 debug1: rekey out after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug1: ssh_packet_read_poll2: resetting read seqnr 3 debug1: SSH2_MSG_NEWKEYS received debug1: rekey in after 134217728 blocks debug1: Will attempt key: /root/.ssh/id_rsa=20 debug1: Will attempt key: /root/.ssh/id_ecdsa=20 debug1: Will attempt key: /root/.ssh/id_ecdsa_sk=20 debug1: Will attempt key: /root/.ssh/id_ed25519=20 debug1: Will attempt key: /root/.ssh/id_ed25519_sk=20 debug1: Will attempt key: /root/.ssh/id_xmss=20 debug1: Will attempt key: /root/.ssh/id_dsa=20 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=3D debug1: kex_input_ext_info: publickey-hostbound@openssh.com=3D<0> debug1: kex_input_ext_info: ping@openssh.com (unrecognised) debug1: SSH2_MSG_SERVICE_ACCEPT received Authenticated to 10.128.0.67 ([10.128.0.67]:22) using "none". debug1: channel 0: new session [client-session] (inactive timeout: 0) debug1: Requesting no-more-sessions@openssh.com debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_rep= ly 0 debug1: Sending subsystem: sftp debug1: pledge: fork scp: debug1: stat remote: No such file or directory syzkaller build log: go env (err=3D) AR=3D'ar' CC=3D'gcc' CGO_CFLAGS=3D'-O2 -g' CGO_CPPFLAGS=3D'' CGO_CXXFLAGS=3D'-O2 -g' CGO_ENABLED=3D'1' CGO_FFLAGS=3D'-O2 -g' CGO_LDFLAGS=3D'-O2 -g' CXX=3D'g++' GCCGO=3D'gccgo' GO111MODULE=3D'auto' GOAMD64=3D'v1' GOARCH=3D'amd64' GOAUTH=3D'netrc' GOBIN=3D'' GOCACHE=3D'/syzkaller/.cache/go-build' GOCACHEPROG=3D'' GODEBUG=3D'' GOENV=3D'/syzkaller/.config/go/env' GOEXE=3D'' GOEXPERIMENT=3D'' GOFIPS140=3D'off' GOFLAGS=3D'' GOGCCFLAGS=3D'-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=3D0= -ffile-prefix-map=3D/tmp/go-build2661052816=3D/tmp/go-build -gno-record-gc= c-switches' GOHOSTARCH=3D'amd64' GOHOSTOS=3D'linux' GOINSECURE=3D'' GOMOD=3D'/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.= mod' GOMODCACHE=3D'/syzkaller/jobs-2/linux/gopath/pkg/mod' GONOPROXY=3D'' GONOSUMDB=3D'' GOOS=3D'linux' GOPATH=3D'/syzkaller/jobs-2/linux/gopath' GOPRIVATE=3D'' GOPROXY=3D'https://proxy.golang.org,direct' GOROOT=3D'/usr/local/go' GOSUMDB=3D'sum.golang.org' GOTELEMETRY=3D'local' GOTELEMETRYDIR=3D'/syzkaller/.config/go/telemetry' GOTMPDIR=3D'' GOTOOLCHAIN=3D'auto' GOTOOLDIR=3D'/usr/local/go/pkg/tool/linux_amd64' GOVCS=3D'' GOVERSION=3D'go1.24.4' GOWORK=3D'' PKG_CONFIG=3D'pkg-config' git status (err=3D) HEAD detached at 1804e95e3f nothing to commit, working tree clean tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contribut= ing.md#using-syz-env go list -f '{{.Stale}}' -ldflags=3D"-s -w -X github.com/google/syzkaller/pr= og.GitRevision=3D1804e95e3ff848c11e87e8efe7560f03c011c081 -X github.com/goo= gle/syzkaller/prog.gitRevisionDate=3D20250814-193721" ./sys/syz-sysgen | g= rep -q false || go install -ldflags=3D"-s -w -X github.com/google/syzkaller= /prog.GitRevision=3D1804e95e3ff848c11e87e8efe7560f03c011c081 -X github.com/= google/syzkaller/prog.gitRevisionDate=3D20250814-193721" ./sys/syz-sysgen make .descriptions tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified Makefile:31: run command via tools/syz-env for best compatibility, see: Makefile:32: https://github.com/google/syzkaller/blob/master/docs/contribut= ing.md#using-syz-env bin/syz-sysgen touch .descriptions GOOS=3Dlinux GOARCH=3Damd64 go build -ldflags=3D"-s -w -X github.com/google= /syzkaller/prog.GitRevision=3D1804e95e3ff848c11e87e8efe7560f03c011c081 -X g= ithub.com/google/syzkaller/prog.gitRevisionDate=3D20250814-193721" -o ./bi= n/linux_amd64/syz-execprog github.com/google/syzkaller/tools/syz-execprog mkdir -p ./bin/linux_amd64 g++ -o ./bin/linux_amd64/syz-executor executor/executor.cc \ -m64 -O2 -pthread -Wall -Werror -Wparentheses -Wunused-const-variable -Wfr= ame-larger-than=3D16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-forma= t-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -= static-pie -std=3Dc++17 -I. -Iexecutor/_include -DGOOS_linux=3D1 -DGOARCH= _amd64=3D1 \ -DHOSTGOOS_linux=3D1 -DGIT_REVISION=3D\"1804e95e3ff848c11e87e8efe7560f03c0= 11c081\" /usr/bin/ld: /tmp/ccl4qXUn.o: in function `Connection::Connect(char const*,= char const*)': executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEP= KcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applicat= ions requires at runtime the shared libraries from the glibc version used f= or linking Tested on: commit: 0f4c93f7 Add linux-next specific files for 20250822 git tree: linux-next kernel config: https://syzkaller.appspot.com/x/.config?x=3D21eed27c0deadb9= 2 dashboard link: https://syzkaller.appspot.com/bug?extid=3D30c83da54e948f6e9= 436 compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-= 1~exp1~20250616065826.132), Debian LLD 20.1.7 patch: https://syzkaller.appspot.com/x/patch.diff?x=3D14d487bc5800= 00