// https://syzkaller.appspot.com/bug?id=f39a4688594152c928093aa43e008bee70b55ca4 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include long r[44]; void loop() { memset(r, -1, sizeof(r)); r[0] = syscall(__NR_mmap, 0x20000000ul, 0xfff000ul, 0x3ul, 0x32ul, 0xfffffffffffffffful, 0x0ul); r[1] = syscall(__NR_socket, 0x10ul, 0x3ul, 0x0ul); memcpy((void*)0x20493000, "\x26\x00\x00\x00\x13\x00\x47\xf1\x07\x01" "\xc1\xb0\x0e\x00\x00\x00\x00\x00\x00\x40" "\x01\x00\x00\x00\x09\xef\x18\xff\xff\x00" "\xf1\x32\x05\x00\x14\x00\x6e\x35", 38); r[3] = syscall(__NR_write, r[1], 0x20493000ul, 0x26ul); r[4] = syscall(__NR_socket, 0xaul, 0x1ul, 0x8010000000000084ul); *(uint16_t*)0x20186fe4 = (uint16_t)0xa; *(uint16_t*)0x20186fe6 = (uint16_t)0x204e; *(uint32_t*)0x20186fe8 = (uint32_t)0x0; *(uint8_t*)0x20186fec = (uint8_t)0x0; *(uint8_t*)0x20186fed = (uint8_t)0x0; *(uint8_t*)0x20186fee = (uint8_t)0x0; *(uint8_t*)0x20186fef = (uint8_t)0x0; *(uint8_t*)0x20186ff0 = (uint8_t)0x0; *(uint8_t*)0x20186ff1 = (uint8_t)0x0; *(uint8_t*)0x20186ff2 = (uint8_t)0x0; *(uint8_t*)0x20186ff3 = (uint8_t)0x0; *(uint8_t*)0x20186ff4 = (uint8_t)0x0; *(uint8_t*)0x20186ff5 = (uint8_t)0x0; *(uint8_t*)0x20186ff6 = (uint8_t)0x0; *(uint8_t*)0x20186ff7 = (uint8_t)0x0; *(uint8_t*)0x20186ff8 = (uint8_t)0x0; *(uint8_t*)0x20186ff9 = (uint8_t)0x0; *(uint8_t*)0x20186ffa = (uint8_t)0x0; *(uint8_t*)0x20186ffb = (uint8_t)0x0; *(uint32_t*)0x20186ffc = (uint32_t)0x0; r[25] = syscall(__NR_bind, r[4], 0x20186fe4ul, 0x1cul); r[26] = syscall(__NR_fcntl, r[4], 0x0ul, r[4]); *(uint32_t*)0x20474000 = (uint32_t)0x0; *(uint32_t*)0x20474004 = (uint32_t)0x7; r[29] = syscall(__NR_setsockopt, r[26], 0x84ul, 0x75ul, 0x20474000ul, 0x8ul); memcpy((void*)0x20ff8fff, "\xe1", 1); *(uint16_t*)0x2069ffe4 = (uint16_t)0xa; *(uint16_t*)0x2069ffe6 = (uint16_t)0x204e; *(uint32_t*)0x2069ffe8 = (uint32_t)0x0; *(uint64_t*)0x2069ffec = (uint64_t)0x0; *(uint64_t*)0x2069fff4 = (uint64_t)0x100000000000000; *(uint32_t*)0x2069fffc = (uint32_t)0x0; r[37] = syscall(__NR_sendto, r[26], 0x20ff8ffful, 0x1ul, 0x0ul, 0x2069ffe4ul, 0x1cul); *(uint32_t*)0x20dafff8 = (uint32_t)0x0; *(uint32_t*)0x20dafffc = (uint32_t)0x5; r[40] = syscall(__NR_setsockopt, r[26], 0x84ul, 0x76ul, 0x20dafff8ul, 0x8ul); *(uint32_t*)0x2018b000 = (uint32_t)0x0; *(uint32_t*)0x2018b004 = (uint32_t)0xfffffffffffffffe; r[43] = syscall(__NR_setsockopt, r[26], 0x84ul, 0x77ul, 0x2018b000ul, 0x8ul); } int main() { loop(); return 0; }