Last Tuesday, loads of Linux users—many running packages released as early as this year—started reporting their devices were failing to boot. Instead, they received a cryptic error message that included the phrase: “Something has gone seriously wrong.”

The cause: an update Microsoft issued as part of its monthly patch release. It was intended to close a 2-year-old vulnerability in GRUB, an open source boot loader used to start up many Linux devices. The vulnerability, with a severity rating of 8.6 out of 10, made it possible for hackers to bypass secure boot, the industry standard for ensuring that devices running Windows or other operating systems don’t load malicious firmware or software during the bootup process. CVE-2022-2601 was discovered in 2022, but for unclear reasons, Microsoft patched it only last Tuesday.

The reports indicate that multiple distributions, including Debian, Ubuntu, Linux Mint, Zorin OS, Puppy Linux, are all affected. Microsoft has yet to acknowledge the error publicly, explain how it wasn’t detected during testing, or provide technical guidance to those affected. Company representatives didn’t respond to an email seeking answers.

  • @[email protected]
    link
    fedilink
    1544 months ago

    So, no booting into Windows until this is fixed then? Fine by me. Hell, might actually make me uninstall it completely and free some disk space…

    • Responsabilidade
      link
      fedilink
      624 months ago

      Well… It’s the opposite… People affected by this issue could not boot Linux…

      • @[email protected]
        link
        fedilink
        96
        edit-2
        4 months ago

        Right, but you have to boot into Windows first to even get the update in the first place…

        • Responsabilidade
          link
          fedilink
          -334 months ago

          But if you don’t boot Windows first you’ll not be affected by this issue. So my statement is correct

      • RBG
        link
        fedilink
        5
        edit-2
        4 months ago

        Woah, interesting. Is that like a legal option because it looks like it doesn’t ask you to provide an image or whatever? Not that I mind either way, just curious if this is prone to be deleted soon or not.

        What’s the upside of having it in a VM?

        Edit: nevermind the legality, found a disclaimer at the bottom of the page.

        • @[email protected]
          link
          fedilink
          64 months ago

          The upside is you can treat it as just another program with a big flat file that serves as it’s hard disk. You can move a VM between computers, they’re universal. Hell you can move it to a data center and hardly notice a difference. You can make a snapshot, try something out, and if it borks, roll it back to a previous snapshot. You can copy the VM any number of times.

          Basically it decouples operating systems from hardware so you can treat a computer like software.

      • @[email protected]
        link
        fedilink
        1
        edit-2
        4 months ago

        Oh cool! I’ll need to look into that, thanks! Wonder if there’s a way to convert an existing Windows parition into this somehow, installed software and all, because that would be perfect…

    • @[email protected]
      link
      fedilink
      English
      54 months ago

      The update was meant to fix a situation where an attacker would somehow get grub onto a machine that was SINGLE booting windows and use grub to tamper with secureboot. this fix was meant to only apply in single boot situations where it should be entirely unexpected to see grub. as they said, something went seriously wrong.

  • @rockSlayer
    link
    1164 months ago

    CVE-2022-2601 was discovered in 2022, but for unclear reasons, Microsoft patched it only last Tuesday.

    I respect their journalistic integrity for not speculating, but it was definitely because the NSA was exploiting it.

        • @[email protected]
          link
          fedilink
          304 months ago

          No, they really are. No doubt they do plenty of stuff at the behest of the NSA, but they are also a deeply disfunctional company with conflicts between departments and bare minimum funding for security, since it’s seen as a cost centre

        • Possibly linux
          link
          fedilink
          English
          64 months ago

          I hate to break it to you but why would the NSA need a security hole in secure boot. They already have all your data from Windows plus Microsoft has the decryption keys.

          • @[email protected]
            link
            fedilink
            English
            04 months ago

            Because some users are putting that data on Linux. So they want Linux to be killed.

            They can’t change grub. But they sure as hell can convince micro$org to search for and nuke it.

            Of course no idea if this happened. Just answering why they would might want to.

  • @[email protected]
    link
    fedilink
    1144 months ago

    “secure” boot, the industry standard for ensuring that devices don’t run software other than Windows during the bootup process

    FTFY

    • @[email protected]
      link
      fedilink
      14 months ago

      Nah, you can enroll your own keys and set it up so you can be reasonably certain that your boot image hasn’t been altered, validating its integrity against the potential threat of bootkits. I do this with my Gentoo install.

    • Possibly linux
      link
      fedilink
      English
      304 months ago

      It is fine if you only accept signatures from yourself. However, that’s a lot of work as you need to sign everything.

      • @[email protected]
        link
        fedilink
        154 months ago

        Good luck replacing the PKI on your system’s Secure Boot firmware. Most platforms probably don’t support it and have no documentation

      • Norah - She/They
        link
        fedilink
        English
        44 months ago

        How is it a lot of work? There’s generally one sig you have to add on installing a new OS. Sometimes, rarely, one for a new kernel module. It’s not like you sign every single package you boot.

        • Possibly linux
          link
          fedilink
          English
          24 months ago

          Still takes work. You also need to disable all other keys if you want it to matter in terms of security.

          • Norah - She/They
            link
            fedilink
            English
            34 months ago

            What are you talking about with “disabling all other keys”? You don’t need to do this at all. You’re seriously making a mountain out of a molehill.

            • Possibly linux
              link
              fedilink
              English
              54 months ago

              Why wouldn’t you disable other keys? If anyone can boot anything why use secure boot?

              • Norah - She/They
                link
                fedilink
                English
                4
                edit-2
                4 months ago

                I think you’re misunderstanding the purpose of Secure Boot. It’s not designed, nor very good at, preventing physical access. It’s designed to verify the authenticity of the code you are booting each time, most generally to prevent remote attacks. Think of it more like how HTTPS works. The reason you commonly have to install new keys when installing Linux is because there are separate ones for the bootloader, the OS, and kernel modules. GRUBs is generally already in the database. The OS can be hit and miss, Canonical generally has theirs included for example. Then there’s the kernel modules. If they were built and included in binary form, they’re usually signed with the same key as the OS. But if they’re built locally, say when you install NVIDIA driver’s, then they’re signed with a local key, which has to be enrolled. So it’s similar to a self-signed HTTPS certificate. A lot of routers use those, and browser’s will throw a big warning you have to click through. It’s the same with Secure Boot. For example, if a virus tries to build a malicious kernel module, it will throw the same enrollment screen, which would let you know something’s up if you didn’t initiate it. There also has to be a password, that you set in userspace, and then re-enter on the enrollment screen, confirming that it’s a requested action.

                Disabling other keys won’t prevent someone from simply entering the bios and disabling Secure Boot first if they have physical access, which would let them boot anything. If you want to prevent that, then the methods you would generally use is setting a system password in the BIOS it asks for each boot, or disabling other boot options (or the boot menu depending on the computer) and setting a BIOS password. However, if you’re trying to prevent people from booting other OSes as a way to protect your files from being accessed, well someone could just take the drive out with physical access. The best practice there is to encrypt the drive with something like BitLocker, FileVault or LUKS/dm-crypt (basis of many distros full-disk encrypt features).

                Edit: You could also have Secure Boot enabled, delete every other key and set a BIOS password if you wanted too I guess. I haven’t tried, nor read of anyone trying too.

  • @[email protected]
    link
    fedilink
    78
    edit-2
    4 months ago

    I’m confused - why is Microsoft trying to - or expected to, by the article authors - patch a vulnerability in GRUB?

    • @Peffse
      link
      1024 months ago

      It was supposed to patch Secure Boot, not demolish GRUB.

      That’s why it’s a problem.

    • @Reddfugee42
      link
      English
      124 months ago

      It was a Windows vulnerability that allowed an exploit box GRUB

      • @[email protected]
        link
        fedilink
        English
        134 months ago

        it was a vulnerability in Grub tho, i understand the Microsoft hate but not to the extant of lying.

        • @Reddfugee42
          link
          English
          1
          edit-2
          4 months ago

          Nothing in a third party software suite should be able to defeat Microsoft’s security. So yeah, it was a problem Microsoft needed to fix in Microsoft software. If there’s something grub also needed to attend to, that’s a different matter as far as Microsoft’s concerned.

    • @[email protected]
      link
      fedilink
      34 months ago

      Because they don’t want ignorant end users to blame them if the ancient, unpatched version of GRUB that’s at issue is used as part of an exploit attacking Windows boxes.

  • @[email protected]
    link
    fedilink
    564 months ago

    I get to dual boot at work (I run mint btw) and the only reason I ever boot into windows every week or three is to make sure it doesn’t get so out of date that it gets booted from the network.

    I guess it’s time to stop that shit! Having windows available is not worth the risk of messing up my work machine. Hell I’m tempted to nuke that windows partition and double the size of my /home partition!

    Though I will give Microsoft credit that m365 stuff, including video calls in Teams, work great using the web versions in Firefox. That’s even with the security and privacy stuff cranked up. I only white listed those sites for cookies and local storage for convenience.

    • @UnPassive
      link
      English
      74 months ago

      Years ago I finally nuked my Windows dual boot after one of their updates broke it. I still remember my laptop booting into Windows and being so confused. Haven’t missed it once.

    • @[email protected]
      link
      fedilink
      14 months ago

      Whaaaat, you’re having a good experience with teams in Firefox? I’ve run into all kinds of problems with teams under Firefox in linux, particularly with codecs and not being able to receive video. It works better under edge in linux, but unsurprisingly, the best teams experience is under the native client in Windows.

      • @[email protected]
        link
        fedilink
        14 months ago

        Yeah, honestly it’s worked fine without any fiddling around. If it makes a difference, I tend to do things like let mint use non-free components if necessary, and I know I do have the “play drm stuff” option turned on I’m Firefox, even though the privacy and security stuff is all strict.

        It’s just a Dell laptop with a discrete nvidia gpu in addition to the embedded Intel one. I think it works fine though with either the open drivers or the closed nvidia ones, but I don’t know if it touches that gpu.

  • pipsqueak1984
    link
    fedilink
    544 months ago

    This sort of ridiculousness is why I got two seperate drives (needed the extra space anyways) and choose which one to boot from the mobo EFI menu.

    • @[email protected]
      link
      fedilink
      204 months ago

      Yep, I don’t even fuck with grub since that has fucked me over in the past too, I just go into the fucking bios and select it manually lmao

  • @[email protected]
    link
    fedilink
    English
    494 months ago

    I just tried installing this patch tonight on my windows drive - not because I use windows, just to… you know… keep it updated and secure I guess.

    It literally won’t even install. It just fails out every time. Whatever. Microsoft releases so many bad patches lately. WTH are they even doing over there? Windows used to be king and they’ve been screwing it up since 8 came out.

    • @[email protected]
      link
      fedilink
      English
      63
      edit-2
      4 months ago

      Microsoft fired its entire QA team 10 years ago, and shifted the responsibility for testing onto developers. They also got rid of their dedicated hardware lab where software would be tested on many different hardware combinations.

      I have worked in two companies that made the same move of firing QA, and in both the quality of the released software took a marked dive. (In neither company did senior management admit that what everyone warned them would be a mistake was a mistake. Instead they blamed developers.)

      These days Microsoft’s testing team is whichever users receive each update first. They rely on users and telemetry to do what should be the job of dedicated testers.

      • @[email protected]
        link
        fedilink
        English
        234 months ago

        This is hardly a new thing for MS. One of the first emails I remember getting when I got to college back in 2003 was from campus IT begging people not to install the latest XP update because it reenabled a vulnerability to existing malware.

  • Mactan
    link
    fedilink
    434 months ago

    windows update can and will always find your dual boot eventually and break it

    • @[email protected]
      link
      fedilink
      34 months ago

      I got around that by having two EFI partitions, grub linux partition is loaded always at boot and it chainloads to the Windows EFI boot partition if I choose Windows. Windows does not know another partiton exists.

        • @[email protected]
          link
          fedilink
          14 months ago

          Probably, but so far so good after 7 years, only thing is I have to enrol the MOK? key in the Secure boot after major kernel updates. Which amount to typing a password at the MOK boot screen to enroll the key

  • mortimer
    link
    English
    41
    edit-2
    4 months ago

    So glad I recently removed Windows from my former dual boot system completely. Was sick of getting errors during Linux boot up after running Windows for that one piece of software I couldn’t get to work in Wine or Bottles. The culprit I assumed was Windows updates, which I attempted to disable through the registry on several occasions. It would work for a short period and then Microsoft, in all their wisdom, would just reenable updates because clearly they know better than I what I want my system to do. The last time it happened was the final straw for me when I wanted to boot into Windows briefly only to be left waiting half an hour for Windows to apply updates on shutdown. Pissed me off so much I killed the power mid-update, booted up a live partition tool and wiped Windows off my system completely (updating the grub to remove dual boot). That’s when I discovered that not properly shutting down Windows would mark my other drives dirty and make them read only. To fix this I ended up having to insert Windows installation media and pretend like I wanted to reinstall Windows 10 again. Once it got to the stage when it was about to write to the drive I cancelled the installation and rebooted back into Linux. Voilà! Could write to my drives again. To hell with Windows. I’d rather live without that one piece of software and have my system do what I want it to do rather than it second guess me and disregard my instructions. This whole automatic update thing really boiled my piss. At least with Linux I can choose to apply updates when it’s convenient for me to do so.

    • @uranibaba
      link
      104 months ago

      I have two pieces of software I cannot live without, to the point that I would rewrite them for Linux if it came to that. Running Windows as a VM using Virtual Box has been a nice experience so far. (Given that both software are not CPU nor GPU heavy and could run on a tree if need be.)

      • @[email protected]
        link
        fedilink
        104 months ago

        I installed windows 11 in kvm based vm and gave it 80GB of space on ssd. I have booted into it abot 5 to 6 times in last year or so. I hate that I have to keep it, but its nice to have when some shitty websites demand that they work only on windows. (I mean wtf, its a f*ing website)

        • @uranibaba
          link
          24 months ago

          I can relate. Last time that happened, I gave up or trying to find out how that works and just used another computer that was already connected to the TV.

      • @[email protected]
        link
        fedilink
        64 months ago

        What two pieces of software, if you don’t mind sharing?

        I ask because a relative who is a software developer could somehow barely finally leave windows, because of WinSCP, which is, afaik, a GUI for secure copy commands. Why rsync or sftp commands cannot be enough for a software developer without WinSCP was beyond me. But perhaps there is something I don’t know about each of these pieces of software.

        • @uranibaba
          link
          24 months ago

          BookLibConnect and AaxAudioConverter. I use them do download my Audible purchases. They are both written using WPF (or some other Windows API only GUI lib) and thus cannot be run on Linux. I might rewrite them using the newest C# cross platform library, but that library does not compile native on Linux, only on Windows… (Unless you use the community maintained version).

          I did try to find replacement for both for them but their ease of use and the conversion tool for axx to m4b made it preferable to just install Windows in a VM.

          As for WinSCP, it is a SFTP/FPT client that is really nice and I did miss it initially as well. But Nautilus file manager has both SFTP and FTP support built into it. And if you want a dedicated client, I can recommend Terminus (but I am not a heavy user, rclone in terminal does most of my heavy lifting).

    • Phoenixz
      link
      fedilink
      134 months ago

      Yeah, it made installing Linux more difficult, so it actually lowered computer security by pushing you to use windows

    • @[email protected]
      link
      fedilink
      24 months ago

      Yes, it made people realize we don’t need Secure Boot and it’s just a pit of vulnerabilities.

  • @Wispy2891
    link
    374 months ago

    If it’s a Linux problem why Microsoft has to patch it?

    It’s like if someone gives you a ride to the hospital and the doctor treats him instead of you

    • my_hat_stinks
      link
      fedilink
      244 months ago

      I’m not sure I follow that analogy, if you get a ride to a hospital you don’t expect it to lock off all other destinations. What happens in the hospital is irrelevant.

      From reading the article, this is more like if you walk into a hotel and they burn down your house so you have no choice but to stay. I suppose in theory you could argue in very bad faith that this is a problem with the house since it’s the house that burned, but in reality the problem is the fact they’re the ones who started the fire.

      • @chautalees
        link
        114 months ago

        We didn’t start the fire, it was always burning since the World’s been turning

    • @[email protected]
      link
      fedilink
      English
      214 months ago

      Because people cannot block darn windows updates. Its a real malware only allowed by law

      • Possibly linux
        link
        fedilink
        English
        184 months ago

        Microsoft: you can have security updates

        Users: good

        Microsoft: just keep in mind they will make major changes and will totally change the desktop and settings.

        Users: wait what Microsoft Edge opens

    • chameleon
      link
      fedilink
      44 months ago

      It’s a problem in the Secure Boot chain, every system is affected by any vulnerability in any past, present or future bootloader that that system currently trusts. Even if it’s an OS you aren’t using, an attacker could “just” install that vulnerable bootloader.

      That said, MS had also been patching their own CVE-2023-24932 / CVE-2024-38058, and disabled the fix for that in this update due to widespread issues with it. I don’t think anyone knows what they’re doing anymore.

  • rem26_art
    link
    fedilink
    364 months ago

    Maybe its finally time to get rid of my dual boot. I haven’t used the windows side in like half a year…

    • @[email protected]
      link
      fedilink
      English
      224 months ago

      I was shocked how little I need Windows. I went dual boot install but just… never booted Windows again. My games work. I’m happy. Why should I boot Windows?

      Really I should just remove Windows but I’m lazy.

    • @[email protected]
      link
      fedilink
      English
      44 months ago

      Go for it! You can always do a Windows VM for the rare times you may need it - if at all.