// 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 int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); memcpy((void*)0x202b9ff8, "./file0", 8); memcpy((void*)0x20cbeff8, "./file0", 8); memcpy((void*)0x205f7ffa, "ramfs", 6); syscall(__NR_mount, 0x202b9ff8, 0x20cbeff8, 0x205f7ffa, 0, 0x2002f000); syscall(__NR_mprotect, 0x20159000, 0x600000, 0); return 0; }