CVE-2026-31431: Linux kernel algif_aead page-cache write to root (Copy Fail)

Exploited in the wild High 7.8 EPSS 98.1% Linux kernel

The AF_ALG AEAD interface (crypto/algif_aead.c) processed data in place even though source and destination come from different mappings, letting a local unprivileged user corrupt the page cache of files they can only read, such as SUID binaries, and become root. A public exploit and a Metasploit module were released on 29 April 2026, and Ubuntu notes it may also enable container escape. Linux 4.14 and later are affected; CISA added it to KEV on 1 May 2026.

Also known as “Copy Fail”.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run Linux kernel and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. Reboot into the updated kernel. Live patches exist: Ubuntu Livepatch LSN-120-1 (1 Jun 2026) and LSN-0121-1; Red Hat kpatch-patch for RHEL 8.10 (RHSA-2026:15976), 9.7 (RHSA-2026:15978), 9.4/9.6 EUS and 8.6/8.8/9.0/9.2 E4S (none listed for 9.8 or 10, so reboot there); SUSE kernel-livepatch for SLES 12 SP5, 15 SP4-SP7 and 16.0; Amazon Linux 2 and 2023 kernel-livepatch updates.
  4. If you cannot patch today, apply the temporary mitigation below and patch as soon as possible.
  5. Because this flaw is being exploited, also check the server for signs of compromise.

Affected and fixed versions

Affected:

Fixed in:

Am I affected?

uname -r
dpkg -l 'linux-image*' | grep ^ii   # Debian/Ubuntu
rpm -q kernel   # RHEL/Fedora/Amazon/SUSE (SUSE: rpm -q kernel-default)
grep -qE '^algif_aead ' /proc/modules && echo 'algif_aead loaded' || echo 'algif_aead not loaded'
dpkg -l kmod   # Ubuntu: kmod mitigation update (USN-8226-1)
canonical-livepatch status --verbose   # Ubuntu Livepatch

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update
sudo apt upgrade
sudo reboot
Ubuntu
sudo apt update
sudo apt upgrade
sudo reboot
# Ubuntu 26.04 is not affected.
RHEL, AlmaLinux, Rocky, Oracle
sudo dnf upgrade kernel
sudo reboot
# RHEL 7: sudo yum update kernel
# no-reboot option where Red Hat ships kpatch for your stream (see restart):
# sudo dnf install "kpatch-patch = $(uname -r)"
Fedora
sudo dnf upgrade --refresh kernel
sudo reboot
SUSE / openSUSE
sudo zypper refresh
sudo zypper patch --category security
sudo reboot
Amazon Linux
# Amazon Linux 2023
sudo dnf upgrade --releasever=latest 'kernel*'
# Amazon Linux 2
sudo yum update kernel
sudo reboot
Arch Linux
sudo pacman -Syu
sudo reboot
Alpine
# as root
apk update
apk upgrade
reboot
FreeBSD
not Linux

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Fix status in Linux distributions

ReleasePackageStatusFixed version / advisory
Debian 12linuxfixed6.1.170-1
Debian 13linuxfixed6.12.85-1
Debian testinglinuxfixed6.19.12-1
Ubuntu 26.10linuxnot affected
Ubuntu 26.04linuxnot affected
Ubuntu 18.04 (ESM)linuxfixed4.15.0-250.262
Ubuntu 20.04 (ESM)linuxfixed5.4.0-230.250
Ubuntu 22.04linuxfixed5.15.0-179.189
Ubuntu 24.04linuxfixed6.8.0-117.117
Ubuntu 25.10linuxfixed6.17.0-29.29
Ubuntu 18.04 (ESM)linux-hwenot planned
Ubuntu 18.04 (ESM)linux-hwe-5.4fixed5.4.0-231.251~18.04.1
Ubuntu 20.04 (ESM)linux-hwe-5.8not planned
Ubuntu 20.04 (ESM)linux-hwe-5.11not planned
Ubuntu 20.04 (ESM)linux-hwe-5.13not planned
Ubuntu 20.04 (ESM)linux-hwe-5.15fixed5.15.0-179.189~20.04.1
Ubuntu 22.04linux-hwe-5.19not planned
Ubuntu 22.04linux-hwe-6.2not planned
Ubuntu 22.04linux-hwe-6.5not planned
Ubuntu 22.04linux-hwe-6.8fixed6.8.0-124.124~22.04.1
Ubuntu 24.04linux-hwe-6.11not planned
Ubuntu 24.04linux-hwe-6.14not planned
Ubuntu 24.04linux-hwe-6.17fixed6.17.0-29.29~24.04.1
Ubuntu 18.04 (ESM)linux-hwe-edgenot planned
Ubuntu 18.04 (ESM)linux-kvmfixed4.15.0-1174.179
Ubuntu 20.04 (ESM)linux-kvmfixed5.4.0-1146.155
Ubuntu 22.04linux-kvmfixed5.15.0-1100.105
Ubuntu 22.04linux-allwinner-5.19not planned
Ubuntu 26.10linux-awsnot affected
Ubuntu 26.04linux-awsnot affected
Ubuntu 18.04 (ESM)linux-awsfixed4.15.0-1192.205
Ubuntu 20.04 (ESM)linux-awsfixed5.4.0-1159.169
Ubuntu 22.04linux-awsfixed5.15.0-1108.115
Ubuntu 24.04linux-awsfixed6.8.0-1055.58
Ubuntu 25.10linux-awsfixed6.17.0-1015.15
Ubuntu 18.04 (ESM)linux-aws-5.0not planned
Ubuntu 18.04 (ESM)linux-aws-5.3not planned
Ubuntu 18.04 (ESM)linux-aws-5.4fixed5.4.0-1160.170~18.04.1
Ubuntu 20.04 (ESM)linux-aws-5.8not planned
Ubuntu 20.04 (ESM)linux-aws-5.11not planned
Ubuntu 20.04 (ESM)linux-aws-5.13not planned
Ubuntu 20.04 (ESM)linux-aws-5.15fixed5.15.0-1108.115~20.04.1
Ubuntu 22.04linux-aws-5.19not planned
Ubuntu 22.04linux-aws-6.2not planned
Ubuntu 22.04linux-aws-6.5not planned
Ubuntu 22.04linux-aws-6.8fixed6.8.0-1057.60~22.04.1
Ubuntu 24.04linux-aws-6.14not planned
Ubuntu 24.04linux-aws-6.17fixed6.17.0-1017.17~24.04.1
Ubuntu 22.04linux-azurefixed5.15.0-1114.123
Ubuntu 26.10linux-azurenot affected
Ubuntu 18.04 (ESM)linux-azurenot planned
Ubuntu 26.04linux-azurenot affected
Ubuntu 25.10linux-azurefixed6.17.0-1015.15
Ubuntu 20.04 (ESM)linux-azurefixed5.4.0-1163.169
Ubuntu 24.04linux-azurefixed6.8.0-1056.62
Ubuntu 18.04 (ESM)linux-azure-4.15fixed4.15.0-1201.216
Ubuntu 18.04 (ESM)linux-azure-5.3not planned
Ubuntu 18.04 (ESM)linux-azure-5.4fixed5.4.0-1163.169~18.04.1
Ubuntu 20.04 (ESM)linux-azure-5.8not planned
Ubuntu 20.04 (ESM)linux-azure-5.11not planned

From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.

If you cannot patch yet

CISA required action: "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

https://lore.kernel.org/linux-cve-announce/2026042214-CVE-2026-31431-3d65@gregkh/; https://xint.io/blog/copy-fail-linux-distributions#the-fix-6 ; https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/about/ ; https://nvd.nist.gov/vuln/detail/CVE-2026-31431

Related vulnerabilities

Sources

Page generated automatically from official sources on 2026-11-09 23:18 UTC and reviewed by an editor. Always confirm with your vendor's advisory.