syzbot


panic: runtime error: slice bounds out of range [NUM:NUM]

Status: auto-closed as invalid on 2022/04/07 05:12
Reported-by: syzbot+@syzkaller.appspotmail.com
First crash: 302d, last: 302d

Sample crash report:
2022/02/06 05:04:10 fetching corpus: 42850, signal 595763/727808 (executing program)
2022/02/06 05:04:10 fetching corpus: 42900, signal 595975/727809 (executing program)
2022/02/06 05:04:10 fetching corpus: 42950, signal 596135/727809 (executing program)
2022/02/06 05:04:10 fetching corpus: 43000, signal 596310/727809 (executing program)
panic: runtime error: slice bounds out of range [64:2]

goroutine 1 [running]:
compress/flate.(*huffmanEncoder).assignEncodingAndSize(0xc0000100b0, {0xc0000100e0, 0x3, 0x199}, {0xc000256900, 0xc00c607548, 0x11f})
	/usr/local/go/src/compress/flate/huffman_code.go:259 +0x1b4
compress/flate.(*huffmanEncoder).generate(0xc0000100b0, {0xc000252480, 0x0, 0x8b22d0}, 0x695f00)
	/usr/local/go/src/compress/flate/huffman_code.go:311 +0x1e7
compress/flate.(*huffmanBitWriter).indexTokens(0xc00000a1e0, {0xc000654000, 0x3, 0xc00c607638})
	/usr/local/go/src/compress/flate/huffman_bit_writer.go:570 +0x245
compress/flate.(*huffmanBitWriter).writeBlock(0xc00000a1e0, {0xc000654000, 0xc00059a000, 0x3}, 0x0, {0xc00064bdb5, 0xc000644000, 0x824b})
	/usr/local/go/src/compress/flate/huffman_bit_writer.go:440 +0xcf
compress/flate.(*compressor).writeBlock(0xc00059a000, {0xc000654000, 0x8a4a60, 0x5e4eca}, 0xc0000a02b8)
	/usr/local/go/src/compress/flate/deflate.go:170 +0x9c
compress/flate.(*compressor).deflate(0xc00059a000)
	/usr/local/go/src/compress/flate/deflate.go:415 +0x6d9
compress/flate.(*compressor).syncFlush(0xc00059a000)
	/usr/local/go/src/compress/flate/deflate.go:568 +0x43
compress/flate.(*Writer).Flush(...)
	/usr/local/go/src/compress/flate/deflate.go:727
github.com/google/syzkaller/pkg/rpctype.(*flateConn).Write(0xc00005ca50, {0xc0002e6000, 0x65aec0, 0xc0153e4a50})
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpctype/rpc.go:144 +0x46
bufio.(*Writer).Flush(0xc00028ed80)
	/usr/local/go/src/bufio/bufio.go:607 +0x62
net/rpc.(*gobClientCodec).WriteRequest(0xc00005ce40, 0xc00005d1a0, {0x65aec0, 0xc0153e4a50})
	/usr/local/go/src/net/rpc/client.go:224 +0x85
net/rpc.(*Client).send(0xc000050a80, 0xc0153e4aa0)
	/usr/local/go/src/net/rpc/client.go:91 +0x21e
net/rpc.(*Client).Go(0xc00000e010, {0x6cfc2d, 0xc}, {0x65aec0, 0xc0153e4a50}, {0x65af00, 0xc01537aea0}, 0xc01537af00)
	/usr/local/go/src/net/rpc/client.go:315 +0x17b
net/rpc.(*Client).Call(...)
	/usr/local/go/src/net/rpc/client.go:321
github.com/google/syzkaller/pkg/rpctype.(*RPCClient).Call(0xc000460020, {0x6cfc2d, 0xc}, {0x65aec0, 0xc0153e4a50}, {0x65af00, 0xc01537aea0})
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpctype/rpc.go:95 +0x175
main.(*Fuzzer).poll(0xc000092000, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:409 +0x1ae
main.main()
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:272 +0x11e6

Crashes (1):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci-upstream-linux-next-kasan-gce-root 2022/02/06 05:04 linux-next ef6b35306dd8 a7dab638 .config log report info panic: runtime error: slice bounds out of range [NUM:NUM]
* Struck through repros no longer work on HEAD.