Linux users may face yet another hurdle related to Secure Boot when the Microsoft-signed key used by many distributions to support the firmware-based security feature expires on September 11, leaving users at the mercy of distribution from OEMs, and systems possibly not receiving a necessary firmware update.

As LWN reported (paywall) that Microsoft will stop using the expiring key to sign the shim in September. “But the replacement key, which has been available since 2023, may not be installed on many systems; worse yet, it may require the hardware vendor to issue an update for the system firmware, which may or may not happen,” LWN said. “It seems that the vast majority of systems will not be lost in the shuffle, but it may require extra work from distributors and users.”

The report said manufacturers could add support for the new key in a full firmware update or by updating the KEK database. The former assumes that manufacturers would be interested in distributing a firmware update for a wide variety of products so a small percentage of their users could use Secure Boot with a non-Windows OS; the latter is an unproven mechanism that isn’t guaranteed to work on all devices. Both seem likely to leave at least some people to figure out a solution on their own.

  • Meron35@lemmy.world
    link
    fedilink
    arrow-up
    6
    ·
    5 hours ago

    Microsoft’s Secure Boot UEFI bootloader signing key expires in September, posing problems for Linux users

  • hbar@lemmy.ml
    link
    fedilink
    arrow-up
    5
    ·
    5 hours ago

    So my old Lenovo x220 that started as Windows and since then I wiped and installed pop os with full disk encryption is going to have a problem?

    • icedterminal@lemmy.world
      link
      fedilink
      English
      arrow-up
      7
      ·
      5 hours ago

      Secure boot will fail validation. You can still boot it anyway by disabling secure boot. You just lose a layer of security. You can manually sign boot files yourself and add the relevant certificate to the motherboard firmware database. Assuming it lets you.

      • hbar@lemmy.ml
        link
        fedilink
        arrow-up
        3
        ·
        4 hours ago

        I see, I’m just a novice at Linux and this seems complicated. Is there a good tutorial somewhere? Otherwise I might just disable secure boot

  • Bluewing@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    6 hours ago

    It would appear that major distros like RedHat/Fedora, Ubuntu, Debian, etc are not overly concerned at this point. I would suspect that if they truely feared this happening, they would be moving very quickly to create patches or work arounds for this problem.

    • Random Dent@lemmy.ml
      link
      fedilink
      English
      arrow-up
      57
      ·
      1 day ago

      That’s what I do. I never enabled it based on the assumption that because it’s a Microsoft thing, it would eventually fuck me over in some way. That attitude has served me well for may years lol.

        • mholiv@lemmy.world
          link
          fedilink
          arrow-up
          27
          arrow-down
          1
          ·
          edit-2
          1 day ago

          If you don’t care about boot chain attacks it isn’t bad at all.

          If you do care about boot chain attacks it’s bad because it allows someone to replace things like the efi binaries, grub, or your kernel with backdoor-ed versions and there would be no way to detect this from the running system.

          Secure boot checks for this stuff. You can read more here:

          https://access.redhat.com/articles/5254641

          • Random Dent@lemmy.ml
            link
            fedilink
            English
            arrow-up
            17
            arrow-down
            1
            ·
            1 day ago

            But if secure boot happens to brick your system forever because of this expiring key thing, is that worse than a boot chain attack?

            • mholiv@lemmy.world
              link
              fedilink
              arrow-up
              15
              arrow-down
              3
              ·
              edit-2
              1 day ago

              It won’t brick your system forever??? You just turn it off in your bios. Then you have no secure boot. Just like it was never there.

              • amorpheus@lemmy.world
                link
                fedilink
                arrow-up
                6
                ·
                edit-2
                1 day ago

                Shouldn’t a system that was set up with Secure Boot refuse to start if it were disabled? Otherwise there wouldn’t be any protection against these attacks.

                I don’t think setting up the system again is a simple remedy to having problems with this feature.

                • mholiv@lemmy.world
                  link
                  fedilink
                  arrow-up
                  12
                  ·
                  edit-2
                  1 day ago

                  It won’t refuse to boot. It’s just that any automatic metric based decryption won’t work.

                  If you are using a TPM to automatically unlock luks and also manually removed the password backup before hand you could lose your data forever. That is true.

                  But if you kept the password based decryption stuff you could still manually unlock stuff. Just like secure boot was never there.

                  The difference would be that there could be no secure attestation that the kernel count trust/use without secure boot.

                  Like secure boot is really cool on Linux if you learn about it. Like sbctl alone is great for verifying backups and stuff.

                  I recommend reading through the arch wiki if you want to learn more. It covers a lot of stuff. https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot

  • k0e3@lemmy.ca
    link
    fedilink
    arrow-up
    27
    ·
    1 day ago

    I’m fairly new to Linux, so I’m wondering if someone could confirm.

    I ran bootctl status in the terminal and saw “Secure Boot: disabled”. That means I’m in the clear, right?

  • fubarx@lemmy.world
    link
    fedilink
    arrow-up
    66
    ·
    2 days ago

    If you start with a reasonably recent Windows machine, there’s a TPM with secure boot (and MS keys) enabled. If setting up dualboot Windows/Linux, you’re going through BIOS/UEFI, so expiring keys will affect you. Booting into Windows and doing an update should fix the problem.

    If you disabled secureboot/FDE, then installed Linux and left it at that, you should be OK.

    But under Linux, those who reenable fulldisk encryption or secure boot via the TPM may be impacted by this, and since they’ve removed Windows, they may be screwed: https://allthings.how/how-to-enable-tpm-encryption-and-secure-boot-on-ubuntu-24-04/

    • ArcaneSlime@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 day ago

      So my framework 16 that has never seen Windows running FedoraKDE with FDE (but not auto-unlock, typed pass every boot) enabled is going to explode?

      Half kidding, but like, should I disable secure boot or something? Run fwupd?

      • fubarx@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        If it’s never seen Windows you may be fine.

        The problem is mostly for systems that dual-boot or had Windows at one point, but got Linux installed on top. A lot of people use old Lenovo, HP, or Dell computers and repurpose them for Linux. Those are the ones that may get bit.

        • ArcaneSlime@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          2
          ·
          24 hours ago

          Ordered it plain, added flavor myself (FedoraKDE, as I mentioned lol).

          I do have a few spare old laptops with linux that used to be windows, but tbh the critical one is my main, the others don’t really need secure boot as long as they don’t get bricked.

      • Ben@feddit.dk
        link
        fedilink
        arrow-up
        32
        ·
        1 day ago

        Tools to do that exists. fwupd is a tool to update firmwares. I just tested it on a thinkpad and went from 351 keys to 518 secureboot keys.

        GNOME Software also uses fwupd, that should take care of a good chunk of users.

        • kadu@lemmy.world
          link
          fedilink
          arrow-up
          17
          arrow-down
          2
          ·
          1 day ago

          So this is an exaggerated non-issue that is phrased as if it was the end of Linux? Crazy, this never happened before! See you all next week when Linux is doomed again.

          • groet@feddit.org
            link
            fedilink
            arrow-up
            19
            arrow-down
            4
            ·
            1 day ago

            Its an exaggerated non-issue

            Linux is not a uniform userbase. Many systems will be affected by this. Many users will be fine because they use a well used and maintained distro. Many servers and embedded systems will not be fine.

            That raspi running your pihole that is never updated? Yeah that might just stop booting next time there is a poweroutage and you wouldn’t know what’s up.

            • kadu@lemmy.world
              link
              fedilink
              arrow-up
              19
              arrow-down
              3
              ·
              1 day ago

              What Raspberry Pi is booting with SecureBoot and default keys? Give me a break.

        • progandy@feddit.org
          link
          fedilink
          arrow-up
          3
          ·
          1 day ago

          There are still vendors that do not provide firmware with this tool or only for select devices.

      • fubarx@lemmy.world
        link
        fedilink
        arrow-up
        5
        ·
        1 day ago

        The Windows update loads a chain of trust that tells the bootloader the device is OK and your version of Windows is real and your full-disk-encryption is fine. Linux folks don’t have (or need) all that. They can create their own chain of trust if they want, but they don’t have read/write access to the Microsoft one.

        If they did, we would be reading a completely different article starting with why the world was on fire.

  • Goun@lemmy.ml
    link
    fedilink
    arrow-up
    41
    ·
    2 days ago

    I don’t understand, a. Why is Linux using Microsoft keys?, and b. Why isn’t this a problem for Windows too?

    • chameleon@fedia.io
      link
      fedilink
      arrow-up
      7
      ·
      23 hours ago

      Then it can’t be booted with new media. Microsoft has been very, very slow with the automatic rollout of their own key updates, and made just about no progress over the past two years. It’s been manual updates + newly produced systems only.

      The trick here is that they have a key-exchange-key that can be used to update the other keys. That doesn’t expire (or rather, not in a meaningful way). But, a Windows image is still only going to boot on a system that trusts the key that was used for it. If you make a Windows image on a 2011 system now, it’s going to be signed with the 2011 key, and it won’t boot on a system that distrusts that key. The same is true in reverse.

      Their key update documentation is all available and some enterprises have been on the new key for a while, but it’s a lot of manual work and a lot of problems have popped up, most documented in there. How they’re going to roll this out automatically to normal users isn’t obvious to me. There’s technically nothing stopping a system from trusting both the 2011 and 2023 keys, and I wouldn’t be entirely surprised if they end up never pushing the 2011 revocation.

      The keys they use for their own OS don’t truly expire until late 2026, and I expect they’ll do their best to delay it until then, but the next time they have to update their boot manager is going to be painful and introduce all kinds of new problems.

  • toynbee@lemmy.world
    link
    fedilink
    arrow-up
    5
    ·
    1 day ago

    I’ve learned several new commands from this thread and am grateful to all of you who’ve taught me them.