// https://syzkaller.appspot.com/bug?id=7f866c2900115a0d6fdec39193d118c3b9312b95 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include int main(void) { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); memcpy((void*)0x200000c0, "./file0", 8); syscall(SYS_wstat, 0x200000c0, 8, 0x20000100, 0xd4, 0); return 0; }