// https://syzkaller.appspot.com/bug?id=004b0f7b61d4901cbfecfc33de7996e8cbe0a278 // 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 = 0; res = syscall(__NR_socket, 0x2b, 0x801, 0); if (res != -1) r[0] = res; *(uint16_t*)0x20000c80 = 2; *(uint16_t*)0x20000c82 = htobe16(0x4e22); *(uint8_t*)0x20000c84 = 0xac; *(uint8_t*)0x20000c85 = 0x14; *(uint8_t*)0x20000c86 = 0x14; *(uint8_t*)0x20000c87 = 0xbb; *(uint8_t*)0x20000c88 = 0; *(uint8_t*)0x20000c89 = 0; *(uint8_t*)0x20000c8a = 0; *(uint8_t*)0x20000c8b = 0; *(uint8_t*)0x20000c8c = 0; *(uint8_t*)0x20000c8d = 0; *(uint8_t*)0x20000c8e = 0; *(uint8_t*)0x20000c8f = 0; syscall(__NR_sendto, r[0], 0x20000c40, 0, 0x24048880, 0x20000c80, 0x10); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }