// https://syzkaller.appspot.com/bug?id=f0c1edfec33e7103fd690a0972852029ca3bac6c // 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, 2, 0x4000000000000001, 0); if (res != -1) r[0] = res; *(uint16_t*)0x20000240 = 2; *(uint16_t*)0x20000242 = htobe16(0x4e23); *(uint32_t*)0x20000244 = htobe32(0xe0000001); syscall(__NR_bind, r[0], 0x20000240, 0x10); *(uint16_t*)0x20e68000 = 2; *(uint16_t*)0x20e68002 = htobe16(0x4e23); *(uint32_t*)0x20e68004 = htobe32(0x7f000001); syscall(__NR_sendto, r[0], 0, 0xfffffffffffffe43, 0x2004073c, 0x20e68000, 0x25); return 0; }