syzbot


panic: runtime error: index out of range [ADDR] with length NUM

Status: upstream: reported on 2024/02/22 17:18
Reported-by: syzbot+97718105e551532c357e@syzkaller.appspotmail.com
First crash: 115d, last: 26d

Sample crash report:
panic: runtime error: index out of range [2129788979] with length 54590

goroutine 57 [running]:
compress/flate.(*compressor).findMatch(0xc0002e85c0?, 0xd43c, 0xc00036e000?, 0x67cd4a?, 0x67e505?)
	/usr/local/go/src/compress/flate/deflate.go:256 +0x29c
compress/flate.(*compressor).deflate(0xc000700000)
	/usr/local/go/src/compress/flate/deflate.go:436 +0x19e
compress/flate.(*compressor).syncFlush(0xc000700000)
	/usr/local/go/src/compress/flate/deflate.go:558 +0x3b
compress/flate.(*Writer).Flush(...)
	/usr/local/go/src/compress/flate/deflate.go:725
github.com/google/syzkaller/pkg/rpctype.(*flateConn).Write(0xc000580f90, {0xc0009b2fe8?, 0xc000603808?, 0xc0?})
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpctype/rpc.go:132 +0x45
bufio.(*Writer).Write(0xc0005864c0, {0xc0009b2006?, 0xa094a5?, 0xc0000a9530?})
	/usr/local/go/src/bufio/bufio.go:679 +0xea
encoding/gob.(*Encoder).writeMessage(0xc0000a94a0, {0xd9a460, 0xc0005864c0}, 0xc0000a94d8)
	/usr/local/go/src/encoding/gob/encoder.go:82 +0x3bf
encoding/gob.(*Encoder).EncodeValue(0xc0000a94a0, {0xa94120?, 0xc00049f380?, 0xc0006039f0?})
	/usr/local/go/src/encoding/gob/encoder.go:253 +0x448
encoding/gob.(*Encoder).Encode(0xef93a04c697c20df?, {0xa94120?, 0xc00049f380?})
	/usr/local/go/src/encoding/gob/encoder.go:176 +0x75
net/rpc.(*gobClientCodec).WriteRequest(0xc000581800, 0xc000581830?, {0xa94120, 0xc00049f380})
	/usr/local/go/src/net/rpc/client.go:221 +0x53
net/rpc.(*Client).send(0xc000362120, 0xc00058dae0)
	/usr/local/go/src/net/rpc/client.go:91 +0x224
net/rpc.(*Client).Go(0xc000362120, {0xc28265, 0x14}, {0xa94120, 0xc00049f380}, {0xa94160, 0xc00058da40}, 0xc0007cfc80)
	/usr/local/go/src/net/rpc/client.go:315 +0x13a
net/rpc.(*Client).Call(...)
	/usr/local/go/src/net/rpc/client.go:321
github.com/google/syzkaller/pkg/rpctype.(*RPCClient).Call(0xc0000a2750, {0xc28265, 0x14}, {0xa94120, 0xc00049f380}, {0xa94160, 0xc00058da40})
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpctype/rpc.go:88 +0x145
main.(*FuzzerTool).exchangeDataCall(0xc000188820, {0xc000895c30, 0x1, 0x1}, 0x531b9e)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:264 +0x21c
main.(*FuzzerTool).exchangeDataWorker(0xc000188820)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:304 +0x76
created by main.main in goroutine 1
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:202 +0x1168

Crashes (16):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/21 02:11 openbsd d0fe8eba4c8c c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/18 22:01 openbsd 088a2cd995ac c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/18 00:12 openbsd fea1e5fd692c c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/16 06:37 openbsd e298eee01736 ef5d53ed .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/14 09:30 openbsd 5dea098c4cfa fdb4c10c .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/11 08:14 openbsd f63e15d85063 9026e142 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/06 11:23 openbsd 27da0d9a6e0d d884b519 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/03 09:14 openbsd 5344938f422c ddfc15a1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/05/03 07:21 openbsd 5344938f422c ddfc15a1 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/04/23 15:43 openbsd 8cc1b8fa16e2 21339d7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/04/23 06:21 openbsd 19e99d061340 21339d7b .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/04/21 19:24 openbsd 8a9424f8c5c9 af24b050 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/04/14 10:56 openbsd 3b9d585e0ce8 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/04/13 15:40 openbsd 3a5505f27483 c8349e48 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/04/12 02:05 openbsd e961ca10cf2c 3023abf0 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
2024/02/22 17:17 openbsd 609e0b1cb961 8d446f15 .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: index out of range [ADDR] with length NUM
* Struck through repros no longer work on HEAD.