// https://syzkaller.appspot.com/bug?id=1b1bd1b31a9f21b879865fb897133769e2de8a33 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include long r[5]; void loop() { memset(r, -1, sizeof(r)); r[0] = syscall(__NR_mmap, 0x20000000ul, 0xfff000ul, 0x3ul, 0x32ul, 0xfffffffffffffffful, 0x0ul); r[1] = syscall(__NR_socket, 0x11ul, 0x802ul, 0x1000000001ul); *(uint32_t*)0x20fbc000 = (uint32_t)0x2; r[3] = syscall(__NR_setsockopt, r[1], 0x107ul, 0xaul, 0x20fbc000ul, 0x4ul); r[4] = syscall(__NR_setsockopt, r[1], 0x107ul, 0xdul, 0x20001000ul, 0x47eul); } int main() { loop(); return 0; }