// https://syzkaller.appspot.com/bug?id=34f098756f33596efea4436ae996e6388f6dca48 // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_io_uring_setup #define __NR_io_uring_setup 425 #endif 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); *(uint32_t*)0x20000004 = 0; *(uint32_t*)0x20000008 = 2; *(uint32_t*)0x2000000c = 0; *(uint32_t*)0x20000010 = 0xe; *(uint32_t*)0x20000018 = -1; *(uint32_t*)0x2000001c = 0; *(uint32_t*)0x20000020 = 0; *(uint32_t*)0x20000024 = 0; syscall(__NR_io_uring_setup, 0x77a1, 0x20000000ul); return 0; }