sendmsg$SMC_PNETID_FLUSH(r0, &(0x7f0000000140)={&(0x7f0000000040)={0x10, 0x0, 0x0, 0x800020}, 0xc, &(0x7f0000000100)={&(0x7f0000000080)={0x4c, 0x0, 0x300, 0x70bd26, 0x25dfdbfd, {}, [@SMC_PNETID_NAME={0x9, 0x1, 'syz0\x00'}, @SMC_PNETID_NAME={0x9, 0x1, 'syz0\x00'}, @SMC_PNETID_IBNAME={0x9, 0x3, 'syz2\x00'}, @SMC_PNETID_ETHNAME={0x14, 0x2, 'ip6gre0\x00'}]}, 0x4c}, 0x1, 0x0, 0x0, 0x48001}, 0x48000) socket(0x18, 0x0, 0xfffffffb) 23:47:27 executing program 2: socket(0x29, 0x0, 0xe000000) panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF goroutine 27 [running]: github.com/google/syzkaller/prog.(*randGen).createResource(0xc0056c9980, 0xc005a96e10, 0xf23580, 0x18267980503c7400, 0xc0009faab8, 0x4f033f, 0xc0008616b0, 0x18267980503c745a, 0x7ffffffc00000000) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:420 +0xcdf github.com/google/syzkaller/prog.(*ResourceType).generate(0xf23580, 0xc0056c9980, 0xc005a96e10, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:680 +0x29f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98de0, 0xf23580, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0056c9980, 0xc005a96e10, 0x1814e00, 0x6, 0x6, 0x792200, 0x4138c2, 0xc0009fad68, 0xe8f82898, 0x775f06ddf309c2fd, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:600 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0x1038ca0, 0xc0056c9980, 0xc005a96e10, 0x0, 0x1bb18e0, 0xc00092fbb0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98ec0, 0x1038ca0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0056c9980, 0xc005a96e10, 0x1893620, 0x7, 0x7, 0x792200, 0x4138c2, 0xc0009fafd0, 0xe8f82898, 0x38528d3131dccd2c, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:600 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0x1038c40, 0xc0056c9980, 0xc005a96e10, 0x0, 0x1bb18e0, 0xc00092fb70, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98ec0, 0x1038c40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0056c9980, 0xc005a96e10, 0x189d4c0, 0x7, 0x7, 0xc0009fb300, 0x4138c2, 0xc0009fb238, 0xe8f82898, 0x88e563f5e66f6481, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:600 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0x1062280, 0xc0056c9980, 0xc005a96e10, 0x0, 0x1bb18e0, 0xc0009fb270, 0x4f00b3, 0xc0004d4a00, 0x1e94e7cb5e4603df) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98ec0, 0x1062280, 0x200000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*PtrType).generate(0xf3f040, 0xc0056c9980, 0xc005a96e10, 0x0, 0x7f35603d47d0, 0xc0006ec740, 0x0, 0xc00002e400, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:811 +0x127 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98d00, 0xf3f040, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0056c9980, 0xc005a96e10, 0x11d0a00, 0x2, 0x2, 0xc0009fb500, 0x4138c2, 0xc0009fb5d0, 0xe8f82898, 0x1d29d553fbb5bdfb, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:600 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0x103b340, 0xc0056c9980, 0xc005a96e10, 0x0, 0x1bb18e0, 0xc0009fb608, 0x4f00b3, 0xc0004d4a00, 0x521434299a93a8b2) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98ec0, 0x103b340, 0x400000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*PtrType).generate(0xf3f080, 0xc0056c9980, 0xc005a96e10, 0x0, 0xc959c0, 0xc00092fb20, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:811 +0x127 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98d00, 0xf3f080, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0056c9980, 0xc005a96e10, 0x193e720, 0x9, 0x9, 0x0, 0x4138c2, 0xc0009fb968, 0xe8f82898, 0x16455578e51bc81f, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:600 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0x1053a00, 0xc0056c9980, 0xc005a96e10, 0x0, 0x1bb18e0, 0xc0009fb9a0, 0x4f00b3, 0xc0004d4a00, 0x61bbd5cc323cc690) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:794 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98ec0, 0x1053a00, 0x400000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*PtrType).generate(0xf3f0c0, 0xc0056c9980, 0xc005a96e10, 0x0, 0xc95ac0, 0xc005cf60c0, 0xc0009fbb20, 0x44de25, 0xc005c111a0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:811 +0x127 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0056c9980, 0xc005a96e10, 0xc98d00, 0xf3f0c0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:662 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:612 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0056c9980, 0xc005a96e10, 0x1387120, 0x3, 0x3, 0x4f0000, 0xc0004d4a00, 0x54fa04acf00051d5, 0x104d, 0x104d, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:600 +0x179 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc0056c9980, 0xc005a96e10, 0x1664560, 0xcb0, 0xc005a96e10, 0xc000969140) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:555 +0xb5 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc0056c9980, 0xc005a96e10, 0xc005d93980, 0x1, 0xc005d93980, 0x0, 0xc005a96e10) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:547 +0x95 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc0009fbe18, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xfb github.com/google/syzkaller/prog.(*Prog).Mutate(0xc005d93980, 0xc92480, 0xc0008616b0, 0x14, 0xc000342b40, 0xc00019f000, 0xff, 0x100) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ee main.(*Proc).smashInput(0xc000343180, 0xc005d30890) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:213 +0x133 main.(*Proc).loop(0xc000343180) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:78 +0x1aa created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:289 +0x148f