panic: bad arg kind: goroutine 28 [running]: github.com/google/syzkaller/prog.clone(0x0, 0xc000270000, 0xc00055b540, 0xc000980540, 0xc000ef3bf0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x91b github.com/google/syzkaller/prog.(*Prog).Clone(0xc0002b7cc0, 0x8f4f80) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x279 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc00187b580, 0xc0024370e0, 0xca8660, 0xc002ab2200, 0x0, 0x0, 0xc00000fac8, 0x1, 0xc00055b850) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:845 +0xc2 github.com/google/syzkaller/prog.(*ResourceType).generate(0xca8660, 0xc00187b580, 0xc0024370e0, 0xc00055b800, 0x9b06e0, 0xc000040380, 0x2cf058008, 0x0, 0x1) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:675 +0x27c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00187b580, 0xc0024370e0, 0x9b6980, 0xca8660, 0xc000000000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:664 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:614 github.com/google/syzkaller/prog.(*ArrayType).generate(0xcb40c0, 0xc00187b580, 0xc0024370e0, 0xc00000d200, 0xc00055ba08, 0x7a5a0d, 0x1d7, 0x9b68c0, 0xca8fa0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:778 +0x180 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00187b580, 0xc0024370e0, 0x9b62c0, 0xcb40c0, 0xc000550000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:664 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:614 github.com/google/syzkaller/prog.(*PtrType).generate(0xcaa2e0, 0xc00187b580, 0xc0024370e0, 0x0, 0x9b05e0, 0xc0027117d0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:803 +0x123 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00187b580, 0xc0024370e0, 0x9b68c0, 0xcaa2e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:664 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:614 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc00187b580, 0xc0024370e0, 0xcaf460, 0x2, 0x2, 0x49f700, 0xc001dc8000, 0x155, 0x155, 0x10f6, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc00187b580, 0xc0024370e0, 0xd28340, 0x121, 0xc0024370e0, 0xc001f6c900) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:557 +0xd5 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc00187b580, 0xc0024370e0, 0xc002aafe40, 0x5, 0xc002aafe40, 0xc002ab0040, 0xc0024370e0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:546 +0x95 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc00055bec0, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc002aafe40, 0x9a9b60, 0xc001bc7740, 0x14, 0xc001985c00, 0xc001a74000, 0x20cc, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea main.(*Proc).loop(0xc000facc00) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:95 +0x434 created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:258 +0x1155