// https://syzkaller.appspot.com/bug?id=2668718853a3764ffe6976db2451c75e34780d67 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include int main(void) { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); memcpy((void*)0x20027000, "./file0", 8); syscall(__NR_mkdir, 0x20027000, 0); syscall(__NR_clone, 0x20002100, 0, 0x9999999999999999, 0x20000340, -1); memcpy((void*)0x20001a40, "./file0", 8); memcpy((void*)0x20001a80, "./file0", 8); memcpy((void*)0x20001ac0, "9p", 3); memcpy((void*)0x20000380, "trans=unix,", 11); *(uint8_t*)0x2000038b = 0; syscall(__NR_mount, 0x20001a40, 0x20001a80, 0x20001ac0, 0, 0x20000380); return 0; }