// https://syzkaller.appspot.com/bug?id=c9f6f4fc0e9a5988e1b81d625586bb61d08e7bbf // 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(); } } uint64_t r[1] = {0xffffffffffffffff}; void execute_one() { long res = 0; res = syscall(__NR_socket, 0x10, 0x200000000002, 0xc); if (res != -1) r[0] = res; memcpy((void*)0x20390000, "\x1f\x00\x00\x00\x00\x07\xfd\x02\x01\x0c\x00\xf6" "\x00\x00\xff\x00\x81\x09\xf8\x00\x09\x00\x01\x80" "\x06\x08\x0b\xec\x00\x00\x00", 31); syscall(__NR_write, r[0], 0x20390000, 0x1f); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); for (;;) { loop(); } }