// https://syzkaller.appspot.com/bug?id=13fe63802b99d9228b428d0ec5873721a07702ba // autogenerated by syzkaller (https://github.com/google/syzkaller) #define _GNU_SOURCE #include #include #include #include #include #include #include #include uint64_t r[1] = {0xffffffffffffffff}; int main(void) { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); intptr_t res = 0; memcpy((void*)0x20000300, "stat\t\300\322\376\274\371\337-" "\352\310\301w\377\027\022H\351\021\223Q0I\3701U\ro" "}\346l\3667\275\277\023\021\222\f\212&" "\355\244\334\303x?" "\235\265\021k4\323\033\005\022\245`" "\212\257\360\036yR4\f\326\375\000\000\000\000", 75); res = syscall(__NR_openat, 0xffffff9c, 0x20000300, 0x275a, 0); if (res != -1) r[0] = res; syscall(__NR_ioctl, r[0], 0x6611, 0); return 0; }