Copy Fail and Dirty Frag: Linux Page-Cache Exploits Target Every Major Distribution

· Source: InfoQ · Field: Technology & Digital — Cybersecurity & Data Privacy, Software Development & Engineering, Artificial Intelligence & Machine Learning · Depth: Advanced, medium

Summary

Two new Linux kernel local privilege escalation vulnerabilities, "Copy Fail" (CVE-2026-31431) and "Dirty Frag" (CVE-2026-43284, CVE-2026-43500), were publicly disclosed in May 2026. Both allow an unprivileged local user to gain root access on affected distributions by exploiting logic flaws in the page cache, similar to the 2022 Dirty Pipe vulnerability. Copy Fail, discovered by Theori using their AI-powered tool Xint Code, is a logic flaw in the `algif_aead` kernel module, introduced in 2017. Dirty Frag, disclosed by Hyunwoo Kim, chains two vulnerabilities affecting the `esp4`, `esp6`, and `rxrpc` modules, covering a wider range of configurations. Both exploits are deterministic, do not rely on race conditions, and affect kernels dating back to 2017 or 2023, impacting major distributions like Ubuntu, RHEL, and SUSE.

Key takeaway

For CTOs and VPs of Engineering managing Linux infrastructure, immediately prioritize applying kernel updates to address Copy Fail and Dirty Frag. Your shared-kernel multi-tenant environments, including Kubernetes clusters and CI/CD runners, are particularly exposed. Consider implementing microVM runtimes like Firecracker or user-space kernels such as gVisor for workloads executing untrusted code to enhance isolation beyond standard Linux namespaces.

Key insights

New Linux kernel page-cache vulnerabilities enable unprivileged local users to gain root access across major distributions.

Principles

Method

Copy Fail exploits a logic flaw in `algif_aead` to write into the page cache of unowned files. Dirty Frag chains xfrm-ESP and RxRPC page-cache writes to achieve broader coverage.

In practice

Topics

Code references

Best for: CTO, VP of Engineering/Data, Director of AI/ML, AI Security Engineer, Security Engineer, MLOps Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by InfoQ.