From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f199.google.com (mail-il1-f199.google.com [209.85.166.199]) (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 B29F02572 for ; Fri, 27 Dec 2024 02:12:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735265525; cv=none; b=BZ2CZazojGtBUdP6+dvzE0544KVrNJT7JB5pdeXtHpg40v+qPXX0hJgGHe3v7FhHzyY3MH8fbwqSuxW4B87X6Tf7zrRTTNNOxX/EHRadXCegT4WKlotRgWYDXyi/5WNoZPcCt0kPRBzRhN9VXwaMyWKcpijouD+H1bA+V91KtAo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1735265525; c=relaxed/simple; bh=sQpUAv7nm15ImPfXH0AtdhOf4DrKdaafftzRrcaHBo4=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=c8M6nWROq5c4yx5TtbWLSLpKlDOS5cDTDOW1/dPI924Sf4QL4H714PhKY2HDJATpPLToxsHm/5gYiBeYFBgQR6ogP1xU9YnSu1/XMwfudxM37xGtSKZ6tdA34Ab6WOiXGxawQ+B7nL+d+kC9N6a2C+eElhJJEEs2FnjyY5/sF0Y= 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.199 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-f199.google.com with SMTP id e9e14a558f8ab-3a9d075bdc3so122295165ab.3 for ; Thu, 26 Dec 2024 18:12:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735265523; x=1735870323; 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=mMfKf3puGcKXlnWCcv0gxL7vfh7eQfUtOmTHJoQHKIc=; b=gO1kcm0SH+qMnEPtklSfY50ye+W0NB8XO8JiL23vwDGo/8ysJB2wlnYAZI6mFKNkOk JFdif6jwWeL829aDPkMRN68usbWfKoOpM4auYMC4Yz09AjwpIQnUh/xeteJNIlupOLGU iyvpGdAaLp4zXls1VHUgG//s9b+FvQ5+q1gJvrPB2One44CrGou0ConZwazrWH49XvZe 8mPriOQGqoy0oQZCEu4slCa8/hLRvzk0iOa10rFvB9mgk3Jx7O7V+KruZgIJLnOeBy53 j7XWj/impbXFyWC0lUykKVOHKK74ZYGcQq5KJtpAFLXbq1CXnWk5lFnESi40c1gpCTLx QSEQ== X-Gm-Message-State: AOJu0Yz5L45Vaa7NAj1NZOHxT0bTUb34N28APIVqD3lE55aoJWYT+6Ay hBJ7fSOIlE9MN6OgmpoVvgnNYAJVc+6l+YLjvq3GcW7WPGZScljRc/Zv33WSGCtwKKjTyTm2zNH 5EiO2OKBX48FJ+/ps/MXlkfrhQP9VKUWTZrUB0AWGy/d9kO3B7v4+bXQ= X-Google-Smtp-Source: AGHT+IErKUQvN2F5tLfNo/16KPd+iUA36SDIiAcyEuUcvjnL+QwRrVBJLDPaIAHlznNfJ/Ig+w0oD8TscVe7XduPg7i+Owg4Y4Bv 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:1d1d:b0:3a7:c32f:be58 with SMTP id e9e14a558f8ab-3c2d313555fmr196202885ab.13.1735265522849; Thu, 26 Dec 2024 18:12:02 -0800 (PST) Date: Thu, 26 Dec 2024 18:12:02 -0800 In-Reply-To: <20241227015253.3662933-1-lizhi.xu@windriver.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <676e0cf2.050a0220.2f3838.0477.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.10.17:./syz-execprog"]: exit sta= tus 255 Executing: program /usr/bin/ssh host 10.128.10.17, 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.10.17 [10.128.10.17] port 22. debug1: connect to address 10.128.10.17 port 22: Connection timed out ssh: connect to host 10.128.10.17 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-build1104273203=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/cc0ZEbXY.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: d6ef8b40 Merge tag 'sound-6.13-rc5' of git://git.kerne.. git tree: upstream kernel config: https://syzkaller.appspot.com/x/.config?x=3Dc078001e66e4a17= e 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=3D157442c45800= 00