panic: bad arg kind: goroutine 43 [running]: github.com/google/syzkaller/prog.clone(0x0, 0x0, 0xc0022962e8, 0x9b0760, 0xc002295b30) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x91b github.com/google/syzkaller/prog.clone(0x9b0820, 0xc000380000, 0xc0022962e8, 0x9b0760, 0xc001d79500) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:63 +0x839 github.com/google/syzkaller/prog.clone(0x9b0820, 0xc000380020, 0xc0022962e8, 0x9b0760, 0xc001d79360) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:63 +0x839 github.com/google/syzkaller/prog.clone(0x9b0760, 0xc0003800a0, 0xc0022962e8, 0x9b06e0, 0xc0024be2b0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b0760, 0xc000380140, 0xc0022962e8, 0x9b06e0, 0xc002295f30) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b0820, 0xc000380160, 0xc0022962e8, 0xc001e0ea10, 0xc001d791c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:63 +0x839 github.com/google/syzkaller/prog.clone(0x9b0760, 0xc0003801a0, 0xc0022962e8, 0x9b0760, 0xc001d79240) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b0760, 0xc0003801c0, 0xc0022962e8, 0x9b0720, 0xc002296230) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b07a0, 0xc00038b740, 0xc0022962e8, 0x9b06e0, 0xc0024be1e0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:44 +0x567 github.com/google/syzkaller/prog.(*Prog).Clone(0xc000363d00, 0x8fe62f) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x279 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc0021bdb40, 0xc002543810, 0xca88e0, 0x0, 0x897400, 0x1, 0xc002450830, 0xc002986588, 0x792919) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:845 +0xc2 github.com/google/syzkaller/prog.(*ResourceType).generate(0xca88e0, 0xc0021bdb40, 0xc002543810, 0x0, 0x9b06e0, 0xc002450830, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:675 +0x27c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6a80, 0xca88e0, 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(0xc0021bdb40, 0xc002543810, 0xd36f80, 0xc, 0xc, 0xaaaaaaaaaaaaaa00, 0x38, 0x8, 0xcb4840, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb1fa0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0x6, 0x203000, 0x20, 0x20) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcb1fa0, 0x2bc460000, 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(0xc0021bdb40, 0xc002543810, 0xcb2120, 0x2, 0x2, 0xc0023be400, 0x0, 0xc002986ac0, 0xc002986a90, 0x40be26, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb20e0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0xc001770640, 0xc001e98000, 0xc002986ac0, 0x40c698) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcb20e0, 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.(*UnionType).generate(0xcab5e0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0xc0023be500, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0xbf github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6c00, 0xcab5e0, 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(0xc0021bdb40, 0xc002543810, 0xcb1260, 0x2, 0x2, 0xcb1000, 0x0, 0x9b0760, 0xc0021bdd20, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb1220, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0xc0021bdd40, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcb1220, 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(0xc0021bdb40, 0xc002543810, 0xd36240, 0x9, 0x9, 0xaaaaaaaaaaaaaa00, 0x38, 0xc0003a7048, 0x40c698, 0x10, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb12a0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0xc002b73800, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcb12a0, 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(0xc0021bdb40, 0xc002543810, 0xcb0020, 0x2, 0x2, 0xc0015a1200, 0x40, 0x38, 0x839980, 0x8, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcaffe0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0x17f, 0x8, 0x40b92c, 0x29556f7e0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcaffe0, 0x4e0000, 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.(*UnionType).generate(0xcab3a0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0x0, 0x203000, 0x10, 0x10) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0xbf github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6c00, 0xcab3a0, 0x2bc460000, 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(0xc0021bdb40, 0xc002543810, 0xca7420, 0x1, 0x1, 0xcc4300, 0x0, 0x9b0720, 0xc001762630, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb00a0, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0xc0021bdbe0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcb00a0, 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(0xc0021bdb40, 0xc002543810, 0xcc7de0, 0x4, 0x4, 0x0, 0xc0003a7908, 0xc0021bdb20, 0xc0021bda80, 0xc0003a7960, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb0060, 0xc0021bdb40, 0xc002543810, 0x0, 0xd6efe0, 0x7a5a0d, 0x221, 0x9b69c0, 0xcaa220) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:786 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b6b40, 0xcb0060, 0xc0003a0000, 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(0xcaa420, 0xc0021bdb40, 0xc002543810, 0x0, 0x9b06e0, 0xc002b737d0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:803 +0x123 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0021bdb40, 0xc002543810, 0x9b69c0, 0xcaa420, 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(0xc0021bdb40, 0xc002543810, 0xcaf7a0, 0x2, 0x2, 0x49f700, 0xc002243800, 0x155, 0x155, 0xf75, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc0021bdb40, 0xc002543810, 0xd2a380, 0x147, 0xc002543810, 0xc00183e650) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:557 +0xd5 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc0021bdb40, 0xc002543810, 0xc001770200, 0x1, 0xc001770200, 0x0, 0xc002543810) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:546 +0x95 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc002297e18, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc001770200, 0x9a9c20, 0xc00257a600, 0x14, 0xc002357340, 0xc00214a000, 0x2043, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea main.(*Proc).smashInput(0xc0014e1080, 0xc001e0f700) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:213 +0x131 main.(*Proc).loop(0xc0014e1080) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:78 +0x16b created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:258 +0x1155