panic: broken type ref goroutine 26 [running]: github.com/google/syzkaller/prog.ArgCommon.Type(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/prog.go:39 github.com/google/syzkaller/prog.foreachArgImpl(0x9b0760, 0xc00239d820, 0xc00239d6c8, 0xd35020, 0x7, 0x7, 0xc000a3ffb0, 0x1d0, 0x0, 0xc0004297c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:133 +0x8f5 github.com/google/syzkaller/prog.foreachArgImpl(0x9b0760, 0xc00239d760, 0xc00239d6c8, 0xd35020, 0x7, 0x7, 0xc000a3ffb0, 0x158, 0x0, 0xc0004297c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:139 +0x2a4 github.com/google/syzkaller/prog.foreachArgImpl(0x9b0760, 0xc00239d6c0, 0xc00239d6a8, 0xcc8a60, 0x4, 0x4, 0xc000a3ffb0, 0x10, 0x0, 0xc0004297c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:139 +0x2a4 github.com/google/syzkaller/prog.foreachArgImpl(0x9b0760, 0xc00239d6a0, 0xc000a47408, 0xcbf6a0, 0x3, 0x3, 0xc000a3ffb0, 0x0, 0x0, 0xc0004297c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:139 +0x2a4 github.com/google/syzkaller/prog.foreachArgImpl(0x9b07a0, 0xc000a3ffb0, 0xc000a47408, 0xcbf6a0, 0x3, 0x3, 0x0, 0x0, 0x0, 0xc0004297c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:154 +0x646 github.com/google/syzkaller/prog.ForeachArg(0xc000a47400, 0xc0004297c0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/analysis.go:122 +0x112 github.com/google/syzkaller/prog.getCompatibleResources(0xc000a473c0, 0x8f9b30, 0x7, 0xc0027f42a0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:898 +0xb9 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc0027f42a0, 0xc001e560a0, 0xca87a0, 0xc0029df400, 0x0, 0x0, 0xc000165bd8, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:846 +0xfe github.com/google/syzkaller/prog.(*ResourceType).generate(0xca87a0, 0xc0027f42a0, 0xc001e560a0, 0x0, 0x2c1c83010, 0x0, 0x203000, 0x2000, 0x100000000000000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:675 +0x27c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0027f42a0, 0xc001e560a0, 0x9b6a80, 0xca87a0, 0x400000, 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.regenerate(0xc0027f42a0, 0xc001e560a0, 0x9b07e0, 0xc0029df3b0, 0x7a5c4d, 0x27d, 0x9b6a80, 0xca87a0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:263 +0xa9 github.com/google/syzkaller/prog.(*ResourceType).mutate(0xca87a0, 0xc0027f42a0, 0xc001e560a0, 0x9b07e0, 0xc0029df3b0, 0xc00296e848, 0xca7260, 0x1, 0x1, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:332 +0x4d github.com/google/syzkaller/prog.(*Target).mutateArg(0xc0000e0000, 0xc0027f42a0, 0xc001e560a0, 0x9b07e0, 0xc0029df3b0, 0xc00296e848, 0xca7260, 0x1, 0x1, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:246 +0xe3 github.com/google/syzkaller/prog.(*mutator).mutateArg(0xc000429ec0, 0xa) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:183 +0x322 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc002994e00, 0x9a9c20, 0xc0016d8a20, 0x14, 0xc00164f500, 0xc001e9c000, 0x20f7, 0x2400) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:47 +0x32c main.(*Proc).loop(0xc00164f580) /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