// 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*)0x200014c0 = 0; *(uint32_t*)0x200014c8 = 0; *(uint64_t*)0x200014d0 = 0x20001400; *(uint64_t*)0x20001400 = 0x20000040; *(uint64_t*)0x20001408 = 0; *(uint64_t*)0x20001410 = 0x200000c0; *(uint64_t*)0x20001418 = 0; *(uint64_t*)0x20001420 = 0x200010c0; *(uint64_t*)0x20001428 = 0; *(uint64_t*)0x20001430 = 0x20001140; *(uint64_t*)0x20001438 = 0; *(uint64_t*)0x20001440 = 0x20001240; *(uint64_t*)0x20001448 = 0; *(uint64_t*)0x20001450 = 0x20001300; *(uint64_t*)0x20001458 = 0; *(uint64_t*)0x200014d8 = 6; *(uint64_t*)0x200014e0 = 0x20001480; *(uint64_t*)0x20001480 = 0x10; *(uint32_t*)0x20001488 = 0x197; *(uint32_t*)0x2000148c = 0; *(uint64_t*)0x200014e8 = 0x10; *(uint32_t*)0x200014f0 = 0x4000; syscall(__NR_sendmsg, r[0], 0x200014c0, 0x20040051); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }