// https://syzkaller.appspot.com/bug?id=57d61b00d809c6a9822d01da13be542fc8a6012f // 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(); } } unsigned long long procid; void execute_one() { syscall(__NR_socket, 0xa, 1, 0); syscall(__NR_kexec_load, 0, 7, 0x200005c0, 0); } int main() { syscall(__NR_mmap, 0x20000000, 0x1000000, 3, 0x32, -1, 0); for (procid = 0; procid < 8; procid++) { if (fork() == 0) { for (;;) { loop(); } } } sleep(1000000); return 0; }