[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <67859156.050a0220.216c54.005d.GAE@google.com>
Date: Mon, 13 Jan 2025 14:19:02 -0800
From: syzbot <syzbot+fcee6b76cf2e261c51a4@...kaller.appspotmail.com>
To: eadavis@...com, linux-kernel@...r.kernel.org,
syzkaller-bugs@...glegroups.com
Subject: Re: [syzbot] [fs?] KASAN: global-out-of-bounds Read in number
Hello,
syzbot tried to test the proposed patch but the build/boot failed:
, num: 18446744071600486944, number
[ 408.835872][ T5852] base: 16, num: 18446744071600486960, number
[ 408.842226][ T5852] base: 16, num: 18446744071600487504, number
[ 408.848337][ T5852] base: 16, num: 18446744071600487520, number
[ 408.854579][ T5852] base: 16, num: 18446744071600487968, number
[ 408.860703][ T5852] base: 16, num: 18446744071600487984, number
[ 408.866804][ T5852] base: 16, num: 18446744071600488672, number
[ 408.873033][ T5852] base: 16, num: 18446744071600488688, number
[ 408.879276][ T5852] base: 16, num: 18446744071600489376, number
[ 408.885405][ T5852] base: 16, num: 18446744071600489392, number
[ 408.891529][ T5852] base: 16, num: 18446744071600489760, number
[ 408.897617][ T5852] base: 16, num: 18446744071600489776, number
[ 408.903772][ T5852] base: 16, num: 18446744071600490208, number
[ 408.909902][ T5852] base: 16, num: 18446744071600490224, number
[ 408.916010][ T5852] base: 16, num: 18446744071600490624, number
[ 408.922155][ T5852] base: 16, num: 18446744071600490640, number
[ 408.928317][ T5852] base: 16, num: 18446744071600490992, number
[ 408.934422][ T5852] base: 16, num: 18446744071600491008, number
[ 408.940543][ T5852] base: 16, num: 18446744071600491520, number
[ 408.946599][ T5852] base: 16, num: 18446744071600491536, number
[ 408.952724][ T5852] base: 16, num: 18446744071600491888, number
[ 408.958821][ T5852] base: 16, num: 18446744071600491904, number
[ 408.964988][ T5852] base: 16, num: 18446744071600492464, number
[ 408.971110][ T5852] base: 16, num: 18446744071600492480, number
[ 408.977172][ T5852] base: 16, num: 18446744071600492880, number
[ 408.983291][ T5852] base: 16, num: 18446744071600492896, number
[ 408.989409][ T5852] base: 16, num: 18446744071600493248, number
[ 408.995637][ T5852] base: 16, num: 18446744071600493264, number
[ 409.001743][ T5852] base: 16, num: 18446744071600493680, number
[ 409.007918][ T5852] base: 16, num: 18446744071600493696, number
[ 409.014059][ T5852] base: 16, num: 18446744071600494064, number
[ 409.020180][ T5852] base: 16, num: 18446744071600494080, number
[ 409.026260][ T5852] base: 16, num: 18446744071600494848, number
[ 409.032401][ T5852] base: 16, num: 18446744071600494864, number
[ 409.038486][ T5852] base: 16, num: 18446744071600495376, number
[ 409.044619][ T5852] base: 16, num: 18446744071600495392, number
[ 409.050859][ T5852] base: 16, num: 18446744071600495632, number
[ 409.057027][ T5852] base: 16, num: 18446744071600495648, number
[ 409.063245][ T5852] base: 16, num: 18446744071600495808, number
[ 409.069461][ T5852] base: 16, num: 18446744071600495824, number
[ 409.075525][ T5852] base: 16, num: 18446744071600495872, number
[ 409.081645][ T5852] base: 16, num: 18446744071600495888, number
[ 409.087725][ T5852] base: 16, num: 18446744071600496608, number
[ 409.093839][ T5852] base: 16, num: 18446744071600496624, number
[ 409.100036][ T5852] base: 16, num: 18446744071600497808, number
[ 409.106103][ T5852] base: 16, num: 18446744071600497824, number
[ 409.112215][ T5852] base: 16, num: 18446744071600499200, number
[ 409.118295][ T5852] base: 16, num: 18446744071600499216, number
[ 409.124454][ T5852] base: 16, num: 18446744071600499424, number
[ 409.130582][ T5852] base: 16, num: 18446744071600499440, number
[ 409.136647][ T5852] base: 16, num: 18446744071600500848, number
[ 409.142963][ T5852] base: 16, num: 18446744071600500864, number
[ 409.149304][ T5852] base: 16, num: 18446744071600501168, number
[ 409.155381][ T5852] base: 16, num: 18446744071600501184, number
[ 409.161528][ T5852] base: 16, num: 18446744071600501648, number
[ 409.167613][ T5852] base: 16, num: 18446744071600501664, number
[ 409.173761][ T5852] base: 16, num: 18446744071600501840, number
[ 409.179890][ T5852] base: 16, num: 18446744071600501856, number
[ 409.185987][ T5852] base: 16, num: 18446744071600502256, number
[ 409.192231][ T5852] base: 16, num: 18446744071600502256, number
[ 409.198318][ T5852] base: 16, num: 18446744071600502272, number
[ 409.204454][ T5852] base: 16, num: 18446744071600505440, number
[ 409.210585][ T5852] base: 16, num: 18446744071600505456, number
[ 409.216681][ T5852] base: 16, num: 18446744071600505920, number
[ 409.222793][ T5852] base: 16, num: 18446744071600505936, number
[ 409.228878][ T5852] base: 16, num: 18446744071600507808, number
[ 409.234998][ T5852] base: 16, num: 18446744071600507824, number
[ 409.241127][ T5852] base: 16, num: 18446744071600510096, number
[ 409.247186][ T5852] base: 16, num: 18446744071600510112, number
[ 409.253324][ T5852] base: 16, num: 18446744071600510656, number
[ 409.259452][ T5852] base: 16, num: 18446744071600510672, number
[ 409.265514][ T5852] base: 16, num: 18446744071600510896, number
[ 409.271723][ T5852] base: 16, num: 18446744071600510912, number
[ 409.277808][ T5852] base: 16, num: 18446744071600512928, number
[ 409.284117][ T5852] base: 16, num: 18446744071600512944, number
[ 409.290273][ T5852] base: 16, num: 18446744071600513312, number
[ 409.296436][ T5852] base: 16, num: 18446744071600513328, number
[ 409.302662][ T5852] base: 16, num: 18446744071600513744, number
[ 409.308767][ T5852] base: 16, num: 18446744071600513760, number
[ 409.314901][ T5852] base: 16, num: 18446744071600515424, number
[ 409.321130][ T5852] base: 16, num: 18446744071600515440, number
[ 409.327200][ T5852] base: 16, num: 18446744071600516384, number
[ 409.333306][ T5852] base: 16, num: 18446744071600516400, number
[ 409.339550][ T5852] base: 16, num: 18446744071600516704, number
[ 409.345678][ T5852] base: 16, num: 18446744071600516720, number
[ 409.351814][ T5852] base: 16, num: 18446744071600517280, number
[ 409.357899][ T5852] base: 16, num: 18446744071600517296, number
[ 409.364045][ T5852] base: 16, num: 18446744071600518432, number
[ 409.370242][ T5852] base: 16, num: 18446744071600518448, number
[ 409.376345][ T5852] base: 16, num: 18446744071600518560, number
[ 409.382491][ T5852] base: 16, num: 18446744071600518576, number
[ 409.388747][ T5852] base: 16, num: 18446744071600519280, number
[ 409.394895][ T5852] base: 16, num: 18446744071600519296, number
[ 409.401012][ T5852] base: 16, num: 18446744071600521264, number
[ 409.407071][ T5852] base: 16, num: 18446744071600521280, number
[ 409.413181][ T5852] base: 16, num: 18446744071600521520, number
[ 409.419285][ T5852] base: 16, num: 18446744071600521536, number
[ 409.425513][ T5852] base: 16, num: 18446744071600521872, number
[ 409.431658][ T5852] base: 16, num: 18446744071600521888, number
[ 409.437927][ T5852] base: 16, num: 18446744071600522432, number
[ 409.444084][ T5852] base: 16, num: 18446744071600522448, number
[ 409.450212][ T5852] base: 16, num: 18446744071600532560, number
[ 409.456353][ T5852] base: 16, num: 18446744071600532576, number
[ 409.462554][ T5852] base: 16, num: 18446744071600535344, number
[ 409.468642][ T5852] base: 16, num: 18446744071600535360, number
[ 409.474798][ T5852] base: 16, num: 18446744071600535920, number
[ 409.480974][ T5852] base: 16, num: 18446744071600535936, number
[ 409.487247][ T5852] base: 16, num: 18446744071600536480, number
[ 409.493407][ T5852] base: 16, num: 18446744071600536496, number
[ 409.499543][ T5852] base: 16, num: 18446744071600536928, number
[ 409.505786][ T5852] base: 16, num: 18446744071600536944, number
[ 409.511917][ T5852] base: 16, num: 18446744071600537536, number
[ 409.518002][ T5852] base: 16, num: 18446744071600537552, number
[ 409.524135][ T5852] base: 16, num: 18446744071600538096, number
[ 409.530291][ T5852] base: 16, num: 18446744071600538112, number
[ 409.536354][ T5852] base: 16, num: 18446744071600539200, number
[ 409.542457][ T5852] base: 16, num: 18446744071600539216, number
[ 409.548539][ T5852] base: 16, num: 18446744071600539760, number
[ 409.554688][ T5852] base: 16, num: 18446744071600539776, number
[ 409.560818][ T5852] base: 16, num: 18446744071600543040, number
[ 409.566965][ T5852] base: 16, num: 18446744071600543056, number
[ 409.573129][ T5852] base: 16, num: 18446744071600545200, number
[ 409.579340][ T5852] base: 16, num: 18446744071600545216, number
[ 409.585432][ T5852] base: 16, num: 18446744071600545680, number
[ 409.591582][ T5852] base: 16, num: 18446744071600545696, number
[ 409.597668][ T5852] base: 16, num: 18446744071600553392, number
[ 409.603999][ T5852] base: 16, num: 18446744071600553408, number
[ 409.610168][ T5852] base: 16, num: 18446744071600554496, number
[ 409.616289][ T5852] base: 16, num: 18446744071600554512, number
[ 409.622502][ T5852] base: 16, num: 18446744071600555136, number
[ 409.628606][ T5852] base: 16, num: 18446744071600555152, number
[ 409.634739][ T5852] base: 16, num: 18446744071600555696, number
[ 409.640860][ T5852] base: 16, num: 18446744071600555712, number
[ 409.647089][ T5852] base: 16, num: 18446744071600556752, number
[ 409.653211][ T5852] base: 16, num: 18446744071600556768, number
[ 409.659350][ T5852] base: 16, num: 18446744071600557728, number
[ 409.665417][ T5852] base: 16, num: 18446744071600557744, number
[ 409.671585][ T5852] base: 16, num: 18446744071600558288, number
[ 409.677692][ T5852] base: 16, num: 18446744071600558304, number
[ 409.683857][ T5852] base: 16, num: 18446744071600577072, number
[ 409.691846][ T5852] base: 16, num: 18446744071600577088, number
[ 409.698087][ T5852] base: 16, num: 18446744071600577632, number
[ 409.705293][ T5852] base: 16, num: 18446744071600577648, number
[ 409.711451][ T5852] base: 16, num: 18446744071600577856, number
[ 409.717531][ T5852] base: 16, num: 18446744071600577872, number
[ 409.723654][ T5852] base: 16, num: 18446744071600579264, number
[ 409.729781][ T5852] base: 16, num: 18446744071600579280, number
[ 409.735886][ T5852] base: 16, num: 18446744071600579840, number
[ 409.742029][ T5852] base: 16, num: 18446744071600579856, number
[ 409.748114][ T5852] base: 16, num: 18446744071600580400, number
[ 409.754280][ T5852] base: 16, num: 18446744071600580416, number
[ 409.760523][ T5852] base: 16, num: 18446744071600580976, number
[ 409.766590][ T5852] base: 16, num: 18446744071600580992, number
[ 409.772911][ T5852] base: 16, num: 18446744071600580992, number
[ 409.779088][ T5852] base: 16, num: 18446744071600582528, number
[ 409.785235][ T5852] base: 16, num: 18446744071600582544, number
[ 409.791436][ T5852] base: 16, num: 18446744071600582608, number
[ 409.797530][ T5852] base: 16, num: 18446744071600582624, number
[ 409.803676][ T5852] base: 16, num: 18446744071600583168, number
[ 409.809817][ T5852] base: 16, num: 18446744071600583184, number
[ 409.815965][ T5852] base: 16, num: 18446744071600583664, number
[ 409.822122][ T5852] base: 16, num: 18446744071600583680, number
[ 409.828212][ T5852] base: 16, num: 18446744071600584064, number
[ 409.834345][ T5852] base: 16, num: 18446744071600584080, number
[ 409.840472][ T5852] base: 16, num: 18446744071600587104, number
[ 409.846543][ T5852] base: 16, num: 18446744071600587120, number
[ 409.852686][ T5852] base: 16, num: 18446744071600590064, number
[ 409.858773][ T5852] base: 16, num: 18446744071600590080, number
[ 409.864927][ T5852] base: 16, num: 18446744071600590624, number
[ 409.871077][ T5852] base: 16, num: 18446744071600590640, number
[ 409.877150][ T5852] base: 16, num: 18446744071600598944, number
[ 409.883271][ T5852] base: 16, num: 18446744071600598960, number
[ 409.889413][ T5852] base: 16, num: 18446744071600600016, number
[ 409.895477][ T5852] base: 16, num: 18446744071600600032, number
[ 409.901584][ T5852] base: 16, num: 18446744071600600352, number
[ 409.907664][ T5852] base: 16, num: 18446744071600600368, number
[ 409.913795][ T5852] base: 16, num: 18446744071600601104, number
[ 409.919909][ T5852] base: 16, num: 18446744071600601120, number
[ 409.925985][ T5852] base: 16, num: 18446744071600601664, number
[ 409.932120][ T5852] base: 16, num: 18446744071600601680, number
[ 409.938207][ T5852] base: 16, num: 18446744071600602048, number
[ 409.944334][ T5852] base: 16, num: 18446744071600602064, number
[ 409.950445][ T5852] base: 16, num: 18446744071600603312, number
[ 409.956712][ T5852] base: 16, num: 18446744071600603328, number
[ 409.962970][ T5852] base: 16, num: 18446744071600605456, number
[ 409.969129][ T5852] base: 16, num: 18446744071600605472, number
[ 409.975350][ T5852] base: 16, num: 18446744071600606288, number
[ 409.981614][ T5852] base: 16, num: 18446744071600606304, number
[ 409.987884][ T5852] base: 16, num: 18446744071600606848, number
[ 409.994047][ T5852] base: 16, num: 18446744071600606864, number
[ 410.000347][ T5852] base: 16, num: 18446744071600607392, number
[ 410.006536][ T5852] base: 16, num: 18446744071600607408, number
[ 410.012767][ T5852] base: 16, num: 18446744071600607952, number
[ 410.019146][ T5852] base: 16, num: 18446744071600607968, number
[ 410.025407][ T5852] base: 16, num: 18446744071600608240, number
[ 410.031535][ T5852] base: 16, num: 18446744071600608256, number
[ 410.037639][ T5852] base: 16, num: 18446744071600608816, number
[ 410.043791][ T5852] base: 16, num: 18446744071600608832, number
[ 410.049924][ T5852] base: 16, num: 18446744071600609392, number
[ 410.056002][ T5852] base: 16, num: 18446744071600609408, number
[ 410.062144][ T5852] base: 16, num: 18446744071600610048, number
syzkaller build log:
go env (err=<nil>)
GO111MODULE='auto'
GOARCH='amd64'
GOBIN=''
GOCACHE='/syzkaller/.cache/go-build'
GOENV='/syzkaller/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/syzkaller/jobs-2/linux/gopath/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/syzkaller/jobs-2/linux/gopath'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.7'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/syzkaller/jobs-2/linux/gopath/src/github.com/google/syzkaller/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2029080981=/tmp/go-build -gno-record-gcc-switches'
git status (err=<nil>)
HEAD detached at 6dbc6a9bc
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/contributing.md#using-syz-env
go list -f '{{.Stale}}' ./sys/syz-sysgen | grep -q false || go install ./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/contributing.md#using-syz-env
bin/syz-sysgen
go fmt ./sys/... >/dev/null
touch .descriptions
GOOS=linux GOARCH=amd64 go build "-ldflags=-s -w -X github.com/google/syzkaller/prog.GitRevision=6dbc6a9bc76e06852841ed5c5bdbb78409b17f53 -X 'github.com/google/syzkaller/prog.gitRevisionDate=20250110-142744'" "-tags=syz_target syz_os_linux syz_arch_amd64 " -o ./bin/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 -Wframe-larger-than=16384 -Wno-stringop-overflow -Wno-array-bounds -Wno-format-overflow -Wno-unused-but-set-variable -Wno-unused-command-line-argument -static-pie -std=c++17 -I. -Iexecutor/_include -fpermissive -w -DGOOS_linux=1 -DGOARCH_amd64=1 \
-DHOSTGOOS_linux=1 -DGIT_REVISION=\"6dbc6a9bc76e06852841ed5c5bdbb78409b17f53\"
/usr/bin/ld: /tmp/ccMSRdBJ.o: in function `Connection::Connect(char const*, char const*)':
executor.cc:(.text._ZN10Connection7ConnectEPKcS1_[_ZN10Connection7ConnectEPKcS1_]+0x104): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
Error text is too large and was truncated, full error text is at:
https://syzkaller.appspot.com/x/error.txt?x=145eca18580000
Tested on:
commit: f333279e printf: base is too large ?
git tree: https://github.com/ea1davis/linux lib/syz
kernel config: https://syzkaller.appspot.com/x/.config?x=e01787b160d01f1
dashboard link: https://syzkaller.appspot.com/bug?extid=fcee6b76cf2e261c51a4
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40
Note: no patches were applied.
Powered by blists - more mailing lists