From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-oo1-f71.google.com (mail-oo1-f71.google.com [209.85.161.71]) (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 4394637F74F for ; Fri, 13 Mar 2026 19:02:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.161.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773428527; cv=none; b=dqkKCTcUWRg93/UdC9CxbokPmNAvqyxrtlFsYeCMDf7+xhMlpoeBLzW6PD9mW418dvTRDZnjHsv0gkiY/3i3p+VBj/vG8IzKhYYfJ2HcBB4lbZvwWAnKPsaCmx9CN0cULfJpsLtLw4eRphB8gordacifVm7Ktg36CTElAmCxozc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773428527; c=relaxed/simple; bh=KyvFeQFzdTrIJBVhXE5y0AKW9Y7Cn/N5xkQVbAGSzWs=; h=MIME-Version:Date:In-Reply-To:Message-ID:Subject:From:To: Content-Type; b=BoYjGLOpB+Yx1zP9CM60MK7Zi/AmRTXAVSZ7OGHxmEj1IEp+Pmzfzklvo6zb9tmRVpba6m0pMgyohiF+KOMWM26zWvk7eDFNy8Jk3FZJqLUm2HbzLKbbtZqmhh9IMt/oshv2uSJoE6SEaFWpnryZ9YSel7oCHLBMlC9GJG2Hhhw= 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.71 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-f71.google.com with SMTP id 006d021491bc7-67baf164912so23121785eaf.0 for ; Fri, 13 Mar 2026 12:02:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1773428523; x=1774033323; 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=lzuCxH0fJxutPISdwDH8aR6fHE0HmpQg8qdFkFVVRao=; b=nmrErw5fpRXxH8Nv2wFSfRYi+AhvJoMGjgWZZ+ER66F8i5xPx2eDOC66BSFSoPyOJW xdfDVfKsZO8IRSBwMUoCC0WTmpehtsE+qFvu3aJVw65SpJEgQv5vGxjU2+gJQwx4msFb LfEokSWkiskDPJuFyFs3GT2PG/1us3gumSGkUMHT3xJUy37hClMkLMZPBjHKNYKzv03U ug1/bnBOg6Z/H1BUNAGHfZL9Z0QHe8W/LTAuZsrfHv5ndGI2XeAZDZ3mrS3ZnFnEAsce +SlnP2UnSDctHGSGs/sKWBDRem7GKjfO9agXKLceyzwjlY6oOmelFn4o4vZd8dj0jtzE zm5g== X-Forwarded-Encrypted: i=1; AJvYcCVNKfxl++GaKXM2GWJgvQjioj+3oOLKdLzsuutexDPEMK0xkm4LyubOUMqKNJSBySVLvRm9zuiHc2proUI=@vger.kernel.org X-Gm-Message-State: AOJu0YwB9xiQAnXY2Qj13eXtKMtlaVk3/PiD+e7oU6PYj9fXXPOhzFzt cp+u0yMSC2peLhygHaRci0nekyMQ3pz3EdepVJ/vkrCkm0COcqJLXCSpXU7dPMFjfx/X1nJhjkr +HUPJxrKs6B2i8cTJLAzAF1gaRw2c4QXgFJAj8syaowvqOGy053snh0v8vY0= 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:3108:b0:67b:a667:f532 with SMTP id 006d021491bc7-67bdaa3871amr2827032eaf.40.1773428522873; Fri, 13 Mar 2026 12:02:02 -0700 (PDT) Date: Fri, 13 Mar 2026 12:02:02 -0700 In-Reply-To: <20260313184432.913-1-hdanton@sina.com> X-Google-Appengine-App-Id: s~syzkaller X-Google-Appengine-App-Id-Alias: syzkaller Message-ID: <69b45f2a.a00a0220.3b25d1.0008.GAE@google.com> Subject: Re: [syzbot] [net?] KASAN: slab-use-after-free Read in sock_def_readable (2) From: syzbot To: hdanton@sina.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 (0xfb000) [ 97.299132][ T10] cfg80211: failed to load regulatory.db Warning: Permanently added '[localhost]:10854' (ED25519) to the list of kno= wn hosts. 2026/03/13 19:00:35 parsed 1 programs [ 105.586401][ T5314] cgroup: Unknown subsys name 'net' [ 105.643957][ T5314] cgroup: Unknown subsys name 'cpuset' [ 105.650699][ T5314] cgroup: Unknown subsys name 'rlimit' [ 143.372540][ T1314] ieee802154 phy0 wpan0: encryption failed: -22 [ 143.376030][ T1314] ieee802154 phy1 wpan1: encryption failed: -22 [ 156.189227][ T1011] ata1.00: exception Emask 0x0 SAct 0x4000 SErr 0x0 ac= tion 0x6 frozen [ 156.193435][ T1011] ata1.00: failed command: WRITE FPDMA QUEUED [ 156.196306][ T1011] ata1.00: cmd 61/d8:70:36:61:04/07:00:00:00:00/40 tag= 14 ncq dma 1028096 ou [ 156.196306][ T1011] res 40/00:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x4 (timeout) [ 156.205965][ T1011] ata1.00: status: { DRDY } [ 156.208393][ T1011] ata1: hard resetting link [ 156.531189][ T1011] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 30= 0) [ 156.536384][ T1011] ata1.00: configured for UDMA/100 [ 156.539569][ T1011] ata1: EH complete qemu-system-x86_64: ahci: PRDT length for NCQ command (0x0) is smaller than= the requested size (0x2bb000) [ 156.595084][ T1011] ata1.00: Read log 0x10 page 0x00 failed, Emask 0x1 [ 156.598460][ T1011] ata1: failed to read log page 10h (errno=3D-5) [ 156.619268][ T1011] ata1.00: NCQ disabled due to excessive errors [ 156.622929][ T1011] ata1.00: exception Emask 0x1 SAct 0x1e00 SErr 0x0 ac= tion 0x0 [ 156.627134][ T1011] ata1.00: irq_stat 0x41000008 [ 156.639141][ T1011] ata1.00: failed command: WRITE FPDMA QUEUED [ 156.642238][ T1011] ata1.00: cmd 61/d8:48:86:a2:04/02:00:00:00:00/40 tag= 9 ncq dma 372736 out [ 156.642238][ T1011] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 156.679095][ T1011] ata1.00: status: { DRDY } [ 156.681893][ T1011] ata1.00: error: { ABRT } [ 156.684701][ T1011] ata1.00: failed command: WRITE FPDMA QUEUED [ 156.699416][ T1011] ata1.00: cmd 61/00:50:5e:a5:04/06:00:00:00:00/40 tag= 10 ncq dma 786432 out [ 156.699416][ T1011] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 156.707246][ T1011] ata1.00: status: { DRDY } [ 156.718658][ T1011] ata1.00: error: { ABRT } [ 156.720862][ T1011] ata1.00: failed command: WRITE FPDMA QUEUED [ 156.723709][ T1011] ata1.00: cmd 61/d8:58:5e:ab:04/15:00:00:00:00/40 tag= 11 ncq dma 2863104 ou [ 156.723709][ T1011] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 156.742964][ T1011] ata1.00: status: { DRDY } [ 156.745213][ T1011] ata1.00: error: { ABRT } [ 156.747285][ T1011] ata1.00: failed command: WRITE FPDMA QUEUED [ 156.750902][ T1011] ata1.00: cmd 61/00:60:36:c1:04/20:00:00:00:00/40 tag= 12 ncq dma 4194304 ou [ 156.750902][ T1011] res 50/04:00:00:00:00/00:00:00:00:00/00 Ema= sk 0x1 (device error) [ 156.760311][ T1011] ata1.00: status: { DRDY } [ 156.762534][ T1011] ata1.00: error: { ABRT } [ 156.766637][ T1011] ata1.00: configured for UDMA/100 [ 156.770968][ T1011] 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-build649871866=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/ccZ4u7l4.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: 65169048 Merge tag 'spi-fix-v7.0-rc2' of git://git.ker.. git tree: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linu= x.git 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=3D168227765800= 00