// https://syzkaller.appspot.com/bug?id=7393e83fa3b6e20eb1c40e028ed24dce5c230580 // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include #define do_sandbox_setuid() 0 #define do_sandbox_namespace() 0 #define setup_loop() #define reset_loop() #define setup_test() #define reset_test() void loop() { *(uint16_t*)0x20000000 = 0xb; *(uint16_t*)0x20000002 = 0x200; *(uint32_t*)0x20000004 = 0x201; *(uint64_t*)0x20000008 = 0x200000c0; *(uint64_t*)0x20000010 = -1; syscall(SYS_self_notify, 0x7fffffff, 8, 0x20000000, 0); } int main() { syscall(SYS_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); loop(); return 0; }