panic: bad arg kind: <nil>
goroutine 24 [running]:
github.com/google/syzkaller/prog.clone(0x0, 0x0, 0xc001a1adc8, 0xc0028a0140, 0xc0024fc6f0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x897
github.com/google/syzkaller/prog.clone(0x98ee00, 0xc0006af020, 0xc001a1adc8, 0x889bc0, 0xc0024fc701)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x193
github.com/google/syzkaller/prog.clone(0x98eec0, 0xc0006af040, 0xc001a1adc8, 0xc002e63a40, 0xc00285df40)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:63 +0x4a9
github.com/google/syzkaller/prog.clone(0x98ee00, 0xc0006af060, 0xc001a1adc8, 0x98ee00, 0xc00285dfc0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x193
github.com/google/syzkaller/prog.clone(0x98ee00, 0xc0006af080, 0xc001a1adc8, 0x889bc0, 0xc0024df530)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x193
github.com/google/syzkaller/prog.clone(0x98ee40, 0xc0007c2240, 0xc001a1adc8, 0x98ed80, 0xc0024fc640)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:44 +0x774
github.com/google/syzkaller/prog.(*Prog).Clone(0xc0006fe9c0, 0x8f3c34)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x27a
github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc002d0e860, 0xc003e4a0f0, 0xbf6d00, 0x0, 0x897d00, 0x200000001, 0xc003492a00, 0xc001a1b068, 0x7b46fe)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:839 +0xc5
github.com/google/syzkaller/prog.(*ResourceType).generate(0xbf6d00, 0xc002d0e860, 0xc003e4a0f0, 0xc00319aa00, 0x98ed80, 0xc003492a00, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:669 +0x285
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002d0e860, 0xc003e4a0f0, 0x993aa0, 0xbf6d00, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc002d0e860, 0xc003e4a0f0, 0xc8e160, 0xc, 0xc, 0x203000, 0x203000, 0x203000, 0x203000, 0x0, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113
github.com/google/syzkaller/prog.(*StructType).generate(0xc037a0, 0xc002d0e860, 0xc003e4a0f0, 0x0, 0xcdc800, 0x21315d108, 0xc0025e6800, 0x21315d108, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002d0e860, 0xc003e4a0f0, 0x993b80, 0xc037a0, 0xc002160000, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc002d0e860, 0xc003e4a0f0, 0xbfef40, 0x2, 0x2, 0x203000, 0x203000, 0x0, 0x0, 0x0, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113
github.com/google/syzkaller/prog.(*StructType).generate(0xc03980, 0xc002d0e860, 0xc003e4a0f0, 0x0, 0xcdc800, 0xc001a1b510, 0x4fc693, 0xc000085500, 0x492803a5eb0b52d4)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002d0e860, 0xc003e4a0f0, 0x993b80, 0xc03980, 0xc001f50000, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608
github.com/google/syzkaller/prog.(*UnionType).generate(0xbfe980, 0xc002d0e860, 0xc003e4a0f0, 0x0, 0xcdc800, 0xc002d0eba0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:788 +0xbf
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002d0e860, 0xc003e4a0f0, 0x993c60, 0xbfe980, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc002d0e860, 0xc003e4a0f0, 0xbfe940, 0x2, 0x2, 0x0, 0x203000, 0xc001a1b7f0, 0x40de78, 0x10, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113
github.com/google/syzkaller/prog.(*StructType).generate(0xc02480, 0xc002d0e860, 0xc003e4a0f0, 0x0, 0xcdc800, 0xc0034928a0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002d0e860, 0xc003e4a0f0, 0x993b80, 0xc02480, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc002d0e860, 0xc003e4a0f0, 0xbfe680, 0x2, 0x2, 0xc00000d700, 0xc16ec0, 0xc00205b230, 0x84a560, 0xc00000d760, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113
github.com/google/syzkaller/prog.(*StructType).generate(0xc01040, 0xc002d0e860, 0xc003e4a0f0, 0x0, 0xcdc800, 0x91b090, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002d0e860, 0xc003e4a0f0, 0x993b80, 0xc01040, 0xcd0000, 0x0, 0x0, 0x0, 0x0, 0x0)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x40b
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608
github.com/google/syzkaller/prog.(*UnionType).mutate(0xbfe5c0, 0xc002d0e860, 0xc003e4a0f0, 0x98eec0, 0xc002d0e6c0, 0xc002d0e668, 0xbf5360, 0x1, 0x1, 0xc002cfef90, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:457 +0x18b
github.com/google/syzkaller/prog.(*Target).mutateArg(0xc0000756c0, 0xc002d0e860, 0xc003e4a0f0, 0x98eec0, 0xc002d0e6c0, 0xc002d0e668, 0xbf5360, 0x1, 0x1, 0xc002cfef90, ...)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:229 +0xec
github.com/google/syzkaller/prog.(*mutator).mutateArg(0xc001a1bec0, 0xa)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:182 +0x275
github.com/google/syzkaller/prog.(*Prog).Mutate(0xc00205b180, 0x988ac0, 0xc00307d440, 0x14, 0xc003048540, 0xc0029f6000, 0x2772, 0x3000)
/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:47 +0x330
main.(*Proc).loop(0xc003048580)
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:95 +0x3e5
created by main.main
/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:267 +0x1175