// https://syzkaller.appspot.com/bug?id=43bac8ff509b46a12f0555ba5446f55df0cf66dc // 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); intptr_t res = 0; res = syscall(__NR_socket, 0x10, 3, 0x10); if (res != -1) r[0] = res; *(uint64_t*)0x20000080 = 0; *(uint32_t*)0x20000088 = 0; *(uint64_t*)0x20000090 = 0x20000040; *(uint64_t*)0x20000040 = 0x20000380; *(uint32_t*)0x20000380 = 0x18; *(uint16_t*)0x20000384 = 0x2f; *(uint16_t*)0x20000386 = 0x3ff; *(uint32_t*)0x20000388 = 0; *(uint32_t*)0x2000038c = 0; *(uint8_t*)0x20000390 = 5; *(uint8_t*)0x20000391 = 0; *(uint16_t*)0x20000392 = 0x4000; *(uint16_t*)0x20000394 = 4; *(uint16_t*)0x20000396 = 3; *(uint64_t*)0x20000048 = 0x18; *(uint64_t*)0x20000098 = 1; *(uint64_t*)0x200000a0 = 0; *(uint64_t*)0x200000a8 = 0; *(uint32_t*)0x200000b0 = 0; syscall(__NR_sendmsg, r[0], 0x20000080, 0); return 0; }