syzbot


panic: bad arg kind: &prog.IntType{IntTypeCommon:prog.IntTypeCommon{TypeCommon:prog.TypeCommon{TypeName:"int32", FldName

Status: closed as invalid on 2020/02/16 07:43
Reported-by: syzbot+03a9e080a5b05bb21f25@syzkaller.appspotmail.com
First crash: 1741d, last: 1741d

Sample crash report:
panic: bad arg kind: &prog.IntType{IntTypeCommon:prog.IntTypeCommon{TypeCommon:prog.TypeCommon{TypeName:"int32", FldName:"key", TypeSize:0x4, ArgDir:0, IsOptional:false, IsVarlen:false}, ArgFormat:0, BitfieldOff:0x0, BitfieldLen:0x0, BitfieldUnit:0x0, BitfieldUnitOff:0x0}, Kind:0, RangeBegin:0x0, RangeEnd:0x0, Align:0x0}

goroutine 23 [running]:
github.com/google/syzkaller/prog.clone(0x9ae4e0, 0xccb1e0, 0xc0026bb770, 0x9a7720, 0xc0031ad280)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x954
github.com/google/syzkaller/prog.(*Prog).Clone(0xc00029fc40, 0x8f466a)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x279
github.com/google/syzkaller/prog.resourceCentric(0xcb1f00, 0xc003409540, 0xc00235a480, 0xbf00000000000001, 0x0, 0xbf438e17e62d5435, 0xc002d3eb30)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:848 +0xbf
github.com/google/syzkaller/prog.(*ResourceType).generate(0xcb1f00, 0xc00235a480, 0xc003409540, 0x40, 0x879280, 0x8, 0xc000138380, 0x40)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:681 +0x920
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00235a480, 0xc003409540, 0x9ae7e0, 0xcb1f00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:674 +0x506
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:623
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc00235a480, 0xc003409540, 0xca66c0, 0x4, 0x4, 0xc0026bbd58, 0x15f730f4, 0x2f539bff90482d56, 0xc0026bbd90, 0x789bde, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:611 +0x107
github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc00235a480, 0xc003409540, 0xce80c0, 0xde, 0xc003409540, 0xc002551940)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:555 +0xc6
github.com/google/syzkaller/prog.(*randGen).generateCall(0xc00235a480, 0xc003409540, 0xc00322c9c0, 0x2, 0xc00322c9c0, 0x0, 0xc003409540)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:547 +0xb2
github.com/google/syzkaller/prog.(*mutator).insertCall(0xc0026bbec0, 0x14)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:137 +0xf2
github.com/google/syzkaller/prog.(*Prog).Mutate(0xc00322c9c0, 0x9a1f20, 0xc0025b0ff0, 0x1e, 0xc001578f80, 0xc002862000, 0x1ec8, 0x2400)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:42 +0x29b
main.(*Proc).loop(0xc00142c480)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:99 +0x434
created by main.main
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:259 +0x114c


Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/02/15 20:40 openbsd 2298c3ea9006 5d7b90f1 .config console log report ci-openbsd-main
* Struck through repros no longer work on HEAD.