If you were slow to patch PHP2Shell, read this one too — CISA says attackers are pairing the two.

At a glance

  • CVE: CVE-2026-46300 — nicknamed “Fragnesia”. It’s a member of the “Dirty Frag” family of kernel bugs, but a separate bug with its own fix.
  • Severity: 7.8 (High) at NVD and from the kernel’s CVE team. Red Hat rates it Important; Ubuntu calls it a “trivial local privilege escalation”.
  • Affected: per the kernel’s record, kernels from 3.9 up to (but not including) 5.10.257, 5.15.208, 6.1.174, 6.6.141, 6.12.91, 6.18.33 and 7.0.10, with mainline fixed from 7.1. No 6.19 fix is listed. In practice, Ubuntu notes the public exploits need the espintcp module, which only arrived in kernel 5.6.
  • Known exploited: Yes — CISA added it to the KEV list on 2026-10-28. Its entry says it can be chained with PHP2Shell (CVE-2026-109618 and CVE-2026-109619) to plant PHP webshells and run commands as root.

What’s going on

When the kernel merges (“coalesces”) network buffers, it’s supposed to carry over a flag that says “some of these memory pages are shared — don’t write over them”. It was dropping that flag. The IPsec ESP code checks the flag before deciding whether it’s safe to decrypt data in place, so once the flag is gone, ESP happily decrypts right on top of pages it doesn’t own.

William Bowling and the V12 team turned that into a root exploit. Their write-up explains how: splice a file’s pages into a TCP socket, then switch that socket into ESP-in-TCP mode. The kernel treats the queued file data as ESP ciphertext and decrypts it in place — on top of the kernel’s cached copy of the file. By picking the right encryption nonce, the attacker can set any byte of any readable file’s cached copy to any value, one byte per attempt. Their proof of concept rewrites the first 192 bytes of /usr/bin/su in memory and runs it to get a root shell. As with Copy Fail, the file on disk is untouched; only the cached copy changes.

There’s one speed bump. The exploit uses an unprivileged user namespace to get network-admin rights inside its own sandbox. On Ubuntu, AppArmor restricts unprivileged user namespaces by default, so the public PoC needs that restriction turned off first — though the authors say other bugs can be chained to get around it.

Why should web developers care? This is a local privilege escalation: it needs code already running on the box. CISA’s note spells out the real-world chain. An attacker uses PHP2Shell to run code as your web user, then uses Fragnesia to become root. A compromised website becomes a compromised server, and on a Docker or Kubernetes node, Ubuntu warns it may also help an attacker escape the container.

Timeline

  • Disclosed: 2026-05-13 (V12’s write-up and the oss-security thread, where the kernel team assigned the CVE ID the same day)
  • Fix committed upstream: 2026-05-14 (commit f84eca581739)
  • Red Hat kernel updates for RHEL 8, 9 and 10: 2026-05-20
  • CVE published: 2026-05-23
  • Added to CISA KEV: 2026-10-28

== UPDATE ==

Fixed kernels have been out since May — the job is to install one and reboot.

  • Patch available: Yep.

  • Fixed in: upstream 5.10.257, 5.15.208, 6.1.174, 6.6.141, 6.12.91, 6.18.33, 7.0.10 and 7.1. Distro packages: Debian 11 linux 5.10.257-1 (or linux-6.1 6.1.174-1~deb11u1), Debian 12 6.1.174-1, Debian 13 6.12.90-1; Ubuntu 20.04 linux 5.4.0-233.253, 22.04 5.15.0-181.191, 24.04 6.8.0-124.124, 26.04 7.0.0-22.22; RHEL 8 kernel-4.18.0-553.125.1.el8_10, RHEL 9 kernel-5.14.0-687.10.1.el9_8, RHEL 10 kernel-6.12.0-211.16.1.el10_2. Distros backport, so a lower distro version number can still be fixed.

  • How to apply: on Debian/Ubuntu run sudo apt update && sudo apt upgrade; on RHEL, Alma, Rocky or Fedora run sudo dnf upgrade --refresh. Then sudo reboot and confirm with uname -r. Check your distro’s tracker (linked below) for the exact package. And if you run PHP, make sure you’re on a PHP release that fixes PHP2Shell as well.

  • If you can’t patch yet: the advice from both V12 and Ubuntu is the same as for Dirty Frag — block the ESP modules (the list also includes rxrpc, which covers a sibling Dirty Frag bug). On Ubuntu/Debian:

    echo "install esp4 /bin/false" | sudo tee /etc/modprobe.d/dirty-frag.conf
    echo "install esp6 /bin/false" | sudo tee -a /etc/modprobe.d/dirty-frag.conf
    echo "install rxrpc /bin/false" | sudo tee -a /etc/modprobe.d/dirty-frag.conf
    sudo update-initramfs -u -k all
    sudo rmmod esp4 esp6 rxrpc 2>/dev/null
    

    Reboot if they won’t unload. The catch: this switches off IPsec, so VPNs such as strongSwan stop working, and so does anything using AFS/RxRPC. Ubuntu says the block isn’t needed once you’re on a fixed kernel. The researcher behind Dirty Frag, though, recommended keeping it in place for the time being, since more variants were expected in the same ESP code — worth considering if you don’t use IPsec at all.

References