// https://syzkaller.appspot.com/bug?id=22f0492d03b751935b5b46248d5824c2cee3f069 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; void loop() { long res = 0; memcpy((void*)0x20000100, "/net/tcp/2/ctl", 15); res = syscall(SYS_openat, 0xffffffffffffff9c, 0x20000100, 0xf, 3, 0); if (res != -1) r[0] = res; syscall(SYS_write, r[0], 0x200000c0, 0xfffffeaf); } int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }