panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7728c2] goroutine 26 [running]: github.com/google/syzkaller/prog.(*Prog).Clone(0xc0002d2100, 0x8f9452) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:18 +0x172 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc00257fb80, 0xc001e08aa0, 0xca8720, 0xd33500, 0x6, 0x6, 0xc001b62060, 0x203000, 0x203000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:845 +0xc2 github.com/google/syzkaller/prog.(*ResourceType).generate(0xca8720, 0xc00257fb80, 0xc001e08aa0, 0x0, 0x886780, 0xc001c17b80, 0x8, 0x20, 0x20) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:675 +0x27c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc00257fb80, 0xc001e08aa0, 0x9b6920, 0xca8720, 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(0xc00257fb80, 0xc001e08aa0, 0xcaf5e0, 0x2, 0x2, 0x49f700, 0xc00236a000, 0x155, 0x155, 0x22d2, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:602 +0x116 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc00257fb80, 0xc001e08aa0, 0xd29480, 0x135, 0xc001e08aa0, 0xc001e08a00) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:557 +0xd5 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc00257fb80, 0xc001e08aa0, 0xc001c01dc0, 0x3, 0xc001c01dc0, 0xc001c01ec0, 0xc001e08aa0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:546 +0x95 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc001f8dec0, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc001c01dc0, 0x9a9b00, 0xc001c091d0, 0x14, 0xc001c10080, 0xc001d22000, 0x20c1, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea main.(*Proc).loop(0xc001c10100) /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