// https://syzkaller.appspot.com/bug?id=1b1bd1b31a9f21b879865fb897133769e2de8a33 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; void loop() { long res; res = syscall(__NR_socket, 0x11, 0x4000000000080003, 0); if (res != -1) r[0] = res; *(uint32_t*)0x206e8000 = 2; syscall(__NR_setsockopt, r[0], 0x107, 0xa, 0x206e8000, 4); syscall(__NR_setsockopt, r[0], 0x107, 0xd, 0x20001000, 0x1fd); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }