// https://syzkaller.appspot.com/bug?id=660cabc1b8bdb5a0a68e37cc37ed4c9229199e9e // autogenerated by syzkaller (http://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include static void execute_one(); extern unsigned long long procid; void loop() { while (1) { execute_one(); } } void execute_one() { *(uint32_t*)0x20161000 = 0; *(uint32_t*)0x20161004 = 0x1c; *(uint64_t*)0x20161008 = 0x20519fa8; *(uint16_t*)0x20519fa8 = 0xa; *(uint16_t*)0x20519faa = htobe16(0); *(uint32_t*)0x20519fac = 0; *(uint8_t*)0x20519fb0 = 0; *(uint8_t*)0x20519fb1 = 0; *(uint8_t*)0x20519fb2 = 0; *(uint8_t*)0x20519fb3 = 0; *(uint8_t*)0x20519fb4 = 0; *(uint8_t*)0x20519fb5 = 0; *(uint8_t*)0x20519fb6 = 0; *(uint8_t*)0x20519fb7 = 0; *(uint8_t*)0x20519fb8 = 0; *(uint8_t*)0x20519fb9 = 0; *(uint8_t*)0x20519fba = 0; *(uint8_t*)0x20519fbb = 0; *(uint8_t*)0x20519fbc = 0; *(uint8_t*)0x20519fbd = 0; *(uint8_t*)0x20519fbe = 0; *(uint8_t*)0x20519fbf = 0; *(uint32_t*)0x20519fc0 = 0x25; *(uint32_t*)0x207b7ffc = 0x10; syscall(__NR_getsockopt, -1, 0x84, 0x6f, 0x20161000, 0x207b7ffc); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); for (;;) { loop(); } }