☼
⌃
☰

CVE-2026-46300 Fragnesia Linux Kernel LPE

Table of Contents

A Linux kernel local privilege escalation via the XFRM ESP-in-TCP subsystem allowing an unprivileged user to write arbitrary bytes into the page cache of read-only files. CVSS 7.8. Related to Dirty Frag but not patched by the Dirty Frag fix.

Related: Linux Privilege Escalation LinPEAS

Description

A logic bug in the kernel's ESP-in-TCP path. When a TCP socket switches into espintcp mode after file-backed data has already been spliced into the receive queue, the kernel can treat those queued file pages as ESP ciphertext and decrypt them in place. [Aibase](https://mcp.aibase.com/server/1916341335990444034?claude-citation-7872e9f1-9a0b-4528-9db9-eca9a3020434=feebf66b-6ba0-4a1d-90a0-92eeb7a9c3f7)

The underlying flaw is in the core socket-buffer code: skbtrycoalesce() failed to propagate the SKBFLSHAREDFRAG marker when transferring paged fragments between buffers, so the kernel could lose track of the fact that a fragment was externally backed. [MCP Server](https://dxt.so/mcp-server/developer-tools/emacs-mcp?claude-citation-7872e9f1-9a0b-4528-9db9-eca9a3020434=b9b4d9e3-15f2-43eb-bd81-6c6158cc18e1)

The published PoC targets the page-cache copy of /usr/bin/su rather than modifying the on-disk binary directly — writing a small ELF stub into cached memory so that the next invocation of su runs attacker-controlled code as root. [Skypage](https://skywork.ai/skypage/en/emacs-ai-mcp-server/1981605741237211136?claude-citation-7872e9f1-9a0b-4528-9db9-eca9a3020434=b8dba61c-2dac-4a9b-9514-88ada53e5e9c) No race condition required.

Affected: Linux kernels before May 13, 2026. Affects kernels that already received the Dirty Frag fix.

Steps

SHELL
# Check kernel version
uname -r

# Check if vulnerable modules are loaded
lsmod | grep -E "esp4|esp6|rxrpc"

# PoC available at:
# https://github.com/v12-security/pocs/tree/main/fragnesia

# Run PoC (requires local access)
./fragnesia
# If successful, invocation of su will yield root shell
su

Defences

  • Apply kernel patches from Linux vendor
  • Unload esp4, esp6, rxrpc modules if not needed
  • Monitor for unusual su invocations and privilege changes

References