// https://syzkaller.appspot.com/bug?id=1b1bd1b31a9f21b879865fb897133769e2de8a33 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); intptr_t res = 0; res = syscall(__NR_socket, 0x11, 0x4000000000002, 0x300); if (res != -1) r[0] = res; *(uint32_t*)0x20000000 = 2; syscall(__NR_setsockopt, r[0], 0x107, 0xa, 0x20000000, 4); *(uint32_t*)0x20000080 = 0x10000; *(uint32_t*)0x20000084 = 1; *(uint32_t*)0x20000088 = 0x10000; *(uint32_t*)0x2000008c = 1; *(uint32_t*)0x20000090 = 7; *(uint32_t*)0x20000094 = 0; *(uint32_t*)0x20000098 = 0; syscall(__NR_setsockopt, r[0], 0x107, 0xd, 0x20000080, 0x1c); return 0; }