// https://syzkaller.appspot.com/bug?id=6599b79e52059759a0af877a925ae07482a3dd64 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); *(uint64_t*)0x20000000 = 0; *(uint32_t*)0x20000008 = 0; *(uint64_t*)0x20000010 = 0x20aa8000; *(uint64_t*)0x20aa8000 = 0x209b9000; *(uint8_t*)0x209b9000 = 2; *(uint8_t*)0x209b9001 = 9; *(uint8_t*)0x209b9002 = 0; *(uint8_t*)0x209b9003 = 2; *(uint16_t*)0x209b9004 = 2; *(uint16_t*)0x209b9006 = 0; *(uint32_t*)0x209b9008 = 0x70bd2c; *(uint32_t*)0x209b900c = 0; *(uint64_t*)0x20aa8008 = 0xfffffffffffffe54; *(uint64_t*)0x20000018 = 1; *(uint64_t*)0x20000020 = 0; *(uint64_t*)0x20000028 = 0; *(uint32_t*)0x20000030 = 0; syscall(__NR_sendmsg, -1, 0x20000000, 0); syscall(__NR_mprotect, 0x20000000, 0x800000, 0); return 0; }