---
title: "GitHub - J-jaeyoung/bad-epoll"
url: https://daily.dev/posts/github---j-jaeyoung-bad-epoll-8ik6usr3n
source_url: https://github.com/J-jaeyoung/bad-epoll
type: article
source: "Lobsters"
published: 2026-07-05T02:53:20.135Z
updated: 2026-07-05T02:53:41.297Z
tags: ["linux"]
reading_time: 7
upvotes: 2
comments: 1
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub - J-jaeyoung/bad-epoll

**[Lobsters](https://daily.dev/sources/lobsters)** · 7 min read · 2 upvotes · 1 comments

## Summary

Bad Epoll (CVE-2026-46242) is a race-condition use-after-free vulnerability in the Linux kernel's epoll subsystem, introduced in kernel v6.4 (2023). An unprivileged process can exploit it to gain root access on Linux desktops, servers, and Android devices. The race window is only ~6 instructions wide, yet the exploit achieves 99% reliability by widening the window with a retry loop. Notably, Anthropic's AI model Mythos found a related race bug in the same epoll code path but missed this one. The exploit chains a UAF write into full kernel memory control via a cross-cache attack, arbitrary kernel read through /proc/self/fdinfo, and a ROP chain for root shell. No workaround exists since epoll is a core kernel feature; the only fix is applying upstream commit a6dc643c6931. Kernels v6.4 through the fix date are affected; v6.1-based kernels are not. An Android exploit for Pixel 10 (kernel v6.6+) is in progress.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://github.com/J-jaeyoung/bad-epoll>

## Community discussion

Top comments from developers on daily.dev.

**@dcorto** · 0 upvotes

> well..another one for the records 😂

## Similar posts on daily.dev

- [“Bad Epoll” Linux Kernel Bug Lets Any User Grab Root](https://daily.dev/posts/bad-epoll-linux-kernel-bug-lets-any-user-grab-root-nfjae30jd) · Latest Hacking News · 4 upvotes · 0 comments

---

Tags: [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/github---j-jaeyoung-bad-epoll-8ik6usr3n)
