// https://syzkaller.appspot.com/bug?id=2baaaa12862ec89e780a45b8a5439ead99b02294 // 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, 0x1ffff000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x20000000ul, 0x1000000ul, 7ul, 0x32ul, -1, 0ul); syscall(__NR_mmap, 0x21000000ul, 0x1000ul, 0ul, 0x32ul, -1, 0ul); intptr_t res = 0; res = syscall(__NR_socketpair, 0x8000000000001eul, 5ul, 0, 0x2000dff8ul); if (res != -1) r[0] = *(uint32_t*)0x2000dffc; *(uint64_t*)0x20236fc8 = 0x8000000; *(uint32_t*)0x20236fd0 = 0; *(uint64_t*)0x20236fd8 = 0x200fff80; *(uint64_t*)0x20236fe0 = 0xc; *(uint64_t*)0x20236fe8 = 0x201e1e78; *(uint64_t*)0x20236ff0 = 0; *(uint32_t*)0x20236ff8 = 0; syscall(__NR_sendmmsg, r[0], 0x20236fc8ul, 0x4924924924926c8ul, 0ul); return 0; }