From 732 bytes to nowhere: shutting down Copy Fail in production
Copy Fail (CVE-2026-31431) is a logic bug in the Linux kernel's algif_aead AF_ALG interface. It gives an unprivileged local user a 4-byte write into the page cache of any readable file. That is enough to patch setuid binaries in memory and gain root without changing the file on disk, so integrity checks miss it. Together AI mitigated it fleet-wide within hours, without reboots, by unloading the module and moving the .ko file out of the module path so it could not reload. They enforced this as an idempotent config-management health check and planned staged, soak-tested kernel rollouts by region. They will keep the module disabled after patching and are adding telemetry for unexpected AF_ALG use and anomalous privileged-binary behavior.
Related posts
- Mitigating CVE-2026-31431 (“Copy Fail”) in Docker Engine
Docker mediumAdeptCVE-2026-31431 ("Copy Fail") is a Linux kernel flaw in the AF_ALG algif_aead module. It lets any unprivileged process with an AF_ALG socket write to the shared page cache, so a default container can corrupt files such as setuid binaries for the host and for other containers. Docker's first mitigation in v29.4.2 blocked socket(AF_ALG) via seccomp and denied socketcall(2) outright, because BPF cannot inspect socketcall's pointer arguments. That broke networking for 32-bit glibc, Go GOARCH=386, Wine and SteamCMD workloads, and the int $0x80 path from amd64 could still reach socketcall anyway. Docker Engine v29.4.3 reverts the socketcall deny and blocks AF_ALG at the LSM socket-creation hook through AppArmor and a SELinux CIL module, keeping the seccomp filter as defense-in-depth; patching the kernel remains the real fix.
- Well, That Wasn't Fun: October 16 '26
Fly.io mediumAdeptA Linux kernel bug in IPv4 checksum offload validation let a guest VM direct the host to write its computed checksum into an already-trusted IPv4 header field. This enabled a firewall bypass and a 32-byte out-of-bounds read that could leak host memory or packets from neighboring VMs. XDP rules ran too early to catch the rewrite, and disabling offload required a reboot anyway, so Fly.io patched and rebooted its entire fleet in 10 hours. Reboots were sequenced in waves so no Managed Postgres cluster lost both nodes (17 waves in iad), with some hosts stuck in BIOS or lost to a failed power supply. The write-up also covers the decision to label the work as 'maintenance' rather than disclose vulnerability, the move of incident comms to the exec team, and advice to encrypt internal traffic, scope and expire agent credentials, and rehearse rotation.
- Virtualization, Responsible Disclosure, and CVE-2026-99312
DigitalOcean easyNovice
A KVM flaw on AMD hosts with nested virtualization let root inside a guest read and write physical host memory. Reported by Terra Security researcher Oren Yomtov, it was demonstrated on a DigitalOcean Droplet by reading about 127 GB of host RAM, and on a bare-metal server by writing 32 chosen bytes into a live host kernel page. The root cause is a stale page-table pointer left behind when a reset pulls a vCPU out of a nested VM, a gap missed by the 2022 fix for CVE-2022-3344. Self-hosters should upgrade to kernel 7.3.5, 6.18.64 or 6.12.118, or set kvm_amd nested=0 until they can. DigitalOcean live-patched its fleet.
- How We Found and Fixed a Filesystem Corruption Bug
Heroku Engineering mediumAdeptA failed Cedar-14 stack image rollback caused Heroku's container tools to truncate and overwrite a disk image while it was still mounted read-only as dynos' root filesystem. A container-tools upgrade had changed checksum filenames and digests, so the safety check that skips already-present images missed the existing image. Because the page cache still held old pages while the backing file was truncated or half-written, newly loaded binaries mixed cached and missing data and segfaulted for about five hours. A loop-mount reproduction shows the effect, and the fix was migrating dynos to fresh hosts and marking installed images read-only on the host.
- Apple MIE exploitation challenge
Calif hardMasterA public bypass of Apple MIE on macOS 26.4.1 chains two kernel bugs: an SMB create-context type confusion (CVE-2026-64704) in which a malicious server replies with a lease context and the parser reinterprets the client's Resolve ID object as a lease, and a WebDAV information leak (CVE-2026-64699) where the kext copies the full requested length from an uninitialized buffer after accepting an empty successful HTTP response. Together they can produce kernel read/write primitives and code execution; fixes are in macOS 26.6. The post withholds the full exploit until Black Hat USA and invites humans, AI, or human-AI teams to build a root exploit against MIE using the two bugs.