// https://syzkaller.appspot.com/bug?id=908e979198858d1e07b38c4db2600bc20551b15e // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include long r[11]; void loop() { memset(r, -1, sizeof(r)); r[0] = syscall(__NR_mmap, 0x20000000ul, 0xfff000ul, 0x3ul, 0x32ul, 0xfffffffffffffffful, 0x0ul); r[1] = syscall(__NR_socketpair, 0x8000000000001eul, 0x2ul, 0x0ul, 0x20000000ul); if (r[1] != -1) r[2] = *(uint32_t*)0x20000000; *(uint32_t*)0x20165fe4 = (uint32_t)0xffffffffffff0001; *(uint32_t*)0x20165fe8 = (uint32_t)0x5; *(uint32_t*)0x20165fec = (uint32_t)0x6; *(uint32_t*)0x20165ff0 = (uint32_t)0x1ff; *(uint32_t*)0x20165ff4 = (uint32_t)0x1f; *(uint32_t*)0x20165ff8 = (uint32_t)0x9; *(uint32_t*)0x20165ffc = (uint32_t)0x3; r[10] = syscall(__NR_setsockopt, r[2], 0x10ful, 0x87ul, 0x20165fe4ul, 0x1cul); } int main() { loop(); return 0; }