[Bug 2009078] Re: rebuild debian-installer against current boot stack (SecureBoot security updates / revocations)

Steve Langasek 2009078 at bugs.launchpad.net
Tue Mar 14 19:30:05 UTC 2023


With the revised test case, confirm that 20.04.5 media fails to boot
with (under OVMF) 'Access Denied'.

Downloading https://cdimage.ubuntu.com/focal/daily-
live/20230314.1/focal-desktop-amd64.iso, the boot also fails.  This time
it fails with an error from shim when trying to chain to grub:
'Verification failed: (0x1A) Security Violation'.

This is because archive publication of the signed binaries from grub has
changed, and debian-installer was not updated to know this so was still
picking up the last grub*.efi published under the old method.

Working on fixing debian-installer now.

** Changed in: debian-installer (Ubuntu Focal)
       Status: Fix Released => In Progress

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-failed-focal

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debian-installer in Ubuntu.
https://bugs.launchpad.net/bugs/2009078

Title:
  rebuild debian-installer against current boot stack (SecureBoot
  security updates / revocations)

Status in debian-installer package in Ubuntu:
  Invalid
Status in debian-installer source package in Focal:
  In Progress

Bug description:
  [Justification]
  There is another round of security updates for secureboot that result in SBAT revocations of all the previous shims/grubs.  Since the 20.04.5 point release inadvertently went out without a current UEFI bootloader and was thus already revoked before release, we have agreed to do an exceptional 20.04.6 point release.  That should include the current version of shim and grub2.

  [Test case]
  * Build a daily PROPOSED=1 focal image that pulls in the new d-i boot bits.
  * On a system with SecureBoot enabled, boot the 22.04.2 install media.  This will cause SBAT to be updated and the system to refuse to boot older shims.
  * To download the current UEFI revocation list for amd64 and apply it to dbx, run:
    * mkdir -p updates/dbx
    * wget -O updates/dbx/DBXUpdate.bin https://uefi.org/sites/default/files/resources/DBXUpdate.bin
    * sudo sbkeysync --no-default-keystores --keystore ./updates --verbose
  * Try to boot Ubuntu 20.04.5 media.  Confirm that the boot is blocked with a security error.
  * Boot the 20.04 daily media.  Confirm that the image boots.

  [Where problems could occur]
  We are pulling grub2-signed and shim2-signed from focal-proposed.  If something happens that prevents these from being released, then we would need to respin.  Otherwise, this change should only increase the set of machines on which it's possible for us to boot the point release media.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/2009078/+subscriptions




More information about the foundations-bugs mailing list