ioctl$UFFDIO_UNREGISTER(r2, 0x8010aa01, &(0x7f0000000100)={&(0x7f0000bc3000/0x4000)=nil, 0x4000}) (async) syz_io_uring_setup(0x686a, &(0x7f00000003c0)={0x0, 0x0, 0x4}, &(0x7f0000000440), &(0x7f0000000480)) (async) close_range(r0, 0xffffffffffffffff, 0x0) panic: runtime error: floating point error [signal SIGFPE: floating-point exception code=0x80 addr=0x0 pc=0x50c35d] goroutine 29 [running]: math/rand.(*Rand).Perm(0xc1c34c?, 0xb864) /usr/local/go/src/math/rand/rand.go:238 +0x3d github.com/google/syzkaller/prog.(*randGen).resourceCentric(0xc012250360, 0xc0120f5090, 0x141eea0, 0x0?) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:945 +0x4c github.com/google/syzkaller/prog.(*ResourceType).generate(0x141eea0, 0xc012250360, 0x7fc20deec138?, 0x8?) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:760 +0x1f3 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe597e0?, 0x141eea0?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc0138229b0?, 0x4157d8?, {0x1b26dc0, 0x3, 0x3}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:676 +0x176 github.com/google/syzkaller/prog.(*StructType).generate(0x1601800, 0xc000532660?, 0xbc041e?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:880 +0x3f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59650?, 0x1601800?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc013822980?, 0x4157d8?, {0x1db7300, 0x4, 0x4}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:676 +0x176 github.com/google/syzkaller/prog.(*StructType).generate(0x1602ca0, 0xc000532660?, 0xc8aaa6?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:880 +0x3f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59650?, 0x1602ca0?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*randGen).generateArgs(0x7fc20dac9ee0?, 0x4157d8?, {0x187dee0, 0x2, 0x2}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:676 +0x176 github.com/google/syzkaller/prog.(*StructType).generate(0x1602520, 0xc000532660?, 0xc78765?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:880 +0x3f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59650?, 0x1602520?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*UnionType).generate(0x14c0c60, 0xc012250360, 0xbb60e9?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:893 +0xe5 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59718?, 0x14c0c60?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*ArrayType).generate(0x15ec500, 0xc012250360, 0x7fc25c9bb108?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:872 +0x229 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59588?, 0x15ec500?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*PtrType).generate(0x147d020, 0xc012250360, 0xba3409?, 0x5?) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:904 +0x7b github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe591a0?, 0x147d020?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xc01333b720?, 0x4157d8?, {0x2170c20, 0x9, 0x9}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:676 +0x176 github.com/google/syzkaller/prog.(*StructType).generate(0x16bef20, 0xc000532660?, 0xbcd5fe?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:880 +0x3f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59650?, 0x16bef20?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*randGen).generateArgs(0xb5daa0?, 0x4157d8?, {0x1b5bd40, 0x3, 0x3}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:676 +0x176 github.com/google/syzkaller/prog.(*StructType).generate(0x16beda0, 0xc000532660?, 0xbd3f57?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:880 +0x3f github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59650?, 0x16beda0?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*ArrayType).generate(0x15ecaa0, 0xc012250360, 0x0?, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:872 +0x229 github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe59588?, 0x15ecaa0?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*PtrType).generate(0x14a6460, 0xc012250360, 0x7fc20de12530?, 0x8?) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:904 +0x7b github.com/google/syzkaller/prog.(*randGen).generateArgImpl(0xc012250360, 0xc0120f5090, {0xe591a0?, 0x14a6460?}, 0x0, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:738 +0x5bf github.com/google/syzkaller/prog.(*randGen).generateArg(...) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:688 github.com/google/syzkaller/prog.(*randGen).generateArgs(0x1cd0580?, 0x0?, {0x1db0680, 0x4, 0x4}, 0x0) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:676 +0x176 github.com/google/syzkaller/prog.(*randGen).generateParticularCall(0xc012250360, 0xc0120f5090?, 0x1cd0580) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:601 +0x88 github.com/google/syzkaller/prog.(*randGen).generateCall(0xc012250360, 0xc0120f5090, 0xc02069d700?, 0x30?) /syzkaller/gopath/src/github.com/google/syzkaller/prog/rand.go:590 +0xba github.com/google/syzkaller/prog.(*mutator).insertCall(0xc0133cbd60) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:152 +0xb6 github.com/google/syzkaller/prog.(*Prog).Mutate(0xc02069d700, {0xe4ef28?, 0xc01a33ce10}, 0x1e, 0xc01ba4e000, 0xc000088e70, {0xc016250000, 0xb864, 0xd800}) /syzkaller/gopath/src/github.com/google/syzkaller/prog/mutation.go:49 +0x293 main.(*Proc).smashInput(0xc01ba4ee00, 0xc01ddfdbc0) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:221 +0x165 main.(*Proc).loop(0xc01ba4ee00) /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/proc.go:78 +0xf2 created by main.main in goroutine 1 /syzkaller/gopath/src/github.com/google/syzkaller/syz-fuzzer/fuzzer.go:336 +0x1665