// https://syzkaller.appspot.com/bug?id=86b8cddfd4d88c131f1fc82b80ef4b32a8c1d350 // 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 = 0x20000000; *(uint64_t*)0x20000000 = 0x20000280; *(uint32_t*)0x20000280 = 0x14; *(uint16_t*)0x20000284 = 0x13; *(uint16_t*)0x20000286 = 0xfffb; *(uint32_t*)0x20000288 = 0; *(uint32_t*)0x2000028c = 0; *(uint8_t*)0x20000290 = 0x38; *(uint8_t*)0x20000291 = 0; *(uint16_t*)0x20000292 = 0; *(uint64_t*)0x20000008 = 0x14; *(uint64_t*)0x20000098 = 1; *(uint64_t*)0x200000a0 = 0x68; *(uint64_t*)0x200000a8 = 0; *(uint32_t*)0x200000b0 = 0; syscall(__NR_sendmsg, r[0], 0x20000080, 0); return 0; }