Skip to content
RCE Write-up Advanced

I’ll Catch a Grenade for You — Dirty Frag Telemetry Walkthrou

The post walks through audit records from two exploitation paths for a Linux kernel vulnerability (Dirty Frag) that allows an unprivileged user to write to the page cache of root-owned files, leading to privilege escalation. Path A uses IPsec/XFRM to overwrite /usr/bin/su's in-memory image, while Path B uses RxRPC to modify /etc/passwd's page cache and then escalate via PAM.

Vadvol Follow

Published on medium.com

This post walks the captured audit records phase-by-phase for both Dirty Frag exploitation paths — Path A (ESP / CVE-2026–43284) and Path B (RxRPC / CVE-2026–43500). Every record below is real, captured on a default Ubuntu 22.04 GCP instance running kernel 6.8.0-1054-gcp (unpatched, auditd loaded).

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's IPsec and RxRPC receive paths perform in-place decryption on memory referenced by a splice chain, allowing writes to page-cache pages of privileged files without filesystem permission checks.

Impact

An unprivileged local user could gain root privileges by corrupting the page cache of a setuid binary or /etc/passwd, with the on-disk files remaining unchanged.

What the attacker needed

Local unprivileged user account; unpatched Linux kernel; auditd loaded (for telemetry)

How it was found

  1. Create a new user and network namespace with unshare, gaining CAP_NET_ADMIN inside.
  2. Register fake IPsec Security Associations via AF_NETLINK, storing shellcode in the seq_hi field.
  3. Open /usr/bin/su read-only and build a splice chain from its page cache to a UDP socket.
  4. Send a crafted ESP packet to loopback; the receive path writes seq_hi into su's page cache before ICV verification fails.
  5. Execute /usr/bin/su, which runs the injected shellcode as root.
  6. For Path B: trigger RxRPC module autoload, brute-force the session key, use add_key and AF_ALG to prepare checksums, splice /etc/passwd into the rxkad receive path to blank the root password hash, then run su to escalate via PAM.

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.

This report describes a way for a normal user on a Linux computer to trick the system into running their own code as the all-powerful root user. The trick involves making the system write data into a file that is already loaded in memory (the page cache) without proper permission checks, so the on-disk file stays unchanged but the running program is corrupted. The attacker then runs that corrupted program to get a root shell.

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.