HOME
[kal_foundry] services work about team get a quote ↗

copy fail: a 732-byte script gets root on major linux distributions

A Linux kernel bug let any local user become root with a short, reliable script, and because the page cache is shared across containers on a host it put Kubernetes nodes and CI runners at risk.

vulnerability exploited 5 sources · 5 primary 1 min read
// at a glance
cve
CVE-2026-31431
cvss
7.8 (v3.1, secondary scorers listed by NVD)
affected
Linux kernels carrying the 2017 algif_aead in-place optimization, up to the fixed stable releases
fixed in
5.10.254, 5.15.204, 6.1.170, 6.6.137, 6.12.85, 6.18.22, 6.19.12 (or your distribution's kernel update)
exploited
yes — added to CISA KEV 2026-05-01
platforms
Linux (major distributions; container hosts)

what happened

where sources differSources disagree on where the affected range starts. Xint and CERT-EU say kernels since 2017, CERT/CC says 4.17 onward, and NVD's configuration starts at 4.14. NVD published the kernel CVE record on 2026-04-22; Xint's public disclosure was 2026-04-29.

sources5

  1. 01
    Copy Fail: 732 Bytes to Root on Every Major Linux Distribution ↗ primaryXint (Theori)accessed 2026-10-21
  2. 02
    CVE-2026-31431 (NVD CVE API 2.0 record) ↗ primaryNIST National Vulnerability Databaseaccessed 2026-10-21
  3. 03
    CISA Known Exploited Vulnerabilities Catalog (JSON feed, catalogVersion 2026.10.21) ↗ primaryCISAaccessed 2026-10-21
  4. 04
    High Vulnerability in the Linux Kernel ("Copy Fail") — Security Advisory 2026-005 ↗ primaryCERT-EUaccessed 2026-10-21
  5. 05
    VU#260001: Linux kernel contains local privilege escalation vulnerability (Copy Fail) ↗ primaryCERT/CCaccessed 2026-10-21