// 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, 1, 0); if (res != -1) r[0] = res; *(uint64_t*)0x20000340 = 0x200000c0; *(uint16_t*)0x200000c0 = 0x18; *(uint32_t*)0x200000c2 = 2; *(uint16_t*)0x200000c6 = htobe16(1); *(uint8_t*)0x200000ca = 0xac; *(uint8_t*)0x200000cb = 0x14; *(uint8_t*)0x200000cc = 0x14; *(uint8_t*)0x200000cd = 0xbb; *(uint32_t*)0x20000348 = 0x80; *(uint64_t*)0x20000350 = 0x20000200; *(uint64_t*)0x20000200 = 0x20000000; *(uint64_t*)0x20000208 = 0; *(uint64_t*)0x20000210 = 0x20000140; *(uint64_t*)0x20000218 = 0; *(uint64_t*)0x20000358 = 2; *(uint64_t*)0x20000360 = 0x20000240; *(uint64_t*)0x20000240 = 0x10; *(uint32_t*)0x20000248 = 0x84; *(uint32_t*)0x2000024c = 7; *(uint64_t*)0x20000250 = 0x10; *(uint32_t*)0x20000258 = 0x113; *(uint32_t*)0x2000025c = 8; *(uint64_t*)0x20000368 = 0x20; *(uint32_t*)0x20000370 = 0x4000; syscall(__NR_sendmsg, r[0], 0x20000340, 0x20000000); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }