// https://syzkaller.appspot.com/bug?id=c9f6f4fc0e9a5988e1b81d625586bb61d08e7bbf // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; void loop() { long res = 0; res = syscall(__NR_socket, 0x10, 0x200000000002, 0xc); if (res != -1) r[0] = res; memcpy((void*)0x20000080, "\x1f\x00\x00\x00\x00\x07\xfd\x02\x01\x0c\x00\xf6\x00\x00\xff\x00\x81" "\x09\xf8\x00\x09\x00\x01\x80\x06\xe5\x44\xec\x00\x00\x00\xa8\x22\x5e" "\x78\xb1\xae\x55\x32\xe4\x8a\x50\xbb\xb7\xd5\x6d\x06\x93\x83\x52\xc9" "\xd2\xd8\x5e\x72\xdb\x94\x9e\xf5\x1d\x4f\x31\xa0\x76\xcc\x46\xc0\x35" "\x81\x1b\x3e\x74\x92\xcb\x8e\x58\xb3\xb5\x57\x79\xf7\x10\xef\xa2\x3a" "\x8a\x55\xb2\x4b\xf4\x2a\x0e\xd4\xa0\x60\x73\x75\xfa\xd0\x3e\x96\x0e" "\x38\x99\xb6\x1f\x00\x40\xf9\xfa\xbb\x48\x59\x00\x00\x00\x00\x00\x00" "\x00\x00\x00\x00", 123); syscall(__NR_write, r[0], 0x20000080, 0x7b); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }