From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-io1-f72.google.com (mail-io1-f72.google.com [209.85.166.72]) (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 49F5228A72F for ; Fri, 22 Aug 2025 18:05:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755885912; cv=none; b=PXkPyshGarorDeBWFwZ95KRdEbpnPpxR0XpWN/R7H6KN/6tv4gvGrWGunB8l/tx086Z37EEscnwiPqxvV4F7ciV3WujDXyvlrzKrvjk5l6ylef2Y/BVjRo+6LkJYWvZ/hBs7r4Iso5CebbPTAUMzzRkivMiKa80BRQuZMWzytn0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1755885912; c=relaxed/simple; bh=OCCv/6GPzs1bP0gK68a3oL2I/MjE5hmBUD9nVHEFN7A=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=PIp6WtO4ggIt+KP1CAksvqpzOn8co0oi8PjgjFeVy6TbElsrX4C4uMK71oymqXILSwzYoPWPnSJXJYCbCBl4W9kN2nXIT/41k7WGmIaOOFvzcdypAGaZeE5fP7a2Pk7OkQ22u0N4Tdlfe5iIw5ytoeBL8JRaBZl498gcveZ/qMM= 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.72 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-io1-f72.google.com with SMTP id ca18e2360f4ac-88432d9ae89so206138939f.1 for ; Fri, 22 Aug 2025 11:05:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1755885907; x=1756490707; 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=NZ4wM2LwJr2N0WqMlwPG6DU9xI2adToqsXhNSZ/nLEA=; b=WTx7Csz+c29jnJ+c4MT5O36Y6dySGjuIlTxJKedhAeKXFwp7feqBynf9y6I0V2foQ0 jL8dPHJpDDYPITV0VpRTMJcTgINVKLcDi8L4PuXAX8YfPEzLZEHSlVMVhpZRspGEGOOf J+M6xSJTrtj8nFTUr9XlvdAXxzEtbCMMyFS65oBH22Jfxn2bPkg5PcxeNJcYb8buzY5X OASTbUiHlWo961Dnutb8teg909FikZbFR+GLkWQAyu9l1oD2NQc6JCvLKwPgPOPOaVdD jZ0CV0OkPXbDyHtvaUwhGy6c81CH600T1x0F0UlchsVTRWqnRufXhKrPFo61QvvpypY1 tHCw== X-Forwarded-Encrypted: i=1; AJvYcCXeCes5E7ERIm+u0aE65Q4pup5udF7bXDmvAZV+DhGZ08tWJHfNFh7d5pzmtWaCZRWpxBLvwTVP9ZdId2g=@vger.kernel.org X-Gm-Message-State: AOJu0Yw+YqYwTbyQ3FLdfcEKNvqI/KkRG6bCnLDCigXmjPIRUt4a+qpk 8fI+8kN2DGFNJN1UJLdRVS485s2U3J0MczyEffD+M77NONL0bgeR/18ISnW7zeE6g8SN/YAmxT3 zWCs0b88gF0P/WPL7GJHNIk6uOfuzUpryRhD7KAZFi1oEQOuqsRiOJug2b44= X-Google-Smtp-Source: AGHT+IFrnxeg9ZZVCP838gcfoIm0LRLC58EQiC/SVgX+CsS6asHRWq/vVfb6D2ExgtWi+oS9YlUML8OxNqedyU6/WGIjHz+eTx4y Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a92:cda3:0:b0:3e6:7bb6:74f with SMTP id e9e14a558f8ab-3e921e3f6dfmr61553845ab.20.1755885906236; Fri, 22 Aug 2025 11:05:06 -0700 (PDT) Date: Fri, 22 Aug 2025 11:05:06 -0700 In-Reply-To: X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <68a8b152.050a0220.37038e.0058.GAE@google.com> Subject: Re: [syzbot] [v9fs?] UBSAN: shift-out-of-bounds in v9fs_get_tree From: syzbot To: eadavis@qq.com, linux-kernel@vger.kernel.org, syzkaller-bugs@googlegroups.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.230:./syz-execprog"] Executing: program /usr/bin/ssh host 10.128.0.230, 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.230 [10.128.0.230] 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.230: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.230' (ED25519) to the list of known ho= sts. 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.230 ([10.128.0.230]: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-build1345382669=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/cc37JJEh.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=3D168bdfa25800= 00