syzbot


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

Status: auto-closed as invalid on 2021/02/19 01:32
First crash: 1445d, last: 1445d
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 (2) 3 1227d 1329d 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 1140d 1151d 0/2 auto-closed as invalid on 2022/02/18 23:48
linux-4.14 panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF 1 1480d 1480d 0/1 auto-closed as invalid on 2021/03/15 18:49
linux-4.19 panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF 1 1257d 1257d 0/1 auto-closed as invalid on 2021/10/25 09:41

Sample crash report:
socket$bt_hidp(0x1f, 0x3, 0x6)
sendmsg$AUDIT_SET_FEATURE(r1, &(0x7f0000000100)={&(0x7f0000000000)={0x10, 0x0, 0x0, 0x840c036}, 0xc, &(0x7f00000000c0)={&(0x7f0000000080)={0x20, 0x3fa, 0x2, 0x70bd27, 0x25dfdbfd, {0x1, 0x1}, ["", "", "", ""]}, 0x20}, 0x1, 0x0, 0x0, 0x4004008}, 0x40000)
panic: failed to create a resource ifindex with ioctl$sock_SIOCGIFCONF, ioctl$sock_SIOCGIFCONF

goroutine 49 [running]:
github.com/google/syzkaller/prog.(*randGen).createResource(0xc0053b4680, 0xc0055ce0a0, 0xfdcd80, 0x7cc1668bf6119300, 0xc002277660, 0x4f7b0f, 0xc004b3fdd0, 0x7cc1668bf61193b1, 0x7ffffffc00000000)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:420 +0x956
github.com/google/syzkaller/prog.(*ResourceType).generate(0xfdcd80, 0xc0053b4680, 0xc0055ce0a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:683 +0x289
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0053b4680, 0xc0055ce0a0, 0xbcfd60, 0xfdcd80, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x3f8
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(0xc0053b4680, 0xc0055ce0a0, 0x19b1780, 0x16, 0x16, 0xc000fb6f00, 0x41291b, 0xc002277928, 0x1f686e75, 0x81536d97c58603e3, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179
github.com/google/syzkaller/prog.(*StructType).generate(0x1072040, 0xc0053b4680, 0xc0055ce0a0, 0x0, 0x1b62520, 0x8, 0x8, 0xc002277970, 0x4f7793)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:795 +0x7c
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0053b4680, 0xc0055ce0a0, 0xbcfe40, 0x1072040, 0x400000, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x3f8
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(0x1009900, 0xc0053b4680, 0xc0055ce0a0, 0x0, 0xbc9ea0, 0xc001969ef0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:812 +0x123
github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc0053b4680, 0xc0055ce0a0, 0xbcfc80, 0x1009900, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:665 +0x3f8
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(0xc0053b4680, 0xc0055ce0a0, 0x13867e0, 0x3, 0x3, 0xc004432000, 0xefd, 0xefd, 0x1c6d, 0x76, ...)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:603 +0x179
github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc0053b4680, 0xc0055ce0a0, 0x15e4b60, 0x76, 0xc0055ce0a0, 0xc000fb6d40)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:558 +0xd5
github.com/google/syzkaller/prog.(*randGen).generateCall(0xc0053b4680, 0xc0055ce0a0, 0xc000fb6380, 0x4, 0xc000fb6380, 0xc000fb63c0, 0xc0055ce0a0)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:547 +0x95
github.com/google/syzkaller/prog.(*mutator).insertCall(0xc002277e18, 0x14)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:141 +0xf2
github.com/google/syzkaller/prog.(*Prog).Mutate(0xc000fb6380, 0xbc3220, 0xc004b3fdd0, 0x14, 0xc0000892c0, 0xc001d96000, 0x49c, 0x500)
	/syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:45 +0x2ea
main.(*Proc).smashInput(0xc004bea480, 0xc0009f5550)
	/syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:213 +0x131
main.(*Proc).loop(0xc004bea480)
	/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:282 +0x1262

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/12/21 01:25 linux-next 0d52778b8710 04201c06 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.