// https://syzkaller.appspot.com/bug?id=722a6cc3ee739b323a78266bccef8691efb8bc10 // 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*)0x20000080, "/prof/.empty", 13); res = syscall(SYS_openat, 0xffffffffffffff9c, 0x20000080, 0xd, 3, 0); if (res != -1) r[0] = res; syscall(SYS_write, r[0], 0x9999999999999999, 0x724aa1195e376cac); return 0; }