// https://syzkaller.appspot.com/bug?id=85fd017144b9b1d6761870ff71852d15e4cdd44e // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #ifndef __NR_bpf #define __NR_bpf 321 #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*)0x200002c0 = 1; *(uint32_t*)0x200002c4 = 1; *(uint32_t*)0x200002c8 = 0x209e28; *(uint32_t*)0x200002cc = 0x4001; *(uint32_t*)0x200002d0 = 0; *(uint32_t*)0x200002d4 = -1; *(uint32_t*)0x200002d8 = 0; *(uint8_t*)0x200002dc = 0; *(uint8_t*)0x200002dd = 0; *(uint8_t*)0x200002de = 0; *(uint8_t*)0x200002df = 0; *(uint8_t*)0x200002e0 = 0; *(uint8_t*)0x200002e1 = 0; *(uint8_t*)0x200002e2 = 0; *(uint8_t*)0x200002e3 = 0; *(uint8_t*)0x200002e4 = 0; *(uint8_t*)0x200002e5 = 0; *(uint8_t*)0x200002e6 = 0; *(uint8_t*)0x200002e7 = 0; *(uint8_t*)0x200002e8 = 0; *(uint8_t*)0x200002e9 = 0; *(uint8_t*)0x200002ea = 0; *(uint8_t*)0x200002eb = 0; *(uint32_t*)0x200002ec = 0; *(uint32_t*)0x200002f0 = -1; *(uint32_t*)0x200002f4 = 0; *(uint32_t*)0x200002f8 = 0; *(uint32_t*)0x200002fc = 0; syscall(__NR_bpf, 0ul, 0x200002c0ul, 0x40ul); *(uint64_t*)0x20000040 = 0; syscall(__NR_ioctl, -1, 0x4030582a, 0x20000040ul); syscall(__NR_openat, 0xffffffffffffff9cul, 0ul, 0x4200ul, 0ul); syscall(__NR_bpf, 0x21ul, 0ul, 0ul); return 0; }