// https://syzkaller.appspot.com/bug?id=28bc35dd6f026b2878e30804670f6f0c39932f16 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #ifndef __NR_mmap #define __NR_mmap 192 #endif #ifndef __NR_openat #define __NR_openat 295 #endif #undef __NR_mmap #define __NR_mmap __NR_mmap2 void loop() { syscall(__NR_mmap, 0x20000000, 0xfeb000, 3, 0x32, -1, 0); memcpy((void*)0x20b75000, "/dev/sequencer", 15); syscall(__NR_openat, 0xffffff9c, 0x20b75000, 0x4041, 0); } int main() { loop(); return 0; }