// https://syzkaller.appspot.com/bug?id=9a331870806c3441070b5526561a5f81fe70acbd // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include long r[81]; void loop() { memset(r, -1, sizeof(r)); r[0] = syscall(__NR_mmap, 0x20000000ul, 0xfff000ul, 0x3ul, 0x32ul, 0xfffffffffffffffful, 0x0ul); r[1] = syscall(__NR_socket, 0xaul, 0x2ul, 0x0ul); *(uint32_t*)0x20000f18 = (uint32_t)0x10000e0; *(uint32_t*)0x20000f28 = (uint32_t)0x100007f; *(uint16_t*)0x20000f38 = (uint16_t)0x204e; *(uint16_t*)0x20000f3a = (uint16_t)0x0; *(uint16_t*)0x20000f3c = (uint16_t)0x204e; *(uint16_t*)0x20000f3e = (uint16_t)0x0; *(uint16_t*)0x20000f40 = (uint16_t)0xa; *(uint8_t*)0x20000f42 = (uint8_t)0x0; *(uint8_t*)0x20000f43 = (uint8_t)0x2; *(uint8_t*)0x20000f44 = (uint8_t)0x0; *(uint32_t*)0x20000f48 = (uint32_t)0x0; *(uint32_t*)0x20000f4c = (uint32_t)0x0; *(uint64_t*)0x20000f50 = (uint64_t)0x0; *(uint64_t*)0x20000f58 = (uint64_t)0x0; *(uint64_t*)0x20000f60 = (uint64_t)0x0; *(uint64_t*)0x20000f68 = (uint64_t)0x0; *(uint64_t*)0x20000f70 = (uint64_t)0x0; *(uint64_t*)0x20000f78 = (uint64_t)0x0; *(uint64_t*)0x20000f80 = (uint64_t)0x0; *(uint64_t*)0x20000f88 = (uint64_t)0x0; *(uint64_t*)0x20000f90 = (uint64_t)0x0; *(uint64_t*)0x20000f98 = (uint64_t)0x0; *(uint64_t*)0x20000fa0 = (uint64_t)0x0; *(uint64_t*)0x20000fa8 = (uint64_t)0x0; *(uint32_t*)0x20000fb0 = (uint32_t)0x0; *(uint32_t*)0x20000fb4 = (uint32_t)0x0; *(uint8_t*)0x20000fb8 = (uint8_t)0x1; *(uint8_t*)0x20000fb9 = (uint8_t)0x0; *(uint8_t*)0x20000fba = (uint8_t)0x0; *(uint8_t*)0x20000fbb = (uint8_t)0x0; *(uint32_t*)0x20000fc0 = (uint32_t)0x100007f; *(uint32_t*)0x20000fd0 = (uint32_t)0x0; *(uint8_t*)0x20000fd4 = (uint8_t)0x0; *(uint16_t*)0x20000fd8 = (uint16_t)0x0; *(uint8_t*)0x20000fdc = (uint8_t)0x0; *(uint8_t*)0x20000fdd = (uint8_t)0x0; *(uint8_t*)0x20000fde = (uint8_t)0x0; *(uint8_t*)0x20000fdf = (uint8_t)0x0; *(uint8_t*)0x20000fe0 = (uint8_t)0x0; *(uint8_t*)0x20000fe1 = (uint8_t)0x0; *(uint8_t*)0x20000fe2 = (uint8_t)0x0; *(uint8_t*)0x20000fe3 = (uint8_t)0x0; *(uint8_t*)0x20000fe4 = (uint8_t)0x0; *(uint8_t*)0x20000fe5 = (uint8_t)0x0; *(uint8_t*)0x20000fe6 = (uint8_t)0x0; *(uint8_t*)0x20000fe7 = (uint8_t)0x0; *(uint8_t*)0x20000fe8 = (uint8_t)0x0; *(uint8_t*)0x20000fe9 = (uint8_t)0x0; *(uint8_t*)0x20000fea = (uint8_t)0x0; *(uint8_t*)0x20000feb = (uint8_t)0x0; *(uint32_t*)0x20000fec = (uint32_t)0x0; *(uint8_t*)0x20000ff0 = (uint8_t)0x0; *(uint8_t*)0x20000ff1 = (uint8_t)0x0; *(uint8_t*)0x20000ff2 = (uint8_t)0x0; *(uint32_t*)0x20000ff4 = (uint32_t)0x0; *(uint32_t*)0x20000ff8 = (uint32_t)0x0; *(uint32_t*)0x20000ffc = (uint32_t)0x0; r[59] = syscall(__NR_setsockopt, r[1], 0x29ul, 0x23ul, 0x20000f18ul, 0xe8ul); *(uint16_t*)0x204e3fe4 = (uint16_t)0x2; *(uint16_t*)0x204e3fe6 = (uint16_t)0x204e; *(uint32_t*)0x204e3fe8 = (uint32_t)0x0; *(uint8_t*)0x204e3fec = (uint8_t)0x0; *(uint8_t*)0x204e3fed = (uint8_t)0x0; *(uint8_t*)0x204e3fee = (uint8_t)0x0; *(uint8_t*)0x204e3fef = (uint8_t)0x0; *(uint8_t*)0x204e3ff0 = (uint8_t)0x0; *(uint8_t*)0x204e3ff1 = (uint8_t)0x0; *(uint8_t*)0x204e3ff2 = (uint8_t)0x0; *(uint8_t*)0x204e3ff3 = (uint8_t)0x0; *(uint8_t*)0x204e3ff4 = (uint8_t)0x0; *(uint8_t*)0x204e3ff5 = (uint8_t)0x0; *(uint8_t*)0x204e3ff6 = (uint8_t)0x0; *(uint8_t*)0x204e3ff7 = (uint8_t)0x0; *(uint8_t*)0x204e3ff8 = (uint8_t)0x0; *(uint8_t*)0x204e3ff9 = (uint8_t)0x0; *(uint8_t*)0x204e3ffa = (uint8_t)0x0; *(uint8_t*)0x204e3ffb = (uint8_t)0x0; *(uint32_t*)0x204e3ffc = (uint32_t)0x0; r[80] = syscall(__NR_sendto, r[1], 0x20a9f000ul, 0x0ul, 0x0ul, 0x204e3fe4ul, 0x1cul); } int main() { loop(); return 0; }