// https://syzkaller.appspot.com/bug?id=126ab667f003eed2434b03214c5fda3edafc0edb // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); memcpy((void*)0x20000140, "./file0", 8); memcpy((void*)0x20000180, "./file0", 8); syscall(SYS_symlink, 0x20000140, 8, 0x20000180, 8); memcpy((void*)0x20000280, "./file0/file0", 14); memcpy((void*)0x200002c0, "./file0", 8); syscall(SYS_nbind, 0x20000280, 0xe, 0x200002c0, 8, 1); return 0; }