setsockopt$sock_attach_bpf(0xffffffffffffffff, 0x1, 0x32, &(0x7f0000000100)=r0, 0x4) syz_init_net_socket$nfc_llcp(0x27, 0x3, 0x1) 00:42:28 executing program 3: r0 = syz_io_uring_setup(0x15a7, 0x0, &(0x7f0000ffe000/0x1000)=nil, &(0x7f0000ffc000/0x3000)=nil, &(0x7f00000014c0), &(0x7f0000001500)) mmap$IORING_OFF_SQ_RING(&(0x7f0000ffe000/0x2000)=nil, 0x2000, 0x0, 0x48011, r0, 0x0) panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF goroutine 12 [running]: github.com/google/syzkaller/prog.(*randGen).createResource(0xc001359120, 0xc0014d7ea0, 0xc0fda0, 0x57efbabf4ddb0800, 0xc0004cabd0, 0x4ee15f, 0xc0004314d0, 0x57efbabf4ddb0871, 0x7ffffffc004cabf8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:420 +0xcdf github.com/google/syzkaller/prog.(*ResourceType).generate(0xc0fda0, 0xc001359120, 0xc0014d7ea0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:683 +0x29f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98f080, 0xc0fda0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc001359120, 0xc0014d7ea0, 0x14f0920, 0x6, 0x6, 0x73ba00, 0x413882, 0xc0004cae80, 0xe17e9b91, 0x5494ead6f230b9f, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0xd1ec80, 0xc001359120, 0xc0014d7ea0, 0x0, 0x1889780, 0xc001973160, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:797 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98f160, 0xd1ec80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc001359120, 0xc0014d7ea0, 0x15750e0, 0x7, 0x7, 0x0, 0x413882, 0xc0004cb0e8, 0xe17e9b91, 0xe866c058b48045f0, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0xd488c0, 0xc001359120, 0xc0014d7ea0, 0x0, 0x1889780, 0xc0004cb120, 0x4eded3, 0xc0000b1500, 0x2685c9abf8029af4) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:797 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98f160, 0xd488c0, 0x410000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*UnionType).generate(0xc617a0, 0xc001359120, 0xc0014d7ea0, 0x0, 0x1889780, 0xc0004cb260, 0x4eded3, 0xc0000b1500, 0x6f28d5da02f3820b) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:805 +0xd4 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98f240, 0xc617a0, 0x200000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*PtrType).generate(0xc2d460, 0xc001359120, 0xc0014d7ea0, 0x0, 0x7f25b650b108, 0xc0013592a0, 0x0, 0xc00002e400, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:814 +0x127 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98efa0, 0xc2d460, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc001359120, 0xc0014d7ea0, 0xeb9320, 0x2, 0x2, 0xc0004cb500, 0x413882, 0xc0004cb5c0, 0xe17e9b91, 0xe16fefd4cb0b61e4, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0xd248c0, 0xc001359120, 0xc0014d7ea0, 0x0, 0x1889780, 0xc0004cb5f8, 0x4eded3, 0xc0000b1500, 0x5a28255b7caecebb) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:797 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98f160, 0xd248c0, 0x400000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*PtrType).generate(0xc2d4a0, 0xc001359120, 0xc0014d7ea0, 0x0, 0x98bda0, 0xc001973110, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:814 +0x127 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98efa0, 0xc2d4a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc001359120, 0xc0014d7ea0, 0x161f4a0, 0x9, 0x9, 0x0, 0x413882, 0xc0004cb958, 0xe17e9b91, 0x5cfb8e1b71380ade, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179 github.com/google/syzkaller/prog.(*StructType).generate(0xd3c980, 0xc001359120, 0xc0014d7ea0, 0x0, 0x1889780, 0xc0004cb990, 0x4eded3, 0xc0000b1500, 0x14362e0b3819e42e) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:797 +0x7c github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98f160, 0xd3c980, 0x400000, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*PtrType).generate(0xc2d4e0, 0xc001359120, 0xc0014d7ea0, 0x0, 0x98bea0, 0xc0019b1c20, 0xc0004cbb10, 0x44dde5, 0xc000c10950) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:814 +0x127 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc001359120, 0xc0014d7ea0, 0x98efa0, 0xc2d4e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x40b github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:615 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc001359120, 0xc0014d7ea0, 0x106b360, 0x3, 0x3, 0x0, 0xc0004cbc88, 0x4eded3, 0xc0000b1500, 0x76db415e18066a3f, ...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc001359120, 0xc0014d7ea0, 0x13457a0, 0xcd4, 0xc0014d7ea0, 0xc000c10900) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:558 +0xda github.com/google/syzkaller/prog.(*randGen).generateCall(0xc001359120, 0xc0014d7ea0, 0xc001caf800, 0x2, 0xc001caf800, 0x0, 0xc0014d7ea0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:547 +0x95 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc0004cbe18, 0x14) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xfb github.com/google/syzkaller/prog.(*Prog).Mutate(0xc001caf800, 0x9888e0, 0xc0004314d0, 0x14, 0xc0002b8cc0, 0xc0001a5000, 0xa8, 0x100) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ee main.(*Proc).smashInput(0xc0002b8ec0, 0xc000c11300) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:213 +0x133 main.(*Proc).loop(0xc0002b8ec0) /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:288 +0x144f