// https://syzkaller.appspot.com/bug?id=3567a0a3f7b3be10a4fcb3fa9dc3cff6c6171a74 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include long r[2]; void loop() { memset(r, -1, sizeof(r)); syscall(__NR_mmap, 0x20000000, 0xfff000, 3, 0x32, -1, 0); r[0] = syscall(__NR_socket, 0xa, 2, 0); *(uint16_t*)0x20e6f000 = 0xa; *(uint16_t*)0x20e6f002 = htobe16(0x4e22); *(uint32_t*)0x20e6f004 = 0; *(uint8_t*)0x20e6f008 = 0; *(uint8_t*)0x20e6f009 = 0; *(uint8_t*)0x20e6f00a = 0; *(uint8_t*)0x20e6f00b = 0; *(uint8_t*)0x20e6f00c = 0; *(uint8_t*)0x20e6f00d = 0; *(uint8_t*)0x20e6f00e = 0; *(uint8_t*)0x20e6f00f = 0; *(uint8_t*)0x20e6f010 = 0; *(uint8_t*)0x20e6f011 = 0; *(uint8_t*)0x20e6f012 = -1; *(uint8_t*)0x20e6f013 = -1; *(uint8_t*)0x20e6f014 = 0xac; *(uint8_t*)0x20e6f015 = 0x14; *(uint8_t*)0x20e6f016 = 0; *(uint8_t*)0x20e6f017 = 0xaa; *(uint32_t*)0x20e6f018 = 1; syscall(__NR_connect, r[0], 0x20e6f000, 0x1c); *(uint16_t*)0x20d94fe4 = 0xa; *(uint16_t*)0x20d94fe6 = htobe16(0x4e20); *(uint32_t*)0x20d94fe8 = 4; *(uint8_t*)0x20d94fec = 0xfe; *(uint8_t*)0x20d94fed = 0x80; *(uint8_t*)0x20d94fee = 0; *(uint8_t*)0x20d94fef = 0; *(uint8_t*)0x20d94ff0 = 0; *(uint8_t*)0x20d94ff1 = 0; *(uint8_t*)0x20d94ff2 = 0; *(uint8_t*)0x20d94ff3 = 0; *(uint8_t*)0x20d94ff4 = 0; *(uint8_t*)0x20d94ff5 = 0; *(uint8_t*)0x20d94ff6 = 0; *(uint8_t*)0x20d94ff7 = 0; *(uint8_t*)0x20d94ff8 = 0; *(uint8_t*)0x20d94ff9 = 0; *(uint8_t*)0x20d94ffa = 0; *(uint8_t*)0x20d94ffb = 0xaa; *(uint32_t*)0x20d94ffc = 9; syscall(__NR_connect, r[0], 0x20d94fe4, 0x1c); r[1] = syscall(__NR_socket, 0x18, 1, 1); *(uint16_t*)0x205fafd2 = 0x18; *(uint32_t*)0x205fafd4 = 1; *(uint32_t*)0x205fafd8 = 0; *(uint32_t*)0x205fafdc = r[0]; *(uint16_t*)0x205fafe0 = 2; *(uint16_t*)0x205fafe2 = htobe16(0x4e21); *(uint32_t*)0x205fafe4 = htobe32(0xe0000002); *(uint8_t*)0x205fafe8 = 0; *(uint8_t*)0x205fafe9 = 0; *(uint8_t*)0x205fafea = 0; *(uint8_t*)0x205fafeb = 0; *(uint8_t*)0x205fafec = 0; *(uint8_t*)0x205fafed = 0; *(uint8_t*)0x205fafee = 0; *(uint8_t*)0x205fafef = 0; *(uint32_t*)0x205faff0 = 4; *(uint32_t*)0x205faff4 = 0; *(uint32_t*)0x205faff8 = 2; *(uint32_t*)0x205faffc = 0; syscall(__NR_connect, r[1], 0x205fafd2, 0x2e); *(uint64_t*)0x20091f88 = 0x2016eff0; *(uint32_t*)0x20091f90 = 0x10; *(uint64_t*)0x20091f98 = 0x20778000; *(uint64_t*)0x20091fa0 = 4; *(uint64_t*)0x20091fa8 = 0x205af000; *(uint64_t*)0x20091fb0 = 0x60; *(uint32_t*)0x20091fb8 = 0x40; *(uint32_t*)0x20091fc0 = 0xbb; *(uint64_t*)0x20091fc4 = 0x20992000; *(uint32_t*)0x20091fcc = 0x10; *(uint64_t*)0x20091fd4 = 0x2087a000; *(uint64_t*)0x20091fdc = 8; *(uint64_t*)0x20091fe4 = 0x20000000; *(uint64_t*)0x20091fec = 0; *(uint32_t*)0x20091ff4 = 0x80; *(uint32_t*)0x20091ffc = 7; *(uint16_t*)0x2016eff0 = 3; memcpy((void*)0x2016eff2, "\x2c\xaf\x1b\xf4\x5b\xea\xe5", 7); *(uint32_t*)0x2016effc = 0xff; *(uint64_t*)0x20778000 = 0x20847000; *(uint64_t*)0x20778008 = 0; *(uint64_t*)0x20778010 = 0x20d0cfc3; *(uint64_t*)0x20778018 = 0; *(uint64_t*)0x20778020 = 0x20dd1000; *(uint64_t*)0x20778028 = 0; *(uint64_t*)0x20778030 = 0x20f39000; *(uint64_t*)0x20778038 = 0; *(uint64_t*)0x205af000 = 0x10; *(uint32_t*)0x205af008 = 0x11f; *(uint32_t*)0x205af00c = 5; *(uint64_t*)0x205af010 = 0x10; *(uint32_t*)0x205af018 = 0x114; *(uint32_t*)0x205af01c = 0x73; *(uint64_t*)0x205af020 = 0x10; *(uint32_t*)0x205af028 = 0x116; *(uint32_t*)0x205af02c = 3; *(uint64_t*)0x205af030 = 0x10; *(uint32_t*)0x205af038 = 0x19f; *(uint32_t*)0x205af03c = 0x81; *(uint64_t*)0x205af040 = 0x10; *(uint32_t*)0x205af048 = 0x1ff; *(uint32_t*)0x205af04c = 0x4c24; *(uint64_t*)0x205af050 = 0x10; *(uint32_t*)0x205af058 = 0x118; *(uint32_t*)0x205af05c = 2; *(uint16_t*)0x20992000 = 0x1d; *(uint32_t*)0x20992004 = 0; *(uint32_t*)0x20992008 = 0; *(uint32_t*)0x2099200c = 0; *(uint64_t*)0x2087a000 = 0x20e94000; *(uint64_t*)0x2087a008 = 0; *(uint64_t*)0x2087a010 = 0x20dfaf35; *(uint64_t*)0x2087a018 = 0; *(uint64_t*)0x2087a020 = 0x207ddf02; *(uint64_t*)0x2087a028 = 0; *(uint64_t*)0x2087a030 = 0x20ba5ff0; *(uint64_t*)0x2087a038 = 0; *(uint64_t*)0x2087a040 = 0x207b1f5c; *(uint64_t*)0x2087a048 = 0; *(uint64_t*)0x2087a050 = 0x20342000; *(uint64_t*)0x2087a058 = 0; *(uint64_t*)0x2087a060 = 0x20024000; *(uint64_t*)0x2087a068 = 0; *(uint64_t*)0x2087a070 = 0x208b9000; *(uint64_t*)0x2087a078 = 0; syscall(__NR_sendmmsg, r[1], 0x20091f88, 2, 0x4004080); *(uint8_t*)0x2070c000 = 0xaa; *(uint8_t*)0x2070c001 = 0xaa; *(uint8_t*)0x2070c002 = 0xaa; *(uint8_t*)0x2070c003 = 0xaa; *(uint8_t*)0x2070c004 = 0; *(uint8_t*)0x2070c005 = 0xbb; memcpy((void*)0x2070c006, "\x0b\x76\x7a\x8a\xe3\x2a", 6); *(uint16_t*)0x2070c00c = htobe16(0x8137); *(uint16_t*)0x2070c00e = htobe16(-1); *(uint16_t*)0x2070c010 = htobe16(0x1e); *(uint8_t*)0x2070c012 = 8; *(uint8_t*)0x2070c013 = 0; *(uint32_t*)0x2070c014 = htobe32(0); memcpy((void*)0x2070c018, "\x6f\xf8\xde\xdc\xbb\x6b", 6); *(uint16_t*)0x2070c01e = htobe16(0); *(uint32_t*)0x2070c020 = htobe32(-1); memcpy((void*)0x2070c024, "\x28\x17\xf8\x97\xff\xda", 6); *(uint16_t*)0x2070c02a = htobe16(0x37a8); *(uint32_t*)0x20471000 = 1; *(uint32_t*)0x20471004 = 3; *(uint32_t*)0x20471008 = 0x7a9; *(uint32_t*)0x2047100c = 0x32e; *(uint32_t*)0x20471010 = 0x2d7; } int main() { loop(); return 0; }