// 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*)0x200000c0, "\x7d\xbf\x2a\x78\x89\x2d\x76\x4f\xd3\x4a\x55\x6b\x88\x4f\xc4\x4e\x1d" "\x39\x03\xc2\x56\x62\xe8\x2a\x6c\xdc\x43\xeb\xa6\xe4\x12\x24\xd1\xa3" "\x7a\x7a\x85\xf4\x1e\xcc\xfc\xf6\xb6\x5f\x5f\xca\xef\x1b\x9d\x0e\x50" "\x77\x1b\x4e\x5b\x81\x92\x15\x50\xc5\x0e\x06\x17\x08\xaf\x0a\x75\xd8" "\x44\x39\x7a\x9e\x52\x08\x6a\x68\xce\xa9\x6a\xda\xf8\x42\x84\x8d\x12" "\x2e\xeb\x95\x9a\x0a\xb2\x4d\xc7\xd1\x87\x4e\xc5\x4f\x73\x22\xfc\x0c" "\xfa\xfe", 104); syscall(__NR_memfd_create, 0x200000c0, 0); syscall(__NR_mprotect, 0x20000000, 0x800000, 0); return 0; }