Copy Fail (CVE-2026-31431)
Checked on October 23, 2026. Copy Fail (CVE-2026-31431) is a Linux kernel vulnerability allowing a local user to gain root privileges. It does not independently allow remote code execution. See the Ubuntu announcement for instructions and current fix status.
Affected servers
On Ubuntu 22.04 and 24.04, check the specific kernel in use; Canonical lists Ubuntu 26.04 as unaffected. Fix availability for older releases also depends on support coverage and Ubuntu Pro where applicable. The cloud's managed service security overview does not confirm the VM kernel's patch status.
Check via SSH
Open the terminal or SSH with sudo access:
cat /etc/os-release
uname -r
dpkg -l 'linux-image*'
dpkg -l kmod
Record the running kernel. Compare its series and version with Ubuntu's table in the source above; distinguish generic, HWE and other kernel variants.
Update and reboot the server
Before maintenance, verify an available backup and schedule downtime for all VM applications. Refresh package lists and review the proposed changes:
sudo apt update
sudo apt upgrade
This procedure also updates other system packages. Confirm that a fixed kernel for your server was actually installed. If APT offers no kernel, holds it back, or the server uses a custom kernel, follow Canonical's instructions for the relevant metapackage or contact support.
After successful installation, restart the server in the cloud or via SSH:
sudo reboot
SSH disconnects. Once reconnected, run uname -r, compare the running kernel against Ubuntu's fixed version, and check websites and processes. A newer kmod version alone does not prove the running kernel is fixed.
Temporary risk reduction
An earlier kmod update blocked the algif_aead module as a temporary measure. If you cannot patch the kernel yet, Canonical documents manual module blocking and unloading in its official procedure. Unloading can fail if the module is in use or affect applications. After installing and booting a fixed kernel, check whether temporary configuration should be removed using the same guide.