Copy Fail
Deterministic logic bug in the authencesn cryptographic template allowing unprivileged page-cache writes into setuid binaries and container escape.
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua.
Details
- Author
- Xint
- Introduced
- 4.14 72548b093ee3<>
- Fixed
- 6.19a664bf3d603d
- Stable
- 6.18.22, 6.12.19, 6.6.52, 6.1.118
Am I affected?
yes
dont run this
Timeline
- Reported to Linux kernel security team
- Initial acknowledgment
- Patches proposed and reviewed[2]
- Patch committed to mainline[1]
- CVE-2026-31431 assigned[3][4]
- Public disclosure[7]
Mitigation
Disable algif_aead if it's a loadable module
ok
echo "install algif_aead /bin/false" > /etc/modprobe.d/disable-algif-aead.conf
rmmod algif_aead 2>/dev/null || trueIf algif_aead is built into the kernel
With CONFIG_CRYPTO_USER_API_AEAD=y, blacklist the initcall via your bootloader and reboot.[7]
initcall_blacklist=algif_aead_initSources
- https://github.com/theori-io/copy-fail-CVE-2026-31431
- https://github.com/torvalds/linux/commit/a664bf3d603dc3bdcf9ae47cc21e0daec706d7a5
- https://ubuntu.com/blog/copy-fail-vulnerability-fixes-available
- https://access.redhat.com/security/vulnerabilities/RHSB-2026-02
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog
- https://nvd.nist.gov/vuln/detail/CVE-2026-31431
- https://copy.fail/