madvise(&(0x7f0000000000/0x600000)=nil, 0x600003, 0x9) (async, rerun: 64) ptrace$setsig(0x4203, 0x0, 0x0, &(0x7f0000000140)={0x0, 0x0, 0xffffffff}) (async, rerun: 64) r6 = creat(&(0x7f0000000040)='./bus\x00', 0x0) ftruncate(r6, 0x800) panic: runtime error: floating point error [signal SIGFPE: floating-point exception code=0x80 addr=0x0 pc=0x46649c] goroutine 12 [running]: math/rand.(*Rand).Perm(0x970820, 0x132bc) /usr/local/go/src/math/rand/rand.go:218 +0x31 github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc02a3ab080, 0xc02a386dc0, 0x1206820, 0x38) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:890 +0x58 github.com/google/syzkaller/prog.(*ResourceType).generate(0x1206820, 0xc02a3ab080, 0x40ce34, 0x8) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:706 +0xd4 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc02a3ab080, 0xc02a386dc0, {0xcf2910, 0x1206820}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:694 +0x6b5 github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:644 github.com/google/syzkaller/prog.(*randGen).generateArgs(0x196d680, 0x0, {0x12fd0a0, 0x2, 0x2}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:632 +0x150 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc02a3ab080, 0xc02a386dc0, 0x196d680) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:584 +0x85 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc02a3ab080, 0xc02a386dc0, 0xc02a40eb40, 0xc02a386758) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:573 +0xb6 github.com/google/syzkaller/prog.(*mutator).insertCall(0xc001fb9e48) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:151 +0xd0 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc02a40eb40, {0xcdc090, 0xc02a2d82a0}, 0x1e, 0xc02dc8e000, 0xc0006903f0, {0xc02d26a000, 0x132bc, 0x17800}) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:48 +0x2c5 main.(*Proc).loop(0xc02dc8e040) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:95 +0x379 created by main.main /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:310 +0x15e5