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 080539476 for ; Fri, 17 Jan 2025 00:54:03 +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=1737075245; cv=none; b=iSmY7bERAu3LBc3msXJn8IBxZ0ekUyJIi/aWw5gsjEhaxq+liprx7M4/Sjx29QLUZBoFpJrAdM2+l9T3/pYjU8QCmxazfTFqxSNoMP75lygCAQvEt3As8c7ArLj8O8zB0/epeYem3K2Kxo2cySwAljM7IVxD89O73riNu9eHrRI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1737075245; c=relaxed/simple; bh=duEYdhhTrJKydSfoyVPF7ooCIMwwQYJhqXwAei9ysDw=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=EPdt0VDCLkajhIgH1ePs7HBhR84lXQR+VXfisEtvRAGegDAJfK/UDIL4nRHqQb1XMsKUyxrsbAjdhBjBllXXUAJQkv9Vtu6ZV+l/shIL3wDP03jQ2YcT1odbyKXPuyMDrhnagd75Au/SJeuKBdSZ4DrvGRgP21tWBTnR6I4vycI= 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-3ce7c75cae9so21667415ab.1 for ; Thu, 16 Jan 2025 16:54:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737075243; x=1737680043; 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=qp5gL+zIsasHngSlCn5DS5HPYOQiAM1N+m92N0sDjpI=; b=i93X17NafSVeHBk2APw4v3VEj5X+sE9DBqIwlN8GZnLpciFDXrj/aYYnp38ZlO4KAJ XEpy5GHFgv6IHX0MvxvbzXuI97s+aSY9KPIggaRok9TH1BZW0MQKzZgfNIWaBb7wovdL RvCEnbwnT3w3wKqL1Gxt+g3CuwGVutaTb6pH5BCTHV3CoP6sJ9kIgzaUZMqa+VVJH67I ZHPh0cKGsQnLBXlDuD+oEHr8a/uOf5sqUfHqGvnREX8GsRW3YlX/nyq9WA36AORWVoKI PXHzGUpI9lplwmGgsPjOIE98O0RU9grvUAZTWkdvq051cOjphL31lKcrOmM7HwGPXC0C iR6Q== X-Gm-Message-State: AOJu0YzKZDnbkuqfLHi61AZFkhuCFRC9u5iIlNpdCDQZo3tzf/+1KWYg tUurv94K1RL/wgskq4npdtOHX2jMyoc5K3SUlKTXJiUfIH5hh5ie9/G3mLHi6pz42AQ/iFsNafx 6qKWxsSEviDN2wjXKl1eS6V640XuYtdJzVbe5+0Mr9g75s+QV/bs1OJI= X-Google-Smtp-Source: AGHT+IFyNzoEDrcFJYHVH0DNMZS/iFhZSfinJSE/tsRZcdJWzf9IQ8rMcRrhO5rlBEJ8D6PurWDgvgfjxykcTqzbqRZk60D16tNc 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:1d07:b0:3cd:d14c:be69 with SMTP id e9e14a558f8ab-3cf748c1969mr3833965ab.11.1737075243144; Thu, 16 Jan 2025 16:54:03 -0800 (PST) Date: Thu, 16 Jan 2025 16:54:03 -0800 In-Reply-To: <20250117004108.1645474-1-lizhi.xu@windriver.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <6789aa2b.050a0220.20d369.004b.GAE@google.com> Subject: Re: [syzbot] [fs?] KASAN: slab-use-after-free Read in debugfs_u32_get From: syzbot To: linux-kernel@vger.kernel.org, lizhi.xu@windriver.com, 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: failed to run ["scp" "-P" "22" "-F" "/de= v/null" "-o" "UserKnownHostsFile=3D/dev/null" "-o" "IdentitiesOnly=3Dyes" "= -o" "BatchMode=3Dyes" "-o" "StrictHostKeyChecking=3Dno" "-o" "ConnectTimeou= t=3D10" "-v" "/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/= bin/linux_amd64/syz-execprog" "root@10.128.0.213:./syz-execprog"]: exit sta= tus 255 Executing: program /usr/bin/ssh host 10.128.0.213, user root, command sftp OpenSSH_9.2p1 Debian-2+deb12u3, OpenSSL 3.0.15 3 Sep 2024 debug1: Reading configuration data /dev/null debug1: Connecting to 10.128.0.213 [10.128.0.213] port 22. debug1: connect to address 10.128.0.213 port 22: Connection timed out ssh: connect to host 10.128.0.213 port 22: Connection timed out scp: Connection closed syzkaller build log: go env (err=3D) GO111MODULE=3D'auto' GOARCH=3D'amd64' GOBIN=3D'' GOCACHE=3D'/syzkaller/.cache/go-build' GOENV=3D'/syzkaller/.config/go/env' GOEXE=3D'' GOEXPERIMENT=3D'' GOFLAGS=3D'' GOHOSTARCH=3D'amd64' GOHOSTOS=3D'linux' GOINSECURE=3D'' GOMODCACHE=3D'/syzkaller/jobs/linux/gopath/pkg/mod' GONOPROXY=3D'' GONOSUMDB=3D'' GOOS=3D'linux' GOPATH=3D'/syzkaller/jobs/linux/gopath' GOPRIVATE=3D'' GOPROXY=3D'https://proxy.golang.org,direct' GOROOT=3D'/usr/local/go' GOSUMDB=3D'sum.golang.org' GOTMPDIR=3D'' GOTOOLCHAIN=3D'auto' GOTOOLDIR=3D'/usr/local/go/pkg/tool/linux_amd64' GOVCS=3D'' GOVERSION=3D'go1.22.7' GCCGO=3D'gccgo' GOAMD64=3D'v1' AR=3D'ar' CC=3D'gcc' CXX=3D'g++' CGO_ENABLED=3D'1' GOMOD=3D'/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mo= d' GOWORK=3D'' CGO_CFLAGS=3D'-O2 -g' CGO_CPPFLAGS=3D'' CGO_CXXFLAGS=3D'-O2 -g' CGO_FFLAGS=3D'-O2 -g' CGO_LDFLAGS=3D'-O2 -g' PKG_CONFIG=3D'pkg-config' GOGCCFLAGS=3D'-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=3D0= -ffile-prefix-map=3D/tmp/go-build1808100001=3D/tmp/go-build -gno-record-gc= c-switches' git status (err=3D) HEAD detached at 7cbfbb3ab4 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}}' ./sys/syz-sysgen | grep -q false || go install ./sy= s/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 go fmt ./sys/... >/dev/null touch .descriptions GOOS=3Dlinux GOARCH=3Damd64 go build "-ldflags=3D-s -w -X github.com/google= /syzkaller/prog.GitRevision=3D7cbfbb3ab457b0a8ecf525a27a65a2078c5dcaa8 -X '= github.com/google/syzkaller/prog.gitRevisionDate=3D20241213-162906'" "-tags= =3Dsyz_target syz_os_linux syz_arch_amd64 " -o ./bin/linux_amd64/syz-execpr= og 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 -fpermissive -w -DGOOS_linu= x=3D1 -DGOARCH_amd64=3D1 \ -DHOSTGOOS_linux=3D1 -DGIT_REVISION=3D\"7cbfbb3ab457b0a8ecf525a27a65a2078c= 5dcaa8\" /usr/bin/ld: /tmp/ccLwq2KL.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: ce69b401 Merge tag 'net-6.13-rc8' of git://git.kernel... git tree: upstream kernel config: https://syzkaller.appspot.com/x/.config?x=3Df5e182416a4b418= f dashboard link: https://syzkaller.appspot.com/bug?extid=3Dd59601b9136ebc356= 300 compiler: gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Deb= ian) 2.40 patch: https://syzkaller.appspot.com/x/patch.diff?x=3D1479a1f85800= 00