// https://syzkaller.appspot.com/bug?id=176a70590ebfd17c1e3d65c543580943188c20d7 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include void loop() { memcpy((void*)0x200016c0, "\x50\x05\x70\x85\x50\x65\x51\xa5\x00\xbd\x3c\x52\xa1\x43\x3c\x16\x89" "\xa5\xdc\x21\xb9\x88\x82\xe7\x76\x53\xa9\x74\xc4\xe5\x12\x0d\xa1\x2a" "\x66\x08\xbc\x95\x84\xdd\x59\x06\x4e\xb7\xe6\xde\x43\x4f\x55\x38\x40" "\x63\x44\x29\xac\xda\xb7\x4d\xd5\x84\x7b\xfb\xef\x92\xf3\x1b\x1c\xbf" "\x3c\x47\xbc\x9c\xe4\x95\xea\xba\xe9\x43\x7a\x66\xde\xb2\xd2\x55\xfa" "\x5d\x68\xcc\xfb\x2e\x80\xfc\xbe\x01\x4c\x06\xe6\x06\xcb\xce\xb7\x17" "\x00\x2b\xcf\xc9\x53\x86\xed\x65\x47\xf5\x01\x96\x1a\xa9\x2d\x43\xde" "\xbb\x08\x88\xea\x2b\x05\x5f\x3e\x76\x46\x38\x5f\x94\x7b\x68\xe3\x4c" "\x13\xd3\x89\xe4\xd8\x21\x79\x32\x78\xf5\x54\xe8\x35\x24\x31\xb6\x4b" "\xc1\x31\x9a\xec\xe5\xc0\xd2\xf7\xf2\x15\x42\x5c\x40\xca\xed\x2a\xd2" "\x2a\xb3\xc3\xef\x2c\x15\xca\x92\x7d\xce\x0a\x01\x8a\x73\xe1\x6f\x13" "\x5f\x11\x23\x4e\xc0\xa8\xbf\xdb\x8b\xb9\x41\xeb\x18\xdd\x50\x80\xdd" "\x6c\x10\x9a\x20\x3d\xbd\xd7\x11\xa2\xc9\x94\x89", 216); syscall(SYS_pop_ctx, 0x200016c0); } int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }