Friday, September 11, 2026

Bad Epoll Linux Kernel UAF Flaw Lets Unprivileged Attackers Gain Root on Linux and Android

A newly disclosed Linux kernel vulnerability, tracked as CVE-2026-46242 and dubbed “Bad Epoll,” exposes a critical race-condition use-after-free (UAF) flaw in the epoll subsystem that allows unprivileged users to escalate privileges to root across Linux systems and potentially Android devices.

The flaw was discovered and exploited by security researcher Jaeyoung Chung as part of Google’s kernelCTF program, highlighting both the real-world exploitability and high impact of subtle concurrency bugs in core kernel components.

Unlike many previous privilege-escalation flaws, Bad Epoll is particularly severe because it affects a fundamental kernel mechanism widely used by system services, networking stacks, and modern browsers, leaving no straightforward mitigation beyond patching.

Bad Epoll Linux Kernel UAF Flaw

The vulnerability originates from a race condition introduced in April 2023 (commit 58c9b016e128) within the epoll event notification subsystem.

The issue arises when two epoll instances are closed concurrently, leading to a race in which one thread frees a structure. At the same time, another continues to operate on it, resulting in a use-after-free condition.

Although the race window is extremely narrow, estimated at just a few CPU instructions, the researcher demonstrated a highly reliable exploitation technique that expands the race condition window and repeatedly triggers it without crashing the kernel.

This approach achieves approximately 99% success in controlled environments, making the flaw far more practical than typical race-condition vulnerabilities.

Attack Flow (Source: github)
Attack Flow (Source: github)

Technically, the exploit leverages multiple epoll objects arranged in paired configurations to trigger and control the race. After achieving a controlled UAF write, the attacker transitions the primitive into a more powerful cross-cache attack targeting kernel file objects.

This enables arbitrary kernel memory reads via interfaces such as /proc/self/fdinfo, eventually allowing control-flow hijacking via a return-oriented programming (ROP) chain.

The result is full kernel code execution and a root shell, achieved entirely from an unprivileged context. Notably, researchers confirmed that the flaw can be triggered even within restricted environments such as Chrome’s renderer sandbox, making it a valuable candidate for exploit chains.

One of the most concerning aspects of Bad Epoll is its relevance to Android. Historically, only a small subset of Linux kernel vulnerabilities have been viable for rooting Android devices due to platform-specific constraints.

However, Bad Epoll joins a rare class of bugs capable of bypassing these limitations. Early testing indicates that devices running kernels version 6.6 or later, such as newer Pixel models, may be vulnerable, with a full Android exploit reportedly in progress. Older devices based on kernel version 6.1 are not affected, as the vulnerable code was introduced in later versions.

Interestingly, the vulnerability coexists with another epoll-related race condition (CVE-2026-43074) previously discovered by Anthropic’s AI system, Mythos. While Mythos successfully identified one bug in the same code path, it failed to detect Bad Epoll, underscoring the difficulty of identifying race conditions with minimal runtime indicators.

The lack of consistent detection signals, such as KASAN alerts, combined with the extremely tight race window, likely contributed to the oversight. Even kernel maintainers initially struggled to implement a complete fix, with the final patch only landing on April 24, 2026 (commit a6dc643c6931), two months after initial disclosure.

Given that epoll is a core kernel feature with no disable option, there are no viable workarounds or mitigations aside from applying the official patch or vendor backports. Systems running Linux kernel versions 6.4 and newer are potentially impacted if unpatched.

Security teams are strongly advised to prioritize kernel updates and monitor distribution advisories to ensure remediation, especially in environments where unprivileged user access is possible, or browser sandbox escape scenarios are a concern.

Interact with Cyber Threats in Windows, Linux, macOS VMs to Trigger Full Attack Chain - Analyse Malware & Phishing with ANY RUN

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Researchers Uncover 10,000+ Malware Loaders Behind YouTube and SEO Poisoning Campaign

A long-running pay-per-install (PPI) operation that used YouTube gaming...

VLC Media Player Flaws Let Attackers Corrupt Memory and Leak Sensitive Data

Two security vulnerabilities in VLC media player versions 3.0.0...

CISA Adds Exploited MikroTik RouterOS Flaws to Security Alert

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

cPanel Urges Users to Patch ConfigServer Firewall Remote Code Execution Flaw

A recently disclosed vulnerability in ConfigServer Security & Firewall...

Hackers Weaponize AI Safety Guardrails to Hide Malware From LLM-Powered Security Scanners

Threat actors are adapting malware not only for conventional...

Hackers Exploit JFrog Artifactory Flaws to Bypass Authentication and Gain Admin Access

Threat actors are actively exploiting three vulnerabilities in JFrog...

Related Articles

Recent News