// https://syzkaller.appspot.com/bug?id=922b64d383a6ce0cce80fc5b044f0ec9036a8d6b // 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; res = syscall(__NR_socket, 0xa, 1, 0x84); if (res != -1) r[0] = res; *(uint16_t*)0x2055bfe4 = 0xa; *(uint16_t*)0x2055bfe6 = htobe16(0x4e23); *(uint32_t*)0x2055bfe8 = htobe32(0); *(uint64_t*)0x2055bfec = htobe64(0); *(uint64_t*)0x2055bff4 = htobe64(1); *(uint32_t*)0x2055bffc = 0; syscall(__NR_setsockopt, r[0], 0x84, 0x6b, 0x2055bfe4, 0x1c); return 0; }