// https://syzkaller.appspot.com/bug?id=94f0cce53da07178a94265fc34e945095df28928 // 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); long res = 0; res = syscall(__NR_socket, 0x10, 3, 6); if (res != -1) r[0] = res; *(uint64_t*)0x20000100 = 0x20f4dff4; *(uint16_t*)0x20f4dff4 = 0x10; *(uint16_t*)0x20f4dff6 = 0; *(uint32_t*)0x20f4dff8 = 0; *(uint32_t*)0x20f4dffc = 0; *(uint32_t*)0x20000108 = 0x4d9; *(uint64_t*)0x20000110 = 0x20000040; *(uint64_t*)0x20000040 = 0x20000080; *(uint32_t*)0x20000080 = 0x15c; *(uint16_t*)0x20000084 = 0x17; *(uint16_t*)0x20000086 = 1; *(uint32_t*)0x20000088 = 0; *(uint32_t*)0x2000008c = 0; *(uint8_t*)0x20000090 = 0; *(uint8_t*)0x20000091 = 0; *(uint8_t*)0x20000092 = 0; *(uint8_t*)0x20000093 = 0; *(uint8_t*)0x20000094 = 0; *(uint8_t*)0x20000095 = 0; *(uint8_t*)0x20000096 = 0; *(uint8_t*)0x20000097 = 0; *(uint8_t*)0x20000098 = 0; *(uint8_t*)0x20000099 = 0; *(uint8_t*)0x2000009a = -1; *(uint8_t*)0x2000009b = -1; *(uint32_t*)0x2000009c = htobe32(0xe0000001); *(uint8_t*)0x200000a0 = 0xfe; *(uint8_t*)0x200000a1 = 0x80; *(uint8_t*)0x200000a2 = 0; *(uint8_t*)0x200000a3 = 0; *(uint8_t*)0x200000a4 = 0; *(uint8_t*)0x200000a5 = 0; *(uint8_t*)0x200000a6 = 0; *(uint8_t*)0x200000a7 = 0; *(uint8_t*)0x200000a8 = 0; *(uint8_t*)0x200000a9 = 0; *(uint8_t*)0x200000aa = 0; *(uint8_t*)0x200000ab = 0; *(uint8_t*)0x200000ac = 0; *(uint8_t*)0x200000ad = 0; *(uint8_t*)0x200000ae = 0; *(uint8_t*)0x200000af = 0; *(uint16_t*)0x200000b0 = htobe16(0); *(uint16_t*)0x200000b2 = htobe16(0); *(uint16_t*)0x200000b4 = htobe16(0); *(uint16_t*)0x200000b6 = htobe16(0); *(uint16_t*)0x200000b8 = 0; *(uint8_t*)0x200000ba = 0; *(uint8_t*)0x200000bb = 0; *(uint8_t*)0x200000bc = 0; *(uint32_t*)0x200000c0 = 0; *(uint32_t*)0x200000c4 = 0; *(uint32_t*)0x200000c8 = 0; *(uint8_t*)0x200000cc = 0; *(uint16_t*)0x200000d0 = 0x10c; *(uint16_t*)0x200000d2 = 0x11; *(uint64_t*)0x20000048 = 0x15c; *(uint64_t*)0x20000118 = 1; *(uint64_t*)0x20000120 = 0; *(uint64_t*)0x20000128 = 0; *(uint32_t*)0x20000130 = 0; syscall(__NR_sendmsg, r[0], 0x20000100, 0); return 0; }