Cohesity REDLab analyzed CVE-2026-31431, a critical Linux kernel local privilege escalation vulnerability publicly known as Copy Fail. Disclosed on April 29, 2026, by researchers at Theori, this flaw allows any unprivileged local user to gain root access on virtually every major Linux distribution shipped since 2017. The vulnerability carries a CVSS 3.x score of 7.8, and a publicly available proof-of-concept exploit has been confirmed to work reliably across Ubuntu, Red Hat Enterprise Linux, Debian, SUSE, Amazon Linux, and AlmaLinux.
Copy Fail affects production Linux systems across the enterprise — application servers, database hosts, Kubernetes nodes, CI/CD runners, file servers, and cloud compute instances. For Cohesity administrators, the primary concern is safeguarding the production workloads, ensuring data remains secure, recoverable, and resilient against cyber threats and operational disruptions. Compromised production systems that remain unpatched become compromised snapshots inside Cohesity Data Cloud. If an attacker has achieved root on a Linux server through Copy Fail and planted backdoors, implants, or modified system binaries, those artifacts will be faithfully captured in your next backup. A clean recovery depends on clean source systems, and Copy Fail puts that assumption at risk across your entire Linux estate.
This advisory explains how Copy Fail works, why it matters for data protection teams, and what Cohesity administrators should do right now — in coordination with their infrastructure and security colleagues — to help identify affected systems, drive patching, and ensure that compromised workloads do not silently propagate through the backup lifecycle.
Copy Fail is a Linux kernel vulnerability. Cohesity administrators occupy a unique vantage point in the organization: you have visibility into what is being protected, how often it changes, and whether something looks wrong. The actions below focus on using that vantage point to support the broader remediation effort and to keep your backup data trustworthy.
The definitive fix for Copy Fail is applying vendor-issued kernel updates to affected production Linux systems. While patching is the responsibility of your infrastructure and platform engineering teams, Cohesity administrators can play a valuable coordinating role:
Cohesity administrators often have one of the most complete inventories of Linux systems in the organization - ideally every production workload flows through the backup platform. Use this visibility to support the patching effort:
If Copy Fail has already been exploited on a production system before patching, the evidence of that compromise may be present in your backup snapshots. Use Cohesity's threat detection capabilities to look for indicators:
These scans serve a dual purpose: they help identify already-compromised systems, and they establish a baseline so that you can distinguish between clean pre-exploit snapshots and potentially tainted post-exploit ones during a future recovery scenario.
In the event that a production system is confirmed compromised through Copy Fail, the recovery conversation will immediately turn to your backup data. Prepare for that conversation now:
If you are using Cohesity FortKnox for cyber vaulting, verify that recent vault copies are current and that vault access policies are enforced. An isolated copy provides a recovery path even in a worst-case scenario.
Once the infrastructure team has patched a production system, it is important to capture a clean backup promptly:
Vulnerability response is often led by security operations and infrastructure teams, and the backup team may not be included in early coordination calls. Be proactive:
Copy Fail is a deterministic logic flaw in the Linux kernel's cryptographic subsystem. The vulnerability resides in the algif_aead module, which implements the AEAD (Authenticated Encryption with Associated Data) socket interface within the kernel's user-space crypto API, known as AF_ALG.
The flaw resulted from the convergence of three independent kernel changes introduced over several years: the addition of the authencesn algorithm in 2011, AF_ALG gaining AEAD support in 2015, and a performance optimization in 2017 that introduced an in-place operation mode for AEAD encryption. This 2017 optimization caused the source and destination buffers to share a single scatterlist, which meant that page cache pages provided by the splice() system call were improperly placed in a writable position within the destination scatterlist.
During cryptographic operations, the authencesn algorithm uses the caller's destination buffer as a scratch pad to rearrange extended sequence numbers. Because of the shared scatterlist, this scratch-pad operation writes four controlled bytes past the legitimate output region, directly into the kernel's file page cache. Critically, the algorithm fails to restore those bytes afterward.
An unprivileged attacker exploits this by opening an AF_ALG socket, using splice() to pass page cache pages of a target file (such as /usr/bin/su) into the crypto subsystem, and then triggering the four-byte overwrite. The attacker controls the exact value written by specifying the low half of the sequence number in the Associated Authenticated Data during the sendmsg() call. The attacker controls where the overwrite lands by manipulating the splice offset, splice length, and associated data length parameters.
By targeting the page cache of a setuid-root binary, the attacker can inject a small shellcode payload into the binary's in-memory representation. When that binary is subsequently executed, it runs with root privileges and executes the attacker's code.
Several characteristics distinguish Copy Fail from prior Linux privilege escalation vulnerabilities:
The definitive fix is applying vendor-issued kernel updates. If patching is not immediately possible, the infrastructure team can disable the affected algif_aead kernel module. Please refer to your distribution’s vendor for mitigation details. CERT-EU has also offered mitigation details that are available on their website.
Important caveat: On some distributions, the algif_aead module is compiled directly into the kernel (CONFIG_CRYPTO_USER_API_AEAD=y) rather than loaded as a separate module. In that case, modprobe.d rules have no effect and rmmod cannot unload it. Infrastructure teams should verify whether the module is built-in on each distribution in use. For built-in configurations, kernel command-line parameters or a patched kernel are the only reliable mitigations.
This workaround does not affect dm-crypt/LUKS, kTLS, IPsec/XFRM, OpenSSL, GnuTLS, NSS, or SSH, so it should not disrupt normal application or backup agent operations on production hosts.
The upstream fix (commit a664bf3d603d) resolves the issue by reverting the 2017 optimization, separating the source and destination scatterlists so that page cache pages remain strictly in the read-only source buffer.
Copy Fail is a reminder that a single vulnerability in the Linux kernel can ripple across the entire production environment — and that the consequences extend into the backup lifecycle. Every unpatched Linux system that gets backed up carries the risk of preserving an attacker's foothold alongside the legitimate data your organization depends on for recovery.
Cohesity administrators are uniquely positioned to contribute to the response. You maintain one of the most complete inventories of production Linux systems in the organization. You have tools to scan snapshots for indicators of compromise. You control the retention policies that determine whether a known-good recovery point will still be available when it is needed. And you can coordinate with infrastructure and security teams to ensure that patching and backup schedules work together rather than at cross-purposes.
The work here is collaborative. Patching belongs to the infrastructure team. Threat investigation belongs to the security team. But ensuring that backup data remains clean, trustworthy, and recoverable — that is the data protection team's contribution to the response, and it is essential.
For the latest advisories and technical details, visit Cohesity REDLab.
Start your 30-day free trial or view one of our demos.