// https://syzkaller.appspot.com/bug?id=081bc8fe9b6b1db1b50ba8708676d5b4ab78ca67 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include 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); *(uint64_t*)0x20000000 = 0x200c2000; *(uint64_t*)0x20000008 = 0x20ffd000; *(uint64_t*)0x20000010 = 0x20172000; *(uint64_t*)0x20000018 = 0x20ffb000; *(uint64_t*)0x20000020 = 0x20ffd000; *(uint64_t*)0x20000028 = 0x20fff000; *(uint64_t*)0x20000030 = 0x20ffe000; *(uint64_t*)0x20000038 = 0x20935000; *(uint64_t*)0x20000040 = 0x20ff9000; *(uint64_t*)0x20000048 = 0x20ff9000; *(uint64_t*)0x20000050 = 0x20ffc000; *(uint64_t*)0x20000058 = 0; *(uint32_t*)0x20000060 = 0; *(uint32_t*)0x20000064 = -1; syscall(__NR_prctl, 0x23ul, 0xeul, 0x20000000ul, 0x68ul, 0); syscall(__NR_brk, 0x20ffd000ul); return 0; }