// https://syzkaller.appspot.com/bug?id=c7fd949e1dcb317375d8c795cbb5965420e0c12d // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); long res = 0; syscall(__NR_mmap, 0x2007d000, 0x4000, 2, 0x8132, -1, 0); syscall(__NR_mmap, 0x20b70000, 0x2000, 0xfffffffffffffffd, 0x101034, -1, 0); *(uint32_t*)0x200001c0 = 0xe8; syscall(__NR_getsockopt, -1, 0x29, 0x22, 0x200009c0, 0x200001c0); memcpy((void*)0x20000080, "cpu.stat", 9); res = syscall(__NR_openat, 0xffffff9c, 0x20000080, 0x275a, 0); if (res != -1) r[0] = res; syscall(__NR_ioctl, r[0], 0x6611); return 0; }