Skip to content
RCE Write-up Advanced

I’ll Catch a Grenade for You — Detecting Dirty Frag

Two chained Linux kernel vulnerabilities in the ESP and RxRPC subsystems allow an unprivileged local user to gain root by corrupting page-cache pages of su or /etc/passwd. The exploit is deterministic and affects most major Linux distributions.

medium.com

Published on medium.com

On May 8, 2026 (May 7 UTC), security researcher Hyunwoo Kim (@v4bel) disclosed Dirty Frag on the oss-security mailing list — two chained Linux kernel vulnerabilities (later tracked as CVE-2026–43284 and CVE-2026–43500) that allow any unprivileged local user to gain root on virtually every major Linux distribution. The…

Vadvol, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the kernel performs in-place cryptographic decryption on page-cache pages obtained via splice without verifying memory ownership, allowing writes to pages that should be read-only.

Impact

An unprivileged local user can gain root on most Linux distributions; Path A leaves a kernel audit event, but Path B leaves no equivalent and requires pre-deployed detection rules.

What the attacker needed

Local unprivileged access; Path A: user namespace support; Path B: rxrpc module loaded; Path B: pam_unix nullok enabled

The fix

The text does not state a fix; mitigations include disabling unprivileged user namespaces (blocks Path A only) and blacklisting the esp4, esp6, and rxrpc kernel modules.

How it was found

  1. Create a user namespace to gain CAP_NET_ADMIN (Path A only).
  2. Register XFRM Security Associations (Path A) or set up RxRPC and AF_ALG (Path B).
  3. Use vmsplice/splice to target the page cache of su or /etc/passwd.
  4. Trigger in-place decryption to write attacker data into the page cache.
  5. Execute su to escalate to root.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The kernel keeps copies of files in memory (the page cache) to speed things up. These bugs trick the kernel into writing attacker-controlled data into those memory copies, so when a privileged program like su runs, it executes the attacker's code or accepts a blank password. This lets a normal user become the root administrator.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.