This critical Linux vulnerability is putting millions of systems at risk – how to protect yours


This critical Linux vulnerability is putting millions of systems at risk - how to protect yours

Kerry Wan/ZDNET

Follow ZDNET: Add us as a preferred source on Google.


ZDNET key takeaways

  • Copy Fail is a dangerous Linux vulnerability.
  • This flaw makes gaining root access easy for attackers.
  • Copy Fail affects millions of Linux systems.

CVE-2026-31431, also known as Copy Fail, is a critical Linux kernel vulnerability that’s been hiding out since 2017 and is now getting the security spotlight it deserves.

Also: This simple Linux tweak fixes crashes automatically – and it costs me nothing

Oftentimes, Linux vulnerabilities can be a bit overblown, but not in this case. Copy Fail is serious business and should be considered an issue that must be mitigated.

What is Copy Fail?

Let’s talk about Copy Fail in terms that anyone can understand.

Imagine your computer’s memory as a chalkboard, where a teacher keeps track of your grades in real time. You don’t allow students to use either chalk or erasers, so they can’t change their grades. The “Copy Fail” vulnerability is like a sneaky student who somehow gains access to an eraser and chalk, and he changes just his grade while you’re not looking.

Essentially, Copy Fail is a flaw in the Linux system that is in charge of handling security for certain types of data. The flaw allows an attacker, who has just basic access to a system, to alter a crucial piece of data that exists within the computer’s RAM. Once the change is made, the altered data can trick the system into thinking that the attacker is the root user, giving the attacker full control over the system.

Also: 6 reasons a minimal Linux install might be the smartest move you make

Think of it this way: A janitor takes the nameplate from the boss’s office and slaps it on the wall beside his closet so everyone thinks he is the boss.

That’s Copy Fail.

A difference between Copy Fail and other vulnerabilities that have hit Linux is that this one doesn’t require specific timing or certain events to happen in an exact order. It’s much easier, and its effects can be devastating.

A bit more detail

For those who want a bit more detail about Copy Fail: It abuses the AF_ALG socket interface and splice() system call to overwrite a mere 4 bytes in the kernel’s page cache for any readable file. Once this occurs, attackers can then modify the setuid binaries, such as the su command, that are in memory to gain root access.

Copy Fail is different from “race condition” exploits because it’s a stable, straight-line vulnerability that doesn’t require timing-dependent retries to elevate permissions.

Also: The first 8 Linux commands every new user should learn

Copy Fail affects all Linux kernels from 4.14 to 6.19.12. You read that right: kernels from 2017 to the present.

According to the Xint Code Research Team, “This finding was AI-assisted, but began with an insight from Theori researcher Taeyang Lee, who was studying how the Linux crypto subsystem interacts with page-cache-backed data. He used Xint Code to scale his research across the entire crypto subsystem, and Copy Fail was the most critical finding in the report.”

How to avoid Copy Fail

The easiest way to mitigate the Copy Fail Linux vulnerability is to update your kernel to the latest version. To find out if your kernel has been patched against Copy Fail, issue the following command:

dpkg -l kmod grep -qE ‘^algif_aead ‘ /proc/modules && echo “Affected module is loaded” || echo “Affected module is NOT loaded”

If your kernel has been patched, you’ll see “Affected module is NOT loaded.” If your kernel has not been patched, you’ll see “Affected module is loaded.” If you run into the latter, make sure to update your system and rerun the command. If, after an update, your system is still not patched, you can disable the algif_aead module with the command:

install algif_aead /bin/false” > /etc/modprobe.d/disable-algif.conf

Also: You can use Linux 7.0 on these 7 distros today – here’s what to expect

You can then unload the module with:

rmmod algif_aead

You now know enough about Copy Fail to stay protected.





Source link

Leave a Reply

Subscribe to Our Newsletter

Get our latest articles delivered straight to your inbox. No spam, we promise.

Recent Reviews







We may receive a commission on purchases made from links.

A toolkit can go a long way toward helping you stock up on essentials. All of the major tool brands offer different kinds, including the longstanding power and hand tool favorite, Craftsman. Its products can be found in many online stores, and Amazon is currently holding a major sale. At the time of publication, a 262-piece Craftsman hand tool set is on a massive markdown of 40% off, saving you $100 at checkout.

The collection currently costs $149, which is still a lot of money, but is a big budgetary improvement over the $249 regular price. With the discount, you’re getting more for your dollar, and this kit includes 118 sockets, three ratchets to use them on, 24 wrenches, 44 hex keys, 66 specialty bits, and seven extra accessories. The set comes in a three-drawer, handled toolbox that’s part of the Craftsman VersaStack modular storage system. You’re also getting a full lifetime warranty.

While the price and quantity of tools may seem right, what is there to say about the quality of this Craftsman kit? According to most customers, it’s a worthwhile buy for any DIYer, even without a huge sale to sweeten the deal.

How online buyers feel about this Craftsman tool kit

On Amazon, the response to this specific Craftsman tool kit has been resoundingly positive. There are currently close to 300 reviews discussing this specific variant and over 10,000 for the overall product, and the vast majority gave it five stars. Most found the quality of the tools and sockets more than up to par, the VersaStack toolbox sturdy and great for organization and protection, and the price adequate. Still, it’s often said this is more of a beginner or around-the-house kind of kit, so if you want it for professional use, it’s not considered the strongest option on the market.

Elsewhere online, this kit has continued to garner largely positive press. On the Craftsman website itself, almost all of the 18 reviews gave it five stars. Some applauded the functionality of the VersaStack case and its ability to connect to other boxes in the line, while others praised the versatility of the tools within. Meanwhile, most of the 289 reviews on Lowe’s website are five-star and approve of the kit’s piece selection and durability.

There are a lot of great mechanic tool sets for anyone’s budget, and there could be a case to make that this Craftsman 262-piece set belongs alongside them. At its sale price or otherwise, it’s a hit across several retailers. Whether it’s the right set for you and your hand tool-related needs, though, is a question only you can answer. 





Source link