// https://syzkaller.appspot.com/bug?id=2668718853a3764ffe6976db2451c75e34780d67 // 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, 0); if (res != -1) r[0] = res; *(uint64_t*)0x20000180 = 0x20000000; *(uint16_t*)0x20000000 = 0x10; *(uint16_t*)0x20000002 = 0; *(uint32_t*)0x20000004 = 0; *(uint32_t*)0x20000008 = 0; *(uint32_t*)0x20000188 = 0xc; *(uint64_t*)0x20000190 = 0x20000140; *(uint64_t*)0x20000140 = 0x200005c0; *(uint32_t*)0x200005c0 = 0x3c; *(uint16_t*)0x200005c4 = 0x10; *(uint16_t*)0x200005c6 = 0x601; *(uint32_t*)0x200005c8 = 0; *(uint32_t*)0x200005cc = 0; *(uint8_t*)0x200005d0 = 0; *(uint8_t*)0x200005d1 = 0; *(uint16_t*)0x200005d2 = 0; *(uint32_t*)0x200005d4 = 0; *(uint32_t*)0x200005d8 = 0; *(uint32_t*)0x200005dc = 0; *(uint16_t*)0x200005e0 = 0x1c; *(uint16_t*)0x200005e2 = 0x12; *(uint16_t*)0x200005e4 = 0xc; *(uint16_t*)0x200005e6 = 1; memcpy((void*)0x200005e8, "bond", 5); *(uint16_t*)0x200005f0 = 0xc; *(uint16_t*)0x200005f2 = 2; *(uint16_t*)0x200005f4 = 8; *(uint16_t*)0x200005f6 = 0xa; *(uint32_t*)0x200005f8 = 0; *(uint64_t*)0x20000148 = 0x3c; *(uint64_t*)0x20000198 = 1; *(uint64_t*)0x200001a0 = 0; *(uint64_t*)0x200001a8 = 0; *(uint32_t*)0x200001b0 = 0; syscall(__NR_sendmsg, r[0], 0x20000180, 0); return 0; }