syzbot


panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF

Status: auto-closed as invalid on 2021/03/15 18:49
Reported-by: syzbot+3ba25e4556a584440d6f@syzkaller.appspotmail.com
First crash: 1468d, last: 1468d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF 1 1433d 1433d 0/28 auto-closed as invalid on 2021/02/19 01:32
upstream panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF (2) 3 1214d 1317d 0/28 auto-closed as invalid on 2021/10/25 13:45
android-54 panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF 2 1128d 1138d 0/2 auto-closed as invalid on 2022/02/18 23:48
linux-4.19 panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF 1 1245d 1245d 0/1 auto-closed as invalid on 2021/10/25 09:41

Sample crash report:
sendmsg$IPVS_CMD_DEL_DEST(0xffffffffffffffff, 0x0, 0x88)
clock_getres(0x4, &(0x7f0000000180))
bpf$BPF_GET_BTF_INFO(0xf, &(0x7f0000000100)={0xffffffffffffffff, 0x10, &(0x7f00000000c0)={&(0x7f0000000000)=""/154, 0x9a}}, 0x10)
syz_genetlink_get_family_id$devlink(&(0x7f0000000340)='devlink\x00')
panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF

goroutine 35 [running]:
github.com/google/syzkaller/prog.(*randGen).createResource(0xc000ebb500, 0xc004e69950, 0xf303e0, 0x40cd00, 0x10, 0x8cf660, 0x8cf601, 0xc000da3c60, 0xc000f24988)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:421 +0x956
github.com/google/syzkaller/prog.(*ResourceType).generate(0xf303e0, 0xc000ebb500, 0xc004e69950, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:672 +0x289
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4cfa0, 0xf303e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc000ebb500, 0xc004e69950, 0x14a7a80, 0x4, 0x4, 0x203000, 0x41291b, 0xc000f24c28, 0x9f4b513e, 0x58d7321ca1aff3f8, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:592 +0x179
github.com/google/syzkaller/prog.(*StructType).generate(0x102cda0, 0xc000ebb500, 0xc004e69950, 0x0, 0x1aa2a40, 0xc000d96d80, 0x0, 0xc000f24c70, 0x4f7763)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:784 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4d080, 0x102cda0, 0x410000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*UnionType).generate(0xf6f820, 0xc000ebb500, 0xc004e69950, 0x0, 0x1aa2a40, 0xc000d96d80, 0x0, 0xc00002c000, 0xc000f24e10)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:792 +0xd4
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4d160, 0xf6f820, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*ArrayType).generate(0x1162a60, 0xc000ebb500, 0xc004e69950, 0x0, 0xb47220, 0xc000d96d00, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:776 +0x180
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4c7c0, 0x1162a60, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc000ebb500, 0xc004e69950, 0x17ce1e0, 0x7, 0x7, 0x0, 0x41291b, 0xc000f251a8, 0x9f4b513e, 0xf7dd6bbbcb5fb0a6, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:592 +0x179
github.com/google/syzkaller/prog.(*StructType).generate(0x10215e0, 0xc000ebb500, 0xc004e69950, 0x0, 0x1aa2a40, 0x0, 0xc000f251f0, 0xc000f251f0, 0x4f7763)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:784 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4d080, 0x10215e0, 0x200000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*PtrType).generate(0xf5d7a0, 0xc000ebb500, 0xc004e69950, 0x0, 0x20, 0xc000d96ca0, 0x0, 0x0, 0xc00003e380)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:801 +0x123
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4cec0, 0xf5d7a0, 0xc000d90000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc000ebb500, 0xc004e69950, 0x1189e20, 0x2, 0x2, 0xc000dab300, 0x41291b, 0xc000f25568, 0x9f4b513e, 0x8a8d963bca879bf8, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:592 +0x179
github.com/google/syzkaller/prog.(*StructType).generate(0xfff260, 0xc000ebb500, 0xc004e69950, 0x0, 0x1aa2a40, 0x1b7, 0xc000f25628, 0xc000f255b0, 0x4f7763)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:784 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4d080, 0xfff260, 0x400000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*PtrType).generate(0xf5d7e0, 0xc000ebb500, 0xc004e69950, 0x0, 0xb471a0, 0xc000da3b70, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:801 +0x123
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4cec0, 0xf5d7e0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc000ebb500, 0xc004e69950, 0x1867d80, 0x9, 0x9, 0x0, 0x41291b, 0xc000f25928, 0x9f4b513e, 0xfc9bd8d9750f1b, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:592 +0x179
github.com/google/syzkaller/prog.(*StructType).generate(0x1014e60, 0xc000ebb500, 0xc004e69950, 0x0, 0x1aa2a40, 0xc00000ca00, 0x7a8330, 0xc000f25970, 0x4f7763)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:784 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4d080, 0x1014e60, 0x200000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*PtrType).generate(0xf5d820, 0xc000ebb500, 0xc004e69950, 0x0, 0xb472a0, 0xc000910990, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:801 +0x123
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc000ebb500, 0xc004e69950, 0xb4cec0, 0xf5d820, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:654 +0x3f8
github.com/google/syzkaller/prog.(*randGen).generateArg(...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:604
github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc000ebb500, 0xc004e69950, 0x130f380, 0x3, 0x3, 0xc004670000, 0xee7, 0xee7, 0x3b2a, 0xa5a, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:592 +0x179
github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc000ebb500, 0xc004e69950, 0x15b0b80, 0xa5a, 0xc004e69950, 0xc000d96ac0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:547 +0xd5
github.com/google/syzkaller/prog.(*randGen).generateCall(0xc000ebb500, 0xc004e69950, 0xc000ed4400, 0x4, 0xc000ed4400, 0x0, 0xc004e69950)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:536 +0x95
github.com/google/syzkaller/prog.(*mutator).insertCall(0xc000f25e18, 0x14)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2
github.com/google/syzkaller/prog.(*Prog).Mutate(0xc000ed4400, 0xb405a0, 0xc00492b2c0, 0x14, 0xc000082d40, 0xc0002d0000, 0x26a, 0x400)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea
main.(*Proc).smashInput(0xc004936200, 0xc004fb62f0)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:213 +0x131
main.(*Proc).loop(0xc004936200)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:78 +0x1d7
created by main.main
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:278 +0x1258

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/15 18:49 linux-4.14.y 27ce4f2a6817 1bf9a662 .config console log report info ci2-linux-4-14
* Struck through repros no longer work on HEAD.