From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f69.google.com (mail-oo1-f69.google.com [209.85.161.69]) (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 4F706364949 for ; Mon, 9 Mar 2026 08:13:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.69 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773043986; cv=none; b=I9u2OM+V9vFqQ9QQ6aFUjrdVtVboR7XuE/VTrrzKnA5Ag6cROfwX0t1F4X298TcP+2klGfQtV6HcGXGr4JPyI6iDBcOaGhnJfUIoRscCpip1MKPeVgPsfdOixo9tMZe7il/461ZVVLept4YZ56OJ8bL0BIy8z7mpBncs74QFo+o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773043986; c=relaxed/simple; bh=Wxwk/k6yTwTcqM5BHF0Ec826vZwB2zGpH4hloKZoSoU=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=Nt/oFeZH12mkyPs2D0v58koCvfiCznuOPLWOBwCSGQJMIAn8/eYHjNcaIbhaGfK6yPyysg3nS1pJTCyJPpfulUv/RB5hTF6CVUvet4M5B4jCLptvPtbClALHYuYxv1fenT7+9hqvE6QwwPAR95zbplNqJCNRroRg50UOAYJGZrY= 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.161.69 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-oo1-f69.google.com with SMTP id 006d021491bc7-67bb5810407so8684194eaf.3 for ; Mon, 09 Mar 2026 01:13:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773043982; x=1773648782; 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=D/C/HljUJ2rxKno3YFwORPlQq6YiJRKxQznJ7m1AXbc=; b=kSvCuwxsM7dyL+CoD13t0QQD4V7FNuv0ptLoGucVruzKEVrZnVnlLIlOWyAA8H+GP7 mpvXln5rxuAW1tj8kZuXg2mOA/RgeQd5u6f/fmDyWKN7ujDK82IBTp3qdNsQCluyeJhd 5L+uWIRlvSb93zJmgGqiqV4jj3bIf8Bm8iTj3SHd1Ke+OXsKxfBb1GiBJtb7eDVVvUYu BnTvDy0lKeOywmosRfkcYLPQwrhDF1FEcrGWOq1iQuYJ7j1RC5bDuNSxDgZCXlBmV9nH c6JWZNejjGEyW2YgoBq+oWq7ebJJ/KEjaf2UGE4h2KJzUM4ypDzYK3BrptQPqWwjuBp5 PV7w== X-Forwarded-Encrypted: i=1; AJvYcCUVT+1pU9HME4XXG1T3q/cpcw6JWUNC9+BmZ37UliMvsv6Dp8cV1Fh1VQ5h4NbW5w5kzDVy9RnSw/t3kPo=@vger.kernel.org X-Gm-Message-State: AOJu0YwSJD6z9ufu3r3AWAoKbQ7D4GA/RXozCvsUtuC+f7z/LXngPnKC 0A6hYnhV8i4yRfSKBh6QofU47ImWAD7Zn4VMGJiuQe4I4kKuIA94xmcc+BAJzlv+yfMRVH1TrsD 5kZboQ1hQMORSxP83p2rha7zvMknf9KfCR1lpTApGXAo09lpIJ4DFV759LI0= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Received: by 2002:a4a:e918:0:b0:67b:b368:bef0 with SMTP id 006d021491bc7-67bb368c802mr1888393eaf.1.1773043982026; Mon, 09 Mar 2026 01:13:02 -0700 (PDT) Date: Mon, 09 Mar 2026 01:13:02 -0700 In-Reply-To: <20260309075327.437215-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69ae810e.a70a0220.52840.0010.GAE@google.com> Subject: Re: [syzbot] [net?] KASAN: slab-use-after-free Read in sock_def_readable (2) From: syzbot To: kartikey406@gmail.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: lost connection to test machine syzkaller login: qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0= ) is smaller than the requested size (0x400000) Warning: Permanently added '[localhost]:61150' (ED25519) to the list of kno= wn hosts. 2026/03/09 08:11:07 parsed 1 programs [ 100.778155][ T5308] cgroup: Unknown subsys name 'net' [ 100.824718][ T5308] cgroup: Unknown subsys name 'cpuset' [ 100.835966][ T5308] cgroup: Unknown subsys name 'rlimit' [ 102.495043][ T9] cfg80211: failed to load regulatory.db [ 143.453170][ T1316] ieee802154 phy0 wpan0: encryption failed: -22 [ 143.456980][ T1316] ieee802154 phy1 wpan1: encryption failed: -22 [ 151.790041][ T1009] ata1.00: exception Emask 0x0 SAct 0x200000 SErr 0x0 = action 0x6 frozen [ 151.795444][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 151.798620][ T1009] ata1.00: cmd 61/00:a8:36:c1:04/20:00:00:00:00/40 tag= 21 ncq dma 4194304 ou [ 151.798620][ T1009] res 40/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x4 (timeout) [ 151.807230][ T1009] ata1.00: status: { DRDY } [ 151.810358][ T1009] ata1: hard resetting link [ 152.133478][ T1009] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 30= 0) [ 152.138661][ T1009] ata1.00: configured for UDMA/100 [ 152.142424][ T1009] ata1: EH complete qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0) is smaller than= the requested size (0x400000) [ 152.180979][ T1009] ata1.00: Read log 0x10 page 0x00 failed, Emask 0x1 [ 152.184589][ T1009] ata1: failed to read log page 10h (errno=3D-5) [ 152.187583][ T1009] ata1.00: exception Emask 0x1 SAct 0x76 SErr 0x0 acti= on 0x0 [ 152.200268][ T1009] ata1.00: irq_stat 0x41000000 [ 152.202658][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 152.205600][ T1009] ata1.00: cmd 61/00:08:36:c1:04/20:00:00:00:00/40 tag= 1 ncq dma 4194304 ou [ 152.205600][ T1009] res 50/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 152.233239][ T1009] ata1.00: status: { DRDY } [ 152.240616][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 152.243710][ T1009] ata1.00: cmd 61/08:10:4e:04:10/00:00:00:00:00/40 tag= 2 ncq dma 4096 out [ 152.243710][ T1009] res 50/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 152.257043][ T1009] ata1.00: status: { DRDY } [ 152.260632][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 152.263657][ T1009] ata1.00: cmd 61/00:20:36:01:05/20:00:00:00:00/40 tag= 4 ncq dma 4194304 ou [ 152.263657][ T1009] res 50/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 152.272096][ T1009] ata1.00: status: { DRDY } [ 152.274461][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 152.277407][ T1009] ata1.00: cmd 61/00:28:36:21:05/20:00:00:00:00/40 tag= 5 ncq dma 4194304 ou [ 152.277407][ T1009] res 50/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 152.286072][ T1009] ata1.00: status: { DRDY } [ 152.288291][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 152.291815][ T1009] ata1.00: cmd 61/f8:30:36:41:05/0b:00:00:00:00/40 tag= 6 ncq dma 1568768 ou [ 152.291815][ T1009] res 50/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 152.300643][ T1009] ata1.00: status: { DRDY } [ 152.304040][ T1009] ata1.00: configured for UDMA/100 [ 152.307255][ T1009] ata1: EH complete qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0) is smaller than= the requested size (0x400000) [ 152.331089][ T1009] ata1.00: Read log 0x10 page 0x00 failed, Emask 0x1 [ 152.334242][ T1009] ata1: failed to read log page 10h (errno=3D-5) [ 152.337932][ T1009] ata1.00: NCQ disabled due to excessive errors [ 152.341762][ T1009] ata1.00: exception Emask 0x1 SAct 0x800 SErr 0x0 act= ion 0x0 [ 152.345331][ T1009] ata1.00: irq_stat 0x41000008 [ 152.347892][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 152.351796][ T1009] ata1.00: cmd 61/00:58:36:c1:04/20:00:00:00:00/40 tag= 11 ncq dma 4194304 ou [ 152.351796][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 152.361851][ T1009] ata1.00: status: { DRDY } [ 152.364344][ T1009] ata1.00: error: { ABRT } [ 152.367708][ T1009] ata1.00: configured for UDMA/100 [ 152.372040][ T1009] ata1: EH complete Setting up swapspace version 1, size =3D 127995904 bytes [ 154.342839][ T5308] Adding 124996k swap on ./swap-file. Priority:0 exte= nts:1 across:124996k=20 qemu-system-x86_64: hw/ide/core.c:934: ide_dma_cb: Assertion `prep_size >= =3D 0 && prep_size <=3D n * 512' failed. Connection to localhost closed by remote host. 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-build997279610=3D/tmp/go-build -gno-record-gcc= -switches' GOHOSTARCH=3D'amd64' GOHOSTOS=3D'linux' GOINSECURE=3D'' GOMOD=3D'/syzkaller/jobs/linux/gopath/src/github.com/google/syzkaller/go.mo= d' 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' 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.26.0' GOWORK=3D'' PKG_CONFIG=3D'pkg-config' git status (err=3D) HEAD detached at 7c9658af8505 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=3D7c9658af8505abccd5bf5890cc8a8e6d9826eaa0 -X github.com/goo= gle/syzkaller/prog.gitRevisionDate=3D20260223-092328" ./sys/syz-sysgen | g= rep -q false || go install -ldflags=3D"-s -w -X github.com/google/syzkaller= /prog.GitRevision=3D7c9658af8505abccd5bf5890cc8a8e6d9826eaa0 -X github.com/= google/syzkaller/prog.gitRevisionDate=3D20260223-092328" ./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=3D7c9658af8505abccd5bf5890cc8a8e6d9826eaa0 -X g= ithub.com/google/syzkaller/prog.gitRevisionDate=3D20260223-092328" -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\"7c9658af8505abccd5bf5890cc8a8e6d98= 26eaa0\" /usr/bin/ld: /tmp/ccdnCVXi.o: in function `Connection::Connect(char const*,= char const*)': executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEP= KcS1_]+0x386): warning: Using 'gethostbyname' in statically linked applicat= ions requires at runtime the shared libraries from the glibc version used f= or linking ./tools/check-syzos.sh 2>/dev/null Tested on: commit: 1f318b96 Linux 7.0-rc3 git tree: upstream kernel config: https://syzkaller.appspot.com/x/.config?x=3Dc5c49ee0942d1cd= b dashboard link: https://syzkaller.appspot.com/bug?extid=3Df50072212ab792c86= 925 compiler: Debian clang version 21.1.8 (++20251221033036+2078da43e25a-= 1~exp1~20251221153213.50), Debian LLD 21.1.8 patch: https://syzkaller.appspot.com/x/patch.diff?x=3D108a48065800= 00