// https://syzkaller.appspot.com/bug?id=004b0f7b61d4901cbfecfc33de7996e8cbe0a278 // 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() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); long res = 0; res = syscall(__NR_socket, 0x2b, 1, 0); if (res != -1) r[0] = res; *(uint64_t*)0x20000240 = 0x20000100; *(uint16_t*)0x20000100 = 0x10; *(uint16_t*)0x20000102 = 0; *(uint32_t*)0x20000104 = 0; *(uint32_t*)0x20000108 = 0x20000800; *(uint32_t*)0x20000248 = 0xc; *(uint64_t*)0x20000250 = 0x20000200; *(uint64_t*)0x20000200 = 0x20000180; *(uint32_t*)0x20000180 = 0x70; *(uint16_t*)0x20000184 = 0; *(uint16_t*)0x20000186 = 0x400; *(uint32_t*)0x20000188 = 0x70bd28; *(uint32_t*)0x2000018c = 0x25dfdbfd; *(uint8_t*)0x20000190 = 0xa; *(uint8_t*)0x20000191 = 0; *(uint16_t*)0x20000192 = 0; *(uint16_t*)0x20000194 = 0x1c; *(uint16_t*)0x20000196 = 2; *(uint16_t*)0x20000198 = 8; *(uint16_t*)0x2000019a = 5; *(uint32_t*)0x2000019c = 0; *(uint16_t*)0x200001a0 = 8; *(uint16_t*)0x200001a2 = 2; *(uint16_t*)0x200001a4 = htobe16(0x4e22); *(uint16_t*)0x200001a8 = 8; *(uint16_t*)0x200001aa = 6; *(uint32_t*)0x200001ac = 7; *(uint16_t*)0x200001b0 = 8; *(uint16_t*)0x200001b2 = 6; *(uint32_t*)0x200001b4 = 5; *(uint16_t*)0x200001b8 = 0x30; *(uint16_t*)0x200001ba = 2; *(uint16_t*)0x200001bc = 0x14; *(uint16_t*)0x200001be = 1; *(uint8_t*)0x200001c0 = 0xfe; *(uint8_t*)0x200001c1 = 0x80; *(uint8_t*)0x200001c2 = 0; *(uint8_t*)0x200001c3 = 0; *(uint8_t*)0x200001c4 = 0; *(uint8_t*)0x200001c5 = 0; *(uint8_t*)0x200001c6 = 0; *(uint8_t*)0x200001c7 = 0; *(uint8_t*)0x200001c8 = 0; *(uint8_t*)0x200001c9 = 0; *(uint8_t*)0x200001ca = 0; *(uint8_t*)0x200001cb = 0; *(uint8_t*)0x200001cc = 0; *(uint8_t*)0x200001cd = 0; *(uint8_t*)0x200001ce = 0; *(uint8_t*)0x200001cf = 0xbb; *(uint16_t*)0x200001d0 = 8; *(uint16_t*)0x200001d2 = 2; *(uint16_t*)0x200001d4 = htobe16(0x4e24); *(uint16_t*)0x200001d8 = 8; *(uint16_t*)0x200001da = 8; *(uint32_t*)0x200001dc = 0x7fff; *(uint16_t*)0x200001e0 = 8; *(uint16_t*)0x200001e2 = 7; *(uint32_t*)0x200001e4 = 2; *(uint16_t*)0x200001e8 = 8; *(uint16_t*)0x200001ea = 4; *(uint32_t*)0x200001ec = 2; *(uint64_t*)0x20000208 = 0x70; *(uint64_t*)0x20000258 = 1; *(uint64_t*)0x20000260 = 0; *(uint64_t*)0x20000268 = 0; *(uint32_t*)0x20000270 = 0; syscall(__NR_sendmsg, r[0], 0x20000240, 0x20000000); return 0; }