0xBlackash/CVE-2026-46242
PoC files
2 filesFile viewing is interactive and short-lived. Downloads are password-protected ZIP archives using password eip.
Analysis
Technical assessment
A self-contained C exploit for CVE-2026-46242 that attempts to trigger a use-after-free race condition in the Linux kernel's eventpoll subsystem and escalate privileges to root.
Backdoor review
No backdoor observed in reviewed code
The repository contains a README describing CVE-2026-46242 and a C source file implementing a local privilege escalation exploit for the vulnerability. The exploit code performs standard race-condition triggering, heap spraying, and a privilege check, consistent with a proof-of-concept for the stated CVE. No concealed backdoor, credential theft, persistence mechanism, or unrelated payload is present in the reviewed text.
Classification basis and observed behavior
Classification basis
The C file is a complete, self-contained program that actively attempts to trigger a vulnerability and escalate privileges, which is the definition of an exploit. The code includes a racer thread, a trigger loop, and a post-exploit check for root access followed by a shell execution.
CVE-2026-46242.c:2-8CVE-2026-46242.c:34-45CVE-2026-46242.c:80-88CVE-2026-46242.c:101-108Requirements
- Local access to a vulnerable Linux kernel version (5.15.209 to <5.16, 6.1.175 to <6.2, 6.4 to <6.18.33, 6.19 to <7.0.10).
README.md:81-87 - Low-privileged user account on the target system.
README.md:44
Observed behavior
- Creates multiple interconnected epoll file descriptors to set up mutual watching.
CVE-2026-46242.c:60-70 - Spawns a racer thread that repeatedly closes and recreates epoll file descriptors to trigger a race condition.
CVE-2026-46242.c:34-45 - The main thread closes and recreates specific epoll file descriptors in a loop to trigger the use-after-free.
CVE-2026-46242.c:80-88 - After the race, attempts to check for root privileges and spawn a root shell if successful.
CVE-2026-46242.c:101-108
Behaviors behind the backdoor verdict
Observables
- Exploit Behavior
- Race condition trigger via multithreaded epoll close/create loopsThe C code creates epoll instances, sets up mutual watching, and uses a racer thread to close and recreate epoll file descriptors while the main thread also closes and recreates them, aiming to trigger the UAF described in CVE-2026-46242.
CVE-2026-46242.c:34-45CVE-2026-46242.c:80-88 - Privilege Escalation Attempt
- Check for root UID and spawn shell if successfulAfter the race, the code checks if getuid() == 0 and executes /bin/sh, which is the standard goal of a local privilege escalation exploit.
CVE-2026-46242.c:102-105 - Disclaimer
- README states no exploit code or offensive tooling is includedThe README claims the repository is for educational and defensive purposes and does not contain exploit code, which contradicts the presence of CVE-2026-46242.c. This is a factual inaccuracy but does not constitute backdoor behavior.
README.md:198-200
What the analysis did not establish
- The README.md states 'It does not contain exploit code or offensive tooling' (line 200), which contradicts the presence of CVE-2026-46242.c, a full exploit.
- The exploit's effectiveness is not verified; the code includes a failure message indicating the race may be missed or the kernel patched (line 106).
- The exploit relies on a race condition and may not succeed reliably.
- Only the two text files (CVE-2026-46242.c and README.md) were reviewed; no binary files were present or analyzed.
- The review is based solely on static source code analysis; runtime behavior or potential compiler-introduced effects are not evaluated.
This review is limited to the supplied PoC code and context. It does not assert that the code works or is safe to execute.