panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x79434f] goroutine 11 [running]: github.com/google/syzkaller/prog.clone(0x98ee80, 0xc000181290, 0xc000550dc8, 0xc002f63720, 0xc001f579e0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:71 +0x60f github.com/google/syzkaller/prog.(*Prog).Clone(0xc000179740, 0x8f3c34) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x27a github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc001c127a0, 0xc001af05a0, 0xbf6d00, 0x0, 0x897d00, 0x200000001, 0xc001b47c20, 0xc000551068, 0x7b46fe) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:839 +0xc5 github.com/google/syzkaller/prog.(*ResourceType).generate(0xbf6d00, 0xc001c127a0, 0xc001af05a0, 0xc0017f2600, 0x98ed80, 0xc001b47c20, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:669 +0x285 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001c127a0, 0xc001af05a0, 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(0xc001c127a0, 0xc001af05a0, 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, 0xc001c127a0, 0xc001af05a0, 0x0, 0xcdc800, 0x23969e7d0, 0xc00003e800, 0x23969e7d0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001c127a0, 0xc001af05a0, 0x993b80, 0xc037a0, 0xc002f60000, 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(0xc001c127a0, 0xc001af05a0, 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, 0xc001c127a0, 0xc001af05a0, 0x0, 0xcdc800, 0xc000551510, 0x4fc693, 0xc002cdf500, 0x29ac336dbda00c5f) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001c127a0, 0xc001af05a0, 0x993b80, 0xc03980, 0xc0013f0000, 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, 0xc001c127a0, 0xc001af05a0, 0x0, 0xcdc800, 0xc001af92e0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:788 +0xbf github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001c127a0, 0xc001af05a0, 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(0xc001c127a0, 0xc001af05a0, 0xbfe940, 0x2, 0x2, 0x0, 0x203000, 0xc0005517f0, 0x40de78, 0x10, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113 github.com/google/syzkaller/prog.(*StructType).generate(0xc02480, 0xc001c127a0, 0xc001af05a0, 0x0, 0xcdc800, 0xc001b47a70, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001c127a0, 0xc001af05a0, 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(0xc001c127a0, 0xc001af05a0, 0xbfe680, 0x2, 0x2, 0xc000108b00, 0xbfd440, 0xc001b49c70, 0x84a560, 0xc000108bc0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x113 github.com/google/syzkaller/prog.(*StructType).generate(0xc01040, 0xc001c127a0, 0xc001af05a0, 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(0xc001c127a0, 0xc001af05a0, 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, 0xc001c127a0, 0xc001af05a0, 0x98eec0, 0xc0019d4ac0, 0xc0019d4808, 0xbf5360, 0x1, 0x1, 0xc001a71500, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:457 +0x18b github.com/google/syzkaller/prog.(*Target).mutateArg(0xc000075520, 0xc001c127a0, 0xc001af05a0, 0x98eec0, 0xc0019d4ac0, 0xc0019d4808, 0xbf5360, 0x1, 0x1, 0xc001a71500, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:229 +0xec github.com/google/syzkaller/prog.(*mutator).mutateArg(0xc000551ec0, 0xa) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:182 +0x275 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc001b49bc0, 0x988ac0, 0xc002b32cc0, 0x14, 0xc00291bf00, 0xc00137c000, 0x26ad, 0x3000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:47 +0x330 main.(*Proc).loop(0xc002958000) /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 OpenBSD/amd64 (ci-openbsd-multicore-1.c.syzkaller.internal) (tty00) login: