// https://syzkaller.appspot.com/bug?id=062e9fde55f117bec30836a4ef1ef121f51faf23 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(SYS_mmap, 0x20000000ul, 0x1000000ul, 3ul, 0x1012ul, -1, 0ul); intptr_t res = 0; res = syscall(SYS_socket, 0x1cul, 2ul, 0ul); if (res != -1) r[0] = res; *(uint32_t*)0x200001c0 = 0; syscall(SYS_setsockopt, r[0], 0x29ul, 0x1bul, 0x200001c0ul, 4ul); *(uint8_t*)0x20000100 = 0x1c; *(uint8_t*)0x20000101 = 0x1c; *(uint16_t*)0x20000102 = htobe16(0x4e21); *(uint32_t*)0x20000104 = 0; *(uint8_t*)0x20000108 = 0; *(uint8_t*)0x20000109 = 0; *(uint8_t*)0x2000010a = 0; *(uint8_t*)0x2000010b = 0; *(uint8_t*)0x2000010c = 0; *(uint8_t*)0x2000010d = 0; *(uint8_t*)0x2000010e = 0; *(uint8_t*)0x2000010f = 0; *(uint8_t*)0x20000110 = 0; *(uint8_t*)0x20000111 = 0; *(uint8_t*)0x20000112 = -1; *(uint8_t*)0x20000113 = -1; *(uint8_t*)0x20000114 = 0xac; *(uint8_t*)0x20000115 = 0x14; *(uint8_t*)0x20000116 = 0; *(uint8_t*)0x20000117 = 0xaa; *(uint32_t*)0x20000118 = 0; syscall(SYS_sendto, r[0], 0ul, 0ul, 0ul, 0x20000100ul, 0x1cul); return 0; }