// https://syzkaller.appspot.com/bug?id=540557aac4414d66fca7067d9b32f835363f5664 // 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, 0xa, 0x802, 0); if (res != -1) r[0] = res; *(uint16_t*)0x20000640 = 0xa; *(uint16_t*)0x20000642 = htobe16(0x4e22); *(uint32_t*)0x20000644 = 0; *(uint8_t*)0x20000648 = -1; *(uint8_t*)0x20000649 = 1; *(uint8_t*)0x2000064a = 0; *(uint8_t*)0x2000064b = 0; *(uint8_t*)0x2000064c = 0; *(uint8_t*)0x2000064d = 0; *(uint8_t*)0x2000064e = 0; *(uint8_t*)0x2000064f = 0; *(uint8_t*)0x20000650 = 0; *(uint8_t*)0x20000651 = 0; *(uint8_t*)0x20000652 = 0; *(uint8_t*)0x20000653 = 0; *(uint8_t*)0x20000654 = 0; *(uint8_t*)0x20000655 = 0; *(uint8_t*)0x20000656 = 0; *(uint8_t*)0x20000657 = 1; *(uint32_t*)0x20000658 = 0; syscall(__NR_sendto, r[0], 0x20000980, 0xfe03, 0, 0x20000640, 0x1c); *(uint32_t*)0x20000600 = 0; *(uint32_t*)0x20000604 = 0; *(uint32_t*)0x20000608 = 0; *(uint32_t*)0x2000060c = 0; *(uint32_t*)0x20000610 = 0; *(uint32_t*)0x20000614 = 0xa10; } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }