// 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, 0x6000ul, 0x3ul, 0x32ul, 0xfffffffffffffffful, 0x0ul); r[1] = syscall(__NR_socketpair, 0x8000000000001eul, 0x2ul, 0x0ul, 0x20000000ul); if (r[1] != -1) r[2] = *(uint32_t*)0x20000000; *(uint32_t*)0x20001fe4 = (uint32_t)0x37b7; *(uint32_t*)0x20001fe8 = (uint32_t)0x21; *(uint32_t*)0x20001fec = (uint32_t)0x7; *(uint32_t*)0x20001ff0 = (uint32_t)0x8; *(uint32_t*)0x20001ff4 = (uint32_t)0x7; *(uint32_t*)0x20001ff8 = (uint32_t)0xffffffff00000000; *(uint32_t*)0x20001ffc = (uint32_t)0xc843; r[10] = syscall(__NR_setsockopt, r[2], 0x10ful, 0x87ul, 0x20001fe4ul, 0x1cul); } int main() { loop(); return 0; }