// 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*)0x20000204 = 0; *(uint32_t*)0x20000208 = 2; *(uint32_t*)0x2000020c = 0; *(uint32_t*)0x20000210 = 0xb0; *(uint32_t*)0x20000218 = -1; *(uint32_t*)0x2000021c = 0; *(uint32_t*)0x20000220 = 0; *(uint32_t*)0x20000224 = 0; syscall(__NR_io_uring_setup, 0x3c39, 0x20000200ul); return 0; }