Copy Fail: Linux Kernel LPE via authencesn
Score: 8/10

Copy Fail: Linux Kernel LPE via authencesn

An unprivileged unprivileged user can gain root access on major Linux distributions by exploiting CVE-2026-31431, a deterministic 4-byte page cache write bug in the authencesn cryptographic template.

Executive Summary

The 'Copy Fail' vulnerability (CVE-2026-31431) is a critical logic flaw in the Linux kernel's crypto subsystem disclosed by Xint Code. Unlike previous high-profile kernel exploits that relied on race conditions, Copy Fail is a straight-line logic bug that allows an unprivileged local user to perform a controlled 4-byte write into the page cache of any readable file. This enables an attacker to modify the in-memory version of setuid binaries (like /usr/bin/su) to execute arbitrary shellcode as root without changing the file on disk.

The vulnerability is highly portable and has been demonstrated to affect major distributions including Ubuntu 24.04, Amazon Linux 2023, RHEL 10.1, and SUSE 16. Because the page cache is shared across the host, the exploit primitive also functions as a container escape mechanism, potentially allowing a compromise of the underlying host or Kubernetes node from a restricted pod. Systems running Linux kernels shipped since 2017 are likely vulnerable.

Organizations should prioritize patching kernels to the fixed version (e.g., commit a664bf3d603d). Immediate mitigation can be achieved by disabling the AF_ALG socket family or blacklisting the algif_aead kernel module to remove the primary attack surface reachable by unprivileged users.

Key Details

Threat Name

Copy Fail (CVE-2026-31431)

Affects

Linux kernel, Ubuntu, Amazon Linux, RHEL, SUSE

Adversary

—

MITRE Techniques

Malware/Tools

None identified

Report Score

8out of 10
Quality Score
Good
IOC Quality4
TTP Details9
Detection Guidance7
Enterprise Relevance9
Clarity & Structure9
Technical Depth10

Sources