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”.
- CVE-2026-31431CVE identifier
- 7.8CVSS 3.1 base score (high)
- 2026-05-01added to CISA's exploited list (US federal deadline 2026-05-15)
- 98.1%EPSS: chance of exploitation in the next 30 days (higher than 100% of CVEs)
- 2026-04-22published
What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms
What to do now
- Check whether you run Linux kernel and which version (commands below).
- Install the fixed version for your system: see “Patch it” below.
- 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.
- If you cannot patch today, apply the temporary mitigation below and patch as soon as possible.
- Because this flaw is being exploited, also check the server for signs of compromise.
Affected and fixed versions
Affected:
- Linux 4.14 through 5.10.253
- Linux 5.11 through 5.15.203
- Linux 5.16 through 6.1.169
- Linux 6.2 through 6.6.136
- Linux 6.7 through 6.12.84
- Linux 6.13 through 6.18.21
- Linux 6.19 through 6.19.11
Fixed in:
- Linux 5.10.254
- Linux 5.15.204
- Linux 6.1.170
- Linux 6.6.137
- Linux 6.12.85
- Linux 6.18.22
- Linux 6.19.12
- Linux 7.0
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 rebootUbuntu
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 rebootSUSE / openSUSE
sudo zypper refresh
sudo zypper patch --category security
sudo rebootAmazon Linux
# Amazon Linux 2023
sudo dnf upgrade --releasever=latest 'kernel*'
# Amazon Linux 2
sudo yum update kernel
sudo rebootArch Linux
sudo pacman -Syu
sudo rebootAlpine
# as root
apk update
apk upgrade
rebootFreeBSD
not LinuxGeneral 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
| Release | Package | Status | Fixed version / advisory |
|---|---|---|---|
| Debian 12 | linux | fixed | 6.1.170-1 |
| Debian 13 | linux | fixed | 6.12.85-1 |
| Debian testing | linux | fixed | 6.19.12-1 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-611.54.1.el9_7 | fixed | RHSA-2026:13565 |
| Red Hat Enterprise Linux 9 | kernel-0:5.14.0-687.5.3.el9_8 | fixed | RHSA-2026:19225 |
| Red Hat Enterprise Linux 9 | kpatch-patch | fixed | RHSA-2026:15978 |
| Red Hat Enterprise Linux 8 | kernel-rt-0:4.18.0-553.123.1.rt7.464.el8_10 | fixed | RHSA-2026:13578 |
| Red Hat Enterprise Linux 8 | kernel-0:4.18.0-553.123.1.el8_10 | fixed | RHSA-2026:13577 |
| Red Hat Enterprise Linux 8 | kpatch-patch | fixed | RHSA-2026:15976 |
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-124.55.1.el10_1 | fixed | RHSA-2026:13566 |
| Red Hat Enterprise Linux 10 | kernel-0:6.12.0-211.7.3.el10_2 | fixed | RHSA-2026:19074 |
| Debian 13 (trixie) | linux | fixed | 6.12.85-1 (DSA-6238-1) |
| Debian 12 (bookworm) | linux | fixed | 6.1.170-1 (DSA-6243-1) |
| Debian 11 (bullseye) | linux | fixed | 5.10.251-3 (DLA-4560-1) |
| Debian 11 (bullseye) | linux-6.1 | fixed | 6.1.170-1~deb11u1 (DLA-4561-1) |
| Ubuntu 24.04 LTS | linux | fixed | 6.8.0-117.117 (USN-8278-1) |
| Ubuntu 24.04 LTS (HWE) | linux-hwe-6.17 | fixed | 6.17.0-29.29~24.04.1 (USN-8277-1) |
| Ubuntu 22.04 LTS | linux | fixed | 5.15.0-179.189 (USN-8279-1) |
| Ubuntu 20.04 LTS | linux | fixed | 5.4.0-230.250 (USN-8280-1) |
| Ubuntu 20.04 LTS (HWE) | linux-hwe-5.15 | fixed | 5.15.0-179.189~20.04.1 (USN-8279-1) |
| Ubuntu 18.04 LTS | linux | fixed | 4.15.0-250.262 (USN-8281-1) |
| RHEL 10.2 | kernel | fixed | 6.12.0-211.7.3.el10_2 (RHSA-2026:19074) |
| RHEL 10.1 | kernel | fixed | 6.12.0-124.55.1.el10_1 (RHSA-2026:13566) |
| RHEL 9.8 | kernel | fixed | 5.14.0-687.5.3.el9_8 (RHSA-2026:19225) |
| RHEL 9.7 | kernel | fixed | 5.14.0-611.54.1.el9_7 (RHSA-2026:13565) |
| RHEL 8.10 | kernel | fixed | 4.18.0-553.123.1.el8_10 (RHSA-2026:13577) |
| SLES 16.0 | kernel-default | fixed | 6.12.0-160000.37.1 |
| SLES 15 SP7 | kernel-default | fixed | 6.4.0-150700.53.78.1 |
| SLES 15 SP6-LTSS | kernel-default | fixed | 6.4.0-150600.23.100.1 |
| SLES 15 SP5-LTSS | kernel-default | fixed | 5.14.21-150500.55.182.1 |
| SLES 12 SP5-LTSS | kernel-default | fixed | 4.12.14-122.323.1 |
| Amazon Linux 2023 | kernel | fixed | 6.1.168-203.330.amzn2023 (ALAS2023-2026-1651) |
| Amazon Linux 2023 | kernel6.12 | fixed | 6.12.80-106.156.amzn2023 (ALAS2023-2026-1650) |
| Amazon Linux 2023 | kernel6.18 | fixed | 6.18.20-41.237.amzn2023 (ALAS2023-2026-1649) |
| Amazon Linux 2 | kernel | fixed | 4.14.355-281.727.amzn2 (ALAS2-2026-3289) |
| Amazon Linux 2 (kernel-5.10 extra) | kernel | fixed | 5.10.252-250.1016.amzn2 (ALAS2KERNEL-5.10-2026-116) |
| Amazon Linux 2 (kernel-5.15 extra) | kernel | fixed | 5.15.202-142.235.amzn2 (ALAS2KERNEL-5.15-2026-101) |
From the Debian security tracker, Ubuntu CVE tracker and Red Hat Security Data API, refreshed every few hours.
If you cannot patch yet
- Debian/Ubuntu (algif_aead is a module): echo 'install algif_aead /bin/false' | sudo tee /etc/modprobe.d/manual-disable-algif_aead.conf && sudo rmmod algif_aead 2>/dev/null; reboot if it stays loaded. Ubuntu's kmod update (USN-8226-1) applied this automatically. Some apps may lose hardware-accelerated crypto.
- RHEL (algif_aead is built in, cannot be blocklisted): add a boot argument, e.g. sudo grubby --update-kernel=ALL --args='initcall_blacklist=algif_aead_init' and reboot. Red Hat lists initcall_blacklist=af_alg_init or initcall_blacklist=crypto_authenc_esn_module_init as alternatives.
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
- CVE record CVE-2026-31431
- NVD CVE-2026-31431
- CISA KEV entry CVE-2026-31431
- Debian security tracker CVE-2026-31431
- Ubuntu CVE page CVE-2026-31431
- Red Hat CVE page CVE-2026-31431
- SUSE CVE page CVE-2026-31431
- Amazon Linux ALAS CVE page CVE-2026-31431
- Red Hat RHSB-2026-002 Copy Fail bulletin
- Ubuntu: Copy Fail fixes and mitigation
- Copy Fail disclosure site
- oss-security: Copy Fail disclosure
- linux-cve-announce: CVE-2026-31431
- Ubuntu Livepatch notice LSN-0121-1
- https://git.kernel.org/stable/c/893d22e0135fa394db81df88697fba6032747667
- https://git.kernel.org/stable/c/19d43105a97be0810edbda875f2cd03f30dc130c
- https://git.kernel.org/stable/c/961cfa271a918ad4ae452420e7c303149002875b
- https://git.kernel.org/stable/c/3115af9644c342b356f3f07a4dd1c8905cd9a6fc
- https://git.kernel.org/stable/c/8b88d99341f139e23bdeb1027a2a3ae10d341d82
- https://git.kernel.org/stable/c/fafe0fa2995a0f7073c1c358d7d3145bcc9aedd8
Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.