// 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*)0x20000000, "\x21\xbb\x00\xa4\x7e\xe1\x4e\x8f\x0e\x8b\x63\x30\x8b\x29\xa4\x1d\x80" "\xed\xd9\x05\xe8\xdd\x17\xe2\x72\x2f\x5c\xed\xa4\xb3\x3c\x4f\x8c\x37" "\x4c\xdd\xee\x3f\x82\x86\x36\xff\xa3\xd5\x4d\x5d\x4a\xfd\x9f\xa6\xc1" "\x15\xb6\x86\x0d\xb7\x6e\x30\x63\x66\x55\xff\x59\xba\x40\x8c\x9c\xe1" "\x06\x2c\x01\x2b\x19\x22\x87\xc6\x59\x55\x89\x3c\x93\xed\x23\x2f\xcd" "\x94\xfa\x29\x20\x63\x22\xc0\x25\x7c\x28\x5c\xaa\x67\x83\xad\x61\xc5" "\x97\x86\x83\x41\xd4\xe1\xba\xe7\x9e\x5f\x72\xd1\x9e\x55\x71\x24\x29" "\xa6\xa6\xe2\xf1\x7f\x52\x3e\x67\x05\x34\xc9\x93\x59\x1b\xab\xa6\x47" "\x59\xce\xe2\x07\xc9\xa6\x8c\xd9\xb0\x26\x5f\x91\x22\x5d\x10\x7d\xaa" "\x2c\x6a\x0d\x47\xe3\x38\x82\x82\x2a\x6e\xd9\x61\xe8\x31\xb1\x78\x71" "\xdf\xfa\x93\x76\x18\xd1\xc6\x04\x38\x56\x6e\xb7\x6a\xc8\x59\x7d\xf0" "\xe8\xf8\xbf\xde\x63\x69\xae\xd4\xf2\x26\x85\x0b\x3d\xb5\x06\x1c\x76" "\xf5\xb2\xee\x26\x7a\xf1\x6c\x0d\xee\x97\x13\x38", 216); syscall(SYS_pop_ctx, 0x20000000); } int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }