Cyber Security News

PoC Exploit Released for Fragnesia Linux Flaw Enabling Root Access

A newly discovered Linux local privilege escalation vulnerability, dubbed “Fragnesia,” is sending shockwaves through the cybersecurity community.

This critical flaw grants attackers immediate root access to compromised systems. A Proof of Concept (PoC) exploit is already available online, escalating the urgency for system administrators to apply patches immediately.

Fragnesia Linux Flaw

Fragnesia belongs to the “Dirty Frag” vulnerability class but operates as an independent bug within the ESP/XFRM subsystem. The core vulnerability stems from a logic error where network data packets forget that fragments are shared during data coalescing. This critical oversight exists deep within the Linux XFRM ESP-in-TCP subsystem.

By abusing this logic bug, an attacker can write arbitrary bytes into the kernel page cache of read-only files without needing a race condition. This manipulation technique heavily mirrors the infamous Dirty Pipe vulnerability.

Because the exploit only modifies the page cache rather than the physical disk, the actual on-disk files remain completely untouched. This stealthy behavior makes the intrusion significantly harder to detect with traditional file-monitoring tools. The flaw impacts all Linux kernel versions released before the May 13, 2026, patch.

Discovered by William Bowling and the V12 team, the released PoC exploit precisely targets the /usr/bin/su binary. Security researchers have published the exact one-line execution chain needed to compile and weaponize the vulnerability:

bashgit clone https://github.com/v12-security/pocs.git && cd pocs/fragnesia && gcc -o exp fragnesia.c && ./exp

On modern Ubuntu systems, AppArmor typically restricts unprivileged user namespaces by default. While threat actors can chain other existing bugs to bypass this barrier, researchers testing the PoC must first disable this restriction:

bashsudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0

Once executed, the exploit establishes a specialized network namespace and splices file data into a TCP stream. It forces the kernel to process queued file pages as encrypted text, writing malicious payload instructions byte-by-byte into the cached file memory. This instantly triggers a root shell, bypassing standard security barriers entirely.

  • Creates a specialized network namespace in which the attacker holds administrative rights without any real host privileges.
  • Installs a transport-mode security connection using known encryption keys.
  • Generates a massive lookup table mapping keystream bytes to specific numeric values for exact targeting.
  • Splices target file data into a TCP stream to force the kernel into processing queued files as encrypted text.
  • Writes malicious payload instructions byte-by-byte directly into the cached file memory.

Once all payload bytes are successfully verified, the exploit executes the temporarily modified binary from the page cache. This action instantly triggers a root shell, bypassing all security barriers and granting the attacker total system control.

Administrators must take immediate action to protect their Linux environments from the Fragnesia exploit. The most effective mitigation strategy directly mirrors the defense used against the original Dirty Frag vulnerability. System administrators should aggressively turn off specific vulnerable kernel modules to permanently block the attack path.

  • Remove active kernel modules for esp4, esp6, and rxrpc.
  • Create a configuration file in the modprobe directory that maps these vulnerable modules to a false binary.
  • Apply the official Linux kernel patch released to the netdev mailing list.

If a system has already been exposed to the PoC exploit, performing a critical cleanup is necessary. The injected payload remains active in the page cache even after the initial attack finishes.

Any normal user subsequently executing the su command will accidentally spawn a root shell until the compromised cache is completely evicted. Administrators must immediately clear system caches or perform a full system reboot to flush the malicious code from memory securely.

Follow us on Google News, LinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Storm-2603 Hackers Exploit SharePoint and Abuse Cloudflare Tunnel to Hide Remote Access

A December intrusion to Storm-2603, the China-based group Microsoft ties to Warlock ransomware. The attackers…

9 minutes ago

OpenSSH sshole Flaw Allows Hackers to Log Into Password-Disabled Linux Accounts Using 257-Character Passwords

A decade-old authentication bypass in OpenSSH on musl-based Linux lets attackers log into accounts that…

12 minutes ago

New GhostMap Android Vulnerability Can Crash Phones Permanently Without Opening an App or Granting Permissions

Bitdefender researchers have revealed a vulnerability called GhostMap that affects Android devices. This vulnerability can…

21 minutes ago

Microsoft Paint Vulnerability Allows Hackers to Execute Malicious Code Remotely Without User Interaction

Microsoft has announced a vulnerability in Windows Paint that could let unauthenticated attackers execute malicious…

45 minutes ago

ARTEX AI Framework Linked to Bank Breaches and Cloud Attacks Found Exposed Across Hundreds of Servers

An autonomous penetration-testing framework linked to South Korean banking breaches and cloud supply-chain attacks is…

1 hour ago

Shopify Makes IP Allowlisting Mandatory for All Public Apps to Prevent Stolen API Token Abuse

Shopify is making IP allowlisting mandatory for all public apps to limit abuse of stolen…

1 hour ago