syzbot


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

Status: upstream: reported on 2024/05/20 19:17
Reported-by: syzbot+9b93c29002d147470e64@syzkaller.appspotmail.com
First crash: 26d, last: 26d

Sample crash report:
panic: runtime error: slice bounds out of range [:1] with capacity 0

goroutine 27 [running]:
encoding/gob.(*Encoder).EncodeValue(0xc000036d20, {0xa97aa0?, 0xc000000b58?, 0x41173b?})
	/usr/local/go/src/encoding/gob/encoder.go:232 +0x591
encoding/gob.(*Encoder).Encode(0xbbe1c50121fbe377?, {0xa97aa0?, 0xc000000b58?})
	/usr/local/go/src/encoding/gob/encoder.go:176 +0x75
net/rpc.(*gobClientCodec).WriteRequest(0xc000017680, 0xc0000176b0?, {0xa941a0, 0xc000017920})
	/usr/local/go/src/net/rpc/client.go:218 +0x36
net/rpc.(*Client).send(0xc000000b40, 0xc000bb2fa0)
	/usr/local/go/src/net/rpc/client.go:91 +0x224
net/rpc.(*Client).Go(0xc000000b40, {0xc2a6e3, 0x16}, {0xa941a0, 0xc000017920}, {0x0, 0x0}, 0x0)
	/usr/local/go/src/net/rpc/client.go:315 +0x13a
github.com/google/syzkaller/pkg/rpctype.(*RPCClient).AsyncCall(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/pkg/rpctype/rpc.go:92
main.(*FuzzerTool).startExecutingCall(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:245
main.(*Proc).executeProgram(0xc0000a2f00, {0x453, {0xc000a1e160, 0x14d, 0x14d}, {0x15, 0xffe2, 0x0}, 0x1, 0x0, ...})
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:123 +0x12a
main.(*Proc).execute(0xc0000a2f00?, {0x453, {0xc000a1e160, 0x14d, 0x14d}, {0x15, 0xffe2, 0x0}, 0x1, 0x0, ...})
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:101 +0x98
main.(*Proc).loop(0xc0000a2f00)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:52 +0x278
created by main.startProc in goroutine 1
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:38 +0x10a

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/05/20 19:16 openbsd ab5fd4cb8341 c0f1611a .config console log report [disk image] [bsd.gdb] [kernel image] ci-openbsd-multicore panic: runtime error: slice bounds out of range [:NUM] with capacity NUM
* Struck through repros no longer work on HEAD.