// https://syzkaller.appspot.com/bug?id=126ab667f003eed2434b03214c5fda3edafc0edb // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include static void execute_one(); void loop() { while (1) { execute_one(); } } void execute_one() { memcpy((void*)0x20002840, "./file0", 8); memcpy((void*)0x20002880, "./file0/../file0", 17); syscall(SYS_nunmount, 0x20002840, 8, 0x20002880, 0x11); memcpy((void*)0x200028c0, "./file0", 8); memcpy((void*)0x20002900, "./file0", 8); syscall(SYS_symlink, 0x200028c0, 8, 0x20002900, 8); } int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); for (;;) { loop(); } }