// https://syzkaller.appspot.com/bug?id=7ca0599bb615585d6c69bdac00fa30f32fa7ba94 // 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; memcpy((void*)0x20000040, "/dev/autofs", 12); res = syscall(__NR_openat, 0xffffffffffffff9c, 0x20000040, 0, 0); if (res != -1) r[0] = res; memcpy((void*)0x20000080, "\x01\x00\x00\x00\x00\x00\x00\x00\x18\x00\x00\x00" "\x00\x01\x00\x00\x00\x55\x5d\x04\x0f\x45\x42\x6d" "\x02\x70\xec\x78\xdf\xd8\x49\x83\x2f", 33); syscall(__NR_ioctl, r[0], 0x8000000000009374, 0x20000080); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); for (;;) { loop(); } }