Skip to content

Use-after-free race in epoll and its RCU fix

A post published on May 26, 2026 describes a race in fs/eventpoll.c and a change that deferred memory release using RCU.

By Wendelmaques ·

Source: Uma race de use-after-free no epoll e sua correção com RCU (guysrd.github.io). Text prepared with AI from this source.

What happened and what to do

On May 26, 2026, a post described a use-after-free race in epoll, in fs/eventpoll.c. Commit 07712db80857 replaced kfree() with kfree_rcu(), deferring release of struct eventpoll until an RCU grace period has elapsed.

For a company maintaining or distributing kernel code, this points to practical steps: review concurrency paths and object lifecycles, track relevant fixes, and test security changes in controlled environments before deployment. A monitoring process can map commits to affected components and versions in use.

How the consultancy can help

Wendelmaques can assess exposure across kernel components in use, define a review and testing scope, and implement routines to monitor and validate fixes.

Next step

Send a short description of your environment and kernel concerns to receive a scoped proposal.

Looking for something else?Frequently asked questionsGuidesContact