panic: bad arg kind: goroutine 26 [running]: github.com/google/syzkaller/prog.clone(0x0, 0x0, 0xc002b62390, 0xc002cce080, 0xc002cc5be0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:79 +0x91b github.com/google/syzkaller/prog.clone(0x9b46a0, 0xc0010857c0, 0xc002b62390, 0x9b46a0, 0xc002cc90a0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b46a0, 0xc0010857e0, 0xc002b62390, 0x0, 0xc002b620d8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b46e0, 0xc001083680, 0xc002b62390, 0x9b4620, 0xc002cc5b60) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:44 +0x567 github.com/google/syzkaller/prog.clone(0x9b46a0, 0xc001085800, 0xc002b62390, 0xc002b62418, 0xc002b622d8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:57 +0x18d github.com/google/syzkaller/prog.clone(0x9b46e0, 0xc0010836b0, 0xc002b62390, 0x9b4620, 0xc002cc5b40) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:44 +0x567 github.com/google/syzkaller/prog.(*Prog).Clone(0xc001079dc0, 0x9014b6) /syzkaller/gopath/src/github.com/google/syzkaller/prog/clone.go:24 +0x279 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc002872a40, 0xc000089cc0, 0xcafba0, 0x0, 0x9b4720, 0xc000baa5d0, 0xc002e288f0, 0x1, 0xc00057c6a0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:839 +0xc2 github.com/google/syzkaller/prog.(*ResourceType).generate(0xcafba0, 0xc002872a40, 0xc000089cc0, 0x0, 0x9b4720, 0xc000134700, 0x230ea1008, 0x0, 0x1) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:669 +0x27c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9baae0, 0xcafba0, 0xc002e20000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xd46f20, 0xc, 0xc, 0xaaaaaaaaaaaaaa00, 0x38, 0x8, 0xccfb20, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcbc500, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0x7, 0x203000, 0x20, 0x20) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcbc500, 0x230ea0000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xcb7ca0, 0x2, 0x2, 0x0, 0x888e20, 0xc00057cb68, 0xc00057cb38, 0x40be26, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcbc6e0, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0xc002f2d820, 0xc000086a00, 0xc00057cb68, 0x40c698) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcbc6e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xcb7820, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0xc0028733e0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:788 +0xbf github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9baca0, 0xcb7820, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xcb77e0, 0x2, 0x2, 0xcd0500, 0x0, 0x9b4660, 0xc000baa3f0, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcbb600, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0xc002873140, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c OpenBSD/amd64 (ci-openbsd-main-2.c.syzkaller.internal) (tty00) github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcbb600, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xd461e0, 0x9, 0x9, 0xaaaaaaaaaaaaaa00, 0x38, 0xc00057d0f0, 0x40c698, 0x10, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcbb660, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0xc000971e60, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcbb660, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xcb7420, 0x2, 0x2, 0xc000bda500, 0x0, 0xc00057d3f8, 0x791757, 0xcbcec0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb9e00, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0x40c698, 0x8, 0x203000, 0x203000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcb9e00, 0x9b0000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xcb7320, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0x0, 0x203000, 0x10, 0x10) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:788 +0xbf github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9baca0, 0xcb7320, 0x230ea0000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xcae3c0, 0x1, 0x1, 0x0, 0x1, 0x0, 0x0, 0x0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb9ec0, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0xc002872cc0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcb9ec0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xcd48a0, 0x4, 0x4, 0xc00057d900, 0xc00057db08, 0x76c881, 0xc000bda1c8, 0xcb3d20, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*StructType).generate(0xcb9e60, 0xc002872a40, 0xc000089cc0, 0x0, 0xd806c0, 0x0, 0xc00057db88, 0xc000bda1c8, 0xcb3d20) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:780 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9babc0, 0xcb9e60, 0xc000570000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:608 github.com/google/syzkaller/prog.(*PtrType).generate(0xcb5ea0, 0xc002872a40, 0xc000089cc0, 0x0, 0x9b4620, 0xc000971da0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:797 +0x123 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc002872a40, 0xc000089cc0, 0x9baa00, 0xcb5ea0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:658 +0x450 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(0xc002872a40, 0xc000089cc0, 0xcb3d20, 0x2, 0x2, 0xc0031cdc00, 0x180, 0x180, 0x11aa, 0x172, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:596 +0x116 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc002872a40, 0xc000089cc0, 0xd39420, 0x172, 0xc000089cc0, 0xc002e28898) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:551 +0xd5 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc002872a40, 0xc000089cc0, 0xc000bda180, 0x1, 0xc000bda180, 0x0, 0xc000089cc0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:540 +0x95 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc002b63ec0, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc000bda180, 0x9add20, 0xc002c0e9c0, 0x14, 0xc002a8bbc0, 0xc0029b8000, 0x26f0, 0x3000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea main.(*Proc).loop(0xc002a8a100) /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:260 +0x1188 login: