// https://syzkaller.appspot.com/bug?id=6599b79e52059759a0af877a925ae07482a3dd64 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_memfd_create #define __NR_memfd_create 319 #endif int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); memcpy((void*)0x20000280, "\x2d\x42\xd5\x4e\x49\xc5\x6a\xba\x70\x70\x70\xf0\x08\x84\xa2\x6d\x00" "\x3a\x29\x00\xbb\x8d\xac\xac\x76\x61\x7d\x6b\x6e\x68\x23\xcb\x29\x0f" "\xc8\xc0\x3a\x9c\x63\x10\x64\xee\xa9\x8b\x43\x63\xad\x89\x9c\x6b\xde" "\xc5\xe9\x36\xdd\x55\xa9\x3d\xcd\x4a\x78\xaa\x8f\x7e\xb9\x30\x61\xa9" "\xb2\x04\x4b\x98\x93\x3f\x88\x51\xf7\xd6\x1d\xa1\xce\x8b\x19\xea\xef" "\xe3\xab\xb6\xa5\x24\x34\xd6\xfe\x37\x0f\xe7\xd9\x24\xce\x20\xab\x4e" "\xae\xc9\xbd\xd3\x67\x40\xe1\x27\x73\x0e\x90\xf2\xcd\x72\xb8\x28", 118); syscall(__NR_memfd_create, 0x20000280, 0); syscall(__NR_mprotect, 0x20000000, 0x800000, 0); return 0; }