‘An hour of scan time is all it took’: “Copy Fail” flaw impacts all Linux kernels released since 2017, so patch now or face the consequences
- Experts reveal “CopyFail” flaw affecting Linux distros
- All Linux kernels released after 2017 are vulnerable
- Users urged to patch now or risk account takeover
Security experts have warned of a major new vulnerability affecting Linux kernels, urging users to patch and upgrade without delay.
The critical privilege escalation flaw, discovered by experts at Theori and dubbed “Copy Fail” can grant root privileges across all major Linux distributions, with containerized environments being especially vulnerable.
All Linux kernels released after 2017 are vulnerable to the issue, which could allow an unprivileged local attacker to gain root permissions – but patches are available now for users to secure their systems.
Article continues below
Update now
Tracked as CVE-2026-31431, the exploit, which is just 732 bytes of Python code rooting Ubuntu, Amazon Linux, RHEL, and SUSE, is “a straight-line logic flaw,” requiring no race conditions or kernel-specific offsets.
It added the issue “is a logic bug in the Linux kernel’s authencesn cryptographic template” which means an authenticated user can reliably perform a “4-byte write in to the page cache of any readable file on the system.”
BleepingComputer notes that by combining the ‘AF_ALG’ socket-based interface, which gives access to the Linux kernel crypto functions from user space, and the splice() system call, then means an unprivileged user can make a 4-byte controlled write in the page cache of a file, instead of a normal buffer – and if those 4 bytes hit a setuid-root binary, they can alter its behavior when executed, giving the attacker root privileges.
Theori says it found the flaw using Xint Code, its AI-powered pentesting platform, which had been tasked with scanning the Linux crypto / sybsystem for issues.
Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed!
“Same script, four distributions, four root shells – in one take. The same exploit binary works unmodified on every Linux distribution,” its blog post explains.
Theori says it reported its finding to the Linux kernel security team on March 23 2026, and patches became available within a week. It also created a proof-of-concept exploit for the flaw, which it says is “100% reliable” across the major Linux distros listed above.
“Copy Fail is not a story about a single bug, or about one team’s tooling. It’s a data point that the cost of finding deep logic flaws may have dropped by something like an order of magnitude,” noted David Brumley, Chief AI and Science Officer at Bugcrowd.
“If your threat model still budgets kernel LPEs as rare, you probably have weeks to update that—not years.”

Follow TechRadar on Google News and add us as a preferred source to get our expert news, reviews, and opinion in your feeds.
Experts reveal “CopyFail” flaw affecting Linux distros All Linux kernels released after 2017 are vulnerable Users urged to patch now or risk account takeover Security experts have warned of a major new vulnerability affecting Linux kernels, urging users to patch and upgrade without delay. The critical privilege escalation flaw, discovered…
Recent Posts
- Quote of the day by Google Quantum AI founder Hartmut Neven on recent quantum breakthroughs: “It lends credence to the notion that quantum computation occurs in many parallel universes”
- Congress passed a giant infrastructure bill
- Google will allow you to opt out of AI training without losing your search history
- This $100 wide-seat office chair is designed for everyone who prefers to sit cross-legged at work
- Google’s push for AI in schools sparks class action suit from parents
Archives
- December 2026
- November 2026
- October 2026
- September 2026
- August 2026
- July 2026
- June 2026
- May 2026
- April 2026
- March 2026
- February 2026
- January 2026
- December 2025
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023