// https://syzkaller.appspot.com/bug?id=a56ef51971de0eed577b691850688344f0f2a0d3 // autogenerated by syzkaller (http://github.com/google/syzkaller) #ifndef __NR_bpf #define __NR_bpf 321 #endif #define _GNU_SOURCE #include #include #include #include long r[9]; void loop() { memset(r, -1, sizeof(r)); r[0] = syscall(__NR_mmap, 0x20000000ul, 0xff4000ul, 0x3ul, 0x32ul, 0xfffffffffffffffful, 0x0ul); *(uint32_t*)0x20ff2fe4 = (uint32_t)0xf; *(uint32_t*)0x20ff2fe8 = (uint32_t)0x4; *(uint32_t*)0x20ff2fec = (uint32_t)0x4; *(uint32_t*)0x20ff2ff0 = (uint32_t)0x1081; *(uint32_t*)0x20ff2ff4 = (uint32_t)0x4; *(uint32_t*)0x20ff2ff8 = (uint32_t)0x0; *(uint32_t*)0x20ff2ffc = (uint32_t)0xfffffffffffffe00; r[8] = syscall(__NR_bpf, 0x0ul, 0x20ff2fe4ul, 0x1cul); } int main() { loop(); return 0; }