The Register Home Page

back to article Attackers are cashing in on fresh 'CopyFail' Linux flaw

CISA is warning that a newly-disclosed Linux kernel bug dubbed "CopyFail" is already being exploited, just days after researchers dropped a working root-level exploit. Tracked as CVE-2026-31431, the bug sits in the Linux kernel and gives low-level users a way to take full control of a system by modifying data they should only …

  1. Alan Mackenzie
    Unhappy

    Has it been fixed? If so, in which kernel versions, please.

    Surely an organ like The Register could give some actual concrete information about failing and fixed versions.

    1. Paratrooping Parrot
      Alert

      Re: Has it been fixed? If so, in which kernel versions, please.

      The team patched the vulnerability in versions 7.0, 6.19.12, 6.18.12, 6.12.85, 6.6.137, 6.1.170, 5.15.204, and 5.10.254

      1. Doctor Syntax Silver badge

        Re: Has it been fixed? If so, in which kernel versions, please.

        Thanks.

        That's gone through to my current Devuan which is based on Debian old stable so that must also have been patched for all those who ran the recent kernel upgrade.

        1. Doctor Syntax Silver badge

          Re: Has it been fixed? If so, in which kernel versions, please.

          Rpi, OTOH, is well behind. Oh well, nobody's going to get physical access to mine and it doesn't even show up to the outside world.

          1. werdsmith Silver badge

            Re: Has it been fixed? If so, in which kernel versions, please.

            RPi have the mitigation available and also the kernel modification available if you want to go with the beta (which is effectively at its final release candidate state).

            1. cyberdemon Silver badge
              Alert

              Re: Has it been fixed? If so, in which kernel versions, please.

              If you are unable to patch it for whatever reason, you can still blacklist the syscall by adding the following to your boot args (e.g. in /etc/default/grub, followed by update-grub)

              initcall_blacklist=algif_aead_init

      2. ibmalone

        Re: Has it been fixed? If so, in which kernel versions, please.

        This is presumably why they haven't listed specific versions, because although mainstream kernels are fixed different vendors may also backport. Alma9 for example has kernel-5.14.0-611.49.2.el9_7 while RHEL9 has patches in 5.14.0-611.54.1.

    2. elsergiovolador Silver badge

      Re: Has it been fixed? If so, in which kernel versions, please.

      Why not create LOOT.md in the /root folder with a map where valuable stuff is and private key for some crypto for a lucky thief?

      1. Roland6 Silver badge

        Re: Has it been fixed? If so, in which kernel versions, please.

        Why not create a nice little honeypot to keep a hapless thief/AI crawler occupied…

    3. mfraz

      Re: Has it been fixed? If so, in which kernel versions, please.

      For Ubuntu there is more information here https://ubuntu.com/blog/copy-fail-vulnerability-fixes-available

      1. MonkeyJuice Silver badge

        Re: Has it been fixed? If so, in which kernel versions, please.

        The bigger news here is ubuntu.com is apparently no longer being kicked over.

      2. FirstTangoInParis Silver badge

        Re: Has it been fixed? If so, in which kernel versions, please.

        Indeed. I tested my three most important Ubuntu servers doing file and web serving against the cert-eu vulnerability test instructions and none were found to need patching.

        Looks like it’s only a problem if you have the vulnerable kernel module installed.

        1. Pete Sdev Silver badge
          Thumb Up

          Re: Has it been fixed? If so, in which kernel versions, please.

          Indeed, just tested the exploit PoC from copy.fail on a Debian server (not yet patched) and it didn't work.

    4. Anonymous Coward
      Anonymous Coward

      Re: Has it been fixed? If so, in which kernel versions, please.

      Surely an organ like The Register could give some actual concrete information about failing and fixed versions.

      including technical detail like that would just confuse the management types who frequent these pages these days.

      better to hint at things so pertinent answers to unheard questions can be put into the inevitable follow up article.

      https://copy.fail lists the details and fixes.

      this was made public on 2026-04-29 as per the timeline on that page

      1. Taliesinawen Bronze badge

        Re: Has it been fixed? If so, in which kernel versions, please.

        Copy Fail (CVE-2026-31431) is a logic bug in the Linux kernel's authencesn cryptographic template. It lets an unprivileged local user trigger a deterministic, controlled 4-byte write into the page cache of any readable file on the system. A single 732-byte Python script can edit a setuid binary and obtain root on essentially all Linux distributions shipped since 2017.”

        1. MonkeyJuice Silver badge

          Re: Has it been fixed? If so, in which kernel versions, please.

          As a side effect it also breaks subsequent cached executions of su so it stops requesting a password and you have now unlocked the front door for anyone else who can execute it. I hope you remembered to reset after determining you were vulnerable...

  2. MonkeyJuice Silver badge

    The timeline on this one was a bit ungentlemanly imo

    They dropped a root shell to salivating script kiddies before the patches were even IN Debian. Mitigations worked (and yes, technically the kernel could be manually patched and recompiled at a push) but at least give the major distros time to have shipped the new kernel images through the regular channels.

    1. David 132 Silver badge

      Re: The timeline on this one was a bit ungentlemanly imo

      These days, a lot of security researchers seem to be more focused on giving their newly-discovered vulnerability a cool name and logo; who has time for responsible disclosure?

      1. werdsmith Silver badge

        Re: The timeline on this one was a bit ungentlemanly imo

        I wouldn't have guessed that they have spent much time on that name.

      2. Anonymous Coward
        Anonymous Coward

        Re: The timeline on this one was a bit ungentlemanly imo

        Especially when said researchers are in the business of selling AI powered security testing software.

  3. jake Silver badge

    Slackware users ...

    ... This was patched in Sunday's kernel upgrade for both -stable and -current.

    Available at the usual mirrors.

  4. VoiceOfTruth Silver badge

    Downplayed by the Linux community

    I can imagine the finger pointing by penguins if this happened in Windows land.

    Who on earth thought it was ever right to undo what is meant by 'read only'? Somebody dropped an enormous clanger here. It makes me wonder what other stupidities and undoings of things we take for granted have crept into Linux.

    1. ItsAllGonePeteTong

      Re: Downplayed by the Linux community

      Oh no doubt their will be other clangers in there, but that's the nature of the beast. All software is like this.

      But Microsoft don't get off scott free here either, they've had vulnerabilities surface that have been in the system for years. They usually get a bit longer to patch and sort it out too.

      This vulnerability issue isn't a Windows versus Linux issue, it's the nature of software written with many complex moving parts. The odd bug is gonna appear, be it in Windows or Linux.

      The cool bit is how fast the Linux world responded and provided mitigating patches.

      1. werdsmith Silver badge

        Re: Downplayed by the Linux community

        No, it would never happened with Linux. It's Open Source so everyone can inspect the code, so Linux is secure.

        This whole copy fail thing just isn't real, it's a big AI hallucination.

        1. Anonymous Coward
          Anonymous Coward

          Re: Downplayed by the Linux community

          No-one is claiming this, and no-one has claimed anything like this. Except people like you, of course.

          1. Anonymous Coward
            Anonymous Coward

            Re: Downplayed by the Linux community

            So twenty years of "So many eyes on the code!" and "given enough eyeballs, all bugs are shallow" beaten into our heads, all of a sudden that hubris is dismissed because one of the world's largest-surface bugs gets acknowledged quickly?

            As Jim Zemlin said, "In these cases, the eyeballs weren't really looking".

          2. werdsmith Silver badge

            Re: Downplayed by the Linux community

            No-one is claiming this, and no-one has claimed anything like this. Except people like you, of course.

            Really? I must have been hallucinating all these years then.

            It's the denial that is the problem, along with the ridiculous sanctimony. Imagine how much further forward Linux could have been without these wankers.

            1. anonymous boring coward Silver badge

              Re: Downplayed by the Linux community

              The problem here: you wrote “it would never happened with Linux”

              No one claimed this. Try not working in absolutes if you have a desire to be right every once in a while.

      2. VoiceOfTruth Silver badge

        Re: Downplayed by the Linux community

        There you go... downplaying it.

        If read only does not mean read only, then that is a major problem. I wonder what else has gone wrong in the Linux world when I read this. Somebody somewhere tried to be clever, and totally negated the meaning of the words 'read only'.

        1. anonymous boring coward Silver badge

          Re: Downplayed by the Linux community

          It’s not intentional. It’s some kind of bug, which is evident from the text “… opening a path to tamper with cached data in ways that were never meant to be user-controlled”.

          You do understand that “read only” is a concept? It’s not that data is turned into stone somewhere, nor stored in EEPROM suddenly. If data is moved, and cached, the read only status has to be managed along with it, and enforced as well. The actual movement (copy+delete) requires writing, so the read only status has to be set after this operation and utilise a privileged, protected, operator.

  5. simpfeld

    Distro Disclosure didn't happen?

    If they told the Kernel Security team on the 23rd of March. Why didn't they tell the distros security teams?

    I thought they normally tell them?

    1. FirstTangoInParis Silver badge

      Re: Distro Disclosure didn't happen?

      I wouldn’t be surprised if the distro security teams are in a massive chat group with the kernel security team. That way, tell one and effectively you’ve told them all.

  6. Anonymous Coward
    Anonymous Coward

    That's it. I'm going back to Windows.

    1. tinpinion
    2. Will Godfrey Silver badge

      don't let the door hit your arse on the way out.

    3. jake Silver badge

      Might want to ...

      ... read up on Poe's Law. Saves time for all concerned.

      Unless you're trying to troll, of course. In which case, ask yourself "why?".

      https://en.wikipedia.org/wiki/Poe%27s_law

      1. werdsmith Silver badge

        Re: Might want to ...

        It seems an obvious tongue in cheek remark. Some might have missed that.

        1. jake Silver badge

          Re: Might want to ...

          As I said, you might want to look up Poe's Law.

          Unless you're trying to troll, of course. In which case, ask yourself "why?".

          https://en.wikipedia.org/wiki/Poe%27s_law

    4. Editra

      Not safe enough. I'm going back to TRS-DOS.

    5. AlbertH
      Facepalm

      And now a word from our sponsor......

      Enjoy your adverts!

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon