// https://syzkaller.appspot.com/bug?id=adcd3457fd7a4b4d8855dd13f790ab533a8c31c0 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x1012ul, -1, 0ul); intptr_t res = 0; res = syscall(SYS_socket, 2ul, 2ul, 0x88); if (res != -1) r[0] = res; *(uint32_t*)0x20000280 = r[0]; *(uint64_t*)0x20000288 = 6; *(uint64_t*)0x20000290 = 0; *(uint64_t*)0x20000298 = 0; *(uint32_t*)0x200002a0 = 7; *(uint32_t*)0x200002a4 = 0; *(uint64_t*)0x200002a8 = 0x100000001; *(uint32_t*)0x200002b0 = 5; *(uint32_t*)0x200002b4 = 4; *(uint64_t*)0x200002b8 = 9; *(uint64_t*)0x200002c0 = 2; *(uint64_t*)0x200002c8 = 0; *(uint32_t*)0x200002d0 = 4; *(uint32_t*)0x200002d4 = 3; *(uint64_t*)0x200002d8 = 8; *(uint32_t*)0x200002e0 = 0; syscall(SYS_aio_read, 0x20000280ul); syscall(SYS_shutdown, r[0], 0ul); return 0; }