// https://syzkaller.appspot.com/bug?id=78e8460a870f00d570c822bd01415f72bbf47ab3 // 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, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); memcpy((void*)0x20000100, "./file0\000", 8); syscall(__NR_mkdir, 0x20000100ul, 0ul); memcpy((void*)0x200007c0, "./file0/file0\000", 14); syscall(__NR_creat, 0x200007c0ul, 0xcfe61bb2c1a5bbe1ul); memcpy((void*)0x20000240, "./file0\000", 8); memcpy((void*)0x20000040, "./file0\000", 8); memcpy((void*)0x20000180, "incremental-fs\000", 15); syscall(__NR_mount, 0x20000240ul, 0x20000040ul, 0x20000180ul, 0ul, 0ul); memcpy((void*)0x20000300, "./file0/file0\000", 14); syscall(__NR_chown, 0x20000300ul, 0, 0); return 0; }