// https://syzkaller.appspot.com/bug?id=ad9a67ce8ed34b2de8e2a0f7db9cc95e19fdff76 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); long res = 0; memcpy((void*)0x20000000, "/proc/self/ns", 14); res = syscall(SYS_openat, 0xffffffffffffff9c, 0x20000000, 0xe, 1, 0); if (res != -1) r[0] = res; syscall(SYS_read, r[0], 0, 0); return 0; }