// https://syzkaller.appspot.com/bug?id=ff8075c322dbcdb3db60a56513cd58cfe83cfca9 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include #define __syscall syscall uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 3ul, 0x1012ul, -1, 0ul, 0ul); intptr_t res = 0; res = syscall(SYS_socket, 2ul, 0x10000000000003ul, 0x33); if (res != -1) r[0] = res; memcpy((void*)0x20000180, "\x82\x02\x06\xa5\xc8\xea\x69\xa0\x89\x7b\x77\x83\x00\x77\x57\xe8\x4e" "\x6d\xe9\x3b\x00\x00\x00\x00\x7b\xa1\x6f\xf2\xff\xe9\x07\x0a\xd1\x5e" "\xa2\x41\x21\xc5\xd8\x60\x4e\xaa\x5b\x14\x45\x72\xcf\xee\x36\xbf\x1b" "\x21\x79\x92\xdc\x5e\x60\xb2\xea\x6f\x1a\xe1\xf1\x74\x3c\x6a\xd1\x6a" "\xfe\xc6\x08\x12\x95\x07\x55\xbe\xc7\x3b\x15\xaf\x75\xfc\xab\x91\xd9" "\x38\xba\xc2\x27\xdb\xfd", 91); syscall(SYS_connect, r[0], 0x20000180ul, 0x10ul); *(uint64_t*)0x20000340 = 0; *(uint64_t*)0x20000348 = 0; syscall(SYS_writev, r[0], 0x20000340ul, 1ul); return 0; }