0xBlackash/CVE-2026-46242 ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple C project that demonstrates CVE 2026 46242 in a safe, educational way, not an exploit. I want it to explain the bug clearly, check the running Linux kernel version, and tell me whether the system is likely affected or already patched.
Make the program easy to compile and run from the terminal, and have it print a short summary of what the vulnerability is, why the race in epoll matters, and what the impact could be. If you can, include a small defensive check or test that shows the relevant epoll behavior without doing anything harmful. Also add a clean README style output or comments so someone new to kernel security can understand it.
Keep it lightweight, use standard C, and if you need current kernel version details or patched release info, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit