From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f70.google.com (mail-oo1-f70.google.com [209.85.161.70]) (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 C4DE1243964 for ; Mon, 9 Mar 2026 07:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.70 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773041766; cv=none; b=q1YyG7n0GglyCTjnhAwdky80lk0OQthr1Ty9/rkt52QvrRzk/hQ7VSDwygYsc9tSgVoUKI4g8NRhsMpf3m3uz2x1zWI0eme2buXI63jiPGj2sGGNRUgMxxv//gkkOYcg3rsw53YHYRYE+dRorLlQATjulDo8chBwfUQDyMcYOnY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773041766; c=relaxed/simple; bh=m3Q4+TLoaqlpdsNuQDKKyKHJ5BibndOD7hOwTOqHY+4=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=p+SDiP4B5nBCEPwAklSNlLwj5j/OOzu0ldO89fP8jgmK/s2zuTQvYW0HSQIao2n9C0Uphui6T0Zzi3qNxN7WI8pS8ZnXPDdQ2G2HXTMlZiEPJFhVJtgatjHTsdi+wbgYzuKwGi8EKCw6eXLbL7jBNgjzyKK+pc2C1SIvsK5s2A4= 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.70 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-f70.google.com with SMTP id 006d021491bc7-679c978c609so86797060eaf.0 for ; Mon, 09 Mar 2026 00:36:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773041764; x=1773646564; 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=zaYBcl1YhWDSkua179hVufsn2K+Bt4gei7w/xeh0RRM=; b=RGpiXjC0l/kMvEuJxq+prn0Ngj9LVQw1LMTmKAUPKeSIOcntQLJ4M1Aa2HzkS4OOs3 FCWYuX1wdS/lRF4ZShLEZwvwaRmnanS6zddPFzzgti9mtgJZMHtOjE2O+7sqF8jJU3Gv QXxyBUdf/vE8mew1rYkw/UZqX/A+gTM13OD/9crGmBprfUPtdIB7e/5zA7Yc37LzM5eo MTxA6yvF/yAoD+JdkiDUKbbSuXTjO1N/F6kxIzDZ7TCofv7Ap8W0Nbu1IklOuDuMltdE 8Xc1/v0BRGoZ6iA7L5138zDEkxEWN9oZtlDZzJlpF2IPjnMw4xPyp5Eds5fwLojYcfES ifIA== X-Forwarded-Encrypted: i=1; AJvYcCVhWwOBGFYcUUj4nKjBKuDSdYRRihz5WmRNYae6UtX1H+rkJ49AP9/pm1RRpiecX2r5HxUqEoxzbuyPkQ4=@vger.kernel.org X-Gm-Message-State: AOJu0Yxny7d277gEe7CBlz0gFNScpnrYLfJTWGht5quDb3ps4EUJMMbN rVqqGZpSPc3i/mHni5ElQB3htZuW9GNM1YBUw/dMrCa3/z8OhM2njwkJb5rnSwCxjybMcsMLHRh eebxMTg/H24VtNnyRrxKSKnowcwHKLwIgVzL819+r9wuqmGFIScY4JFFa+8s= 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:6820:1c88:b0:67b:b1a2:b4d6 with SMTP id 006d021491bc7-67bb1a2b767mr1918386eaf.68.1773041763858; Mon, 09 Mar 2026 00:36:03 -0700 (PDT) Date: Mon, 09 Mar 2026 00:36:03 -0700 In-Reply-To: <20260309070203.436407-1-kartikey406@gmail.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69ae7863.a70a0220.52840.000f.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 qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0) is smaller than= the requested size (0x400000) Warning: Permanently added '[localhost]:8651' (ED25519) to the list of know= n hosts. 2026/03/09 07:34:15 parsed 1 programs [ 61.038498][ T5297] cgroup: Unknown subsys name 'net' [ 61.082207][ T5297] cgroup: Unknown subsys name 'cpuset' [ 61.085713][ T5297] cgroup: Unknown subsys name 'rlimit' [ 76.021725][ T1313] ieee802154 phy0 wpan0: encryption failed: -22 [ 76.024057][ T1313] ieee802154 phy1 wpan1: encryption failed: -22 [ 86.265587][ T1360] cfg80211: failed to load regulatory.db [ 118.279844][ T1009] ata1.00: exception Emask 0x0 SAct 0x4000 SErr 0x0 ac= tion 0x6 frozen [ 118.282758][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.284895][ T1009] ata1.00: cmd 61/00:70:36:81:04/20:00:00:00:00/40 tag= 14 ncq dma 4194304 ou [ 118.284895][ T1009] res 40/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x4 (timeout) [ 118.290867][ T1009] ata1.00: status: { DRDY } [ 118.292518][ T1009] ata1: hard resetting link [ 118.613228][ T1009] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 30= 0) [ 118.617551][ T1009] ata1.00: configured for UDMA/100 [ 118.619916][ T1009] ata1: EH complete qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0) is smaller than= the requested size (0x400000) [ 118.640373][ T1009] ata1.00: Read log 0x10 page 0x00 failed, Emask 0x1 [ 118.642754][ T1009] ata1: failed to read log page 10h (errno=3D-5) [ 118.645021][ T1009] ata1.00: exception Emask 0x1 SAct 0x7c SErr 0x0 acti= on 0x0 [ 118.647590][ T1009] ata1.00: irq_stat 0x41000000 [ 118.649279][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.651718][ T1009] ata1.00: cmd 61/00:10:5e:12:05/20:00:00:00:00/40 tag= 2 ncq dma 4194304 ou [ 118.651718][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.657603][ T1009] ata1.00: status: { DRDY } [ 118.659224][ T1009] ata1.00: error: { ABRT } [ 118.661112][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.663256][ T1009] ata1.00: cmd 61/d8:18:5e:32:05/0e:00:00:00:00/40 tag= 3 ncq dma 1945600 ou [ 118.663256][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.669137][ T1009] ata1.00: status: { DRDY } [ 118.670973][ T1009] ata1.00: error: { ABRT } [ 118.672562][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.674666][ T1009] ata1.00: cmd 61/60:20:36:41:05/05:00:00:00:00/40 tag= 4 ncq dma 704512 out [ 118.674666][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.680766][ T1009] ata1.00: status: { DRDY } [ 118.682372][ T1009] ata1.00: error: { ABRT } [ 118.683945][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.686052][ T1009] ata1.00: cmd 61/00:28:96:46:05/20:00:00:00:00/40 tag= 5 ncq dma 4194304 ou [ 118.686052][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.692196][ T1009] ata1.00: status: { DRDY } [ 118.693803][ T1009] ata1.00: error: { ABRT } [ 118.695419][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.697514][ T1009] ata1.00: cmd 61/a0:30:96:66:05/1a:00:00:00:00/40 tag= 6 ncq dma 3489792 ou [ 118.697514][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.703662][ T1009] ata1.00: status: { DRDY } [ 118.705269][ T1009] ata1.00: error: { ABRT } [ 118.707646][ T1009] ata1.00: configured for UDMA/100 [ 118.710038][ T1009] ata1: EH complete qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0) is smaller than= the requested size (0x400000) [ 118.753868][ T1009] ata1.00: Read log 0x10 page 0x00 failed, Emask 0x1 [ 118.756214][ T1009] ata1: failed to read log page 10h (errno=3D-5) [ 118.758355][ T1009] ata1.00: NCQ disabled due to excessive errors [ 118.770980][ T1009] ata1.00: exception Emask 0x1 SAct 0x1800 SErr 0x0 ac= tion 0x0 [ 118.773616][ T1009] ata1.00: irq_stat 0x41000008 [ 118.775342][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.777442][ T1009] ata1.00: cmd 61/00:58:36:81:04/20:00:00:00:00/40 tag= 11 ncq dma 4194304 ou [ 118.777442][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.800358][ T1009] ata1.00: status: { DRDY } [ 118.802026][ T1009] ata1.00: error: { ABRT } [ 118.803601][ T1009] ata1.00: failed command: WRITE FPDMA QUEUED [ 118.805715][ T1009] ata1.00: cmd 61/00:60:5e:12:05/20:00:00:00:00/40 tag= 12 ncq dma 4194304 ou [ 118.805715][ T1009] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 118.815619][ T1009] ata1.00: status: { DRDY } [ 118.817308][ T1009] ata1.00: error: { ABRT } [ 118.819854][ T1009] ata1.00: configured for UDMA/100 [ 118.821947][ T1009] ata1: EH complete 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-build2930426070=3D/tmp/go-build -gno-record-gc= c-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/cckeeX7G.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=3D15a980165800= 00