[Bug 2057679] [NEW] systemd-stub fails to boot when loaded via peimage

Mate Kukri 2057679 at bugs.launchpad.net
Tue Mar 12 15:06:17 UTC 2024


Public bug reported:

systemd-stub fails to boot when loaded via peimage.

This is because peimage internally allocates an ImageHandle for images
it starts and loads. systemd-stub  will then pass its own ImageHandle as
ParentImageHandle to the firmware's LoadImage() function to load and
start the embedded Linux kernel.

The UEFI spec doesn't elaborate on this being allowed or not, but it
seems like edk2 firmwares try to locate private data attached to such a
ParentImageHandle, then asserts.

** Affects: grub2-unsigned (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  systemd-stub fails to boot when loaded via peimage

Status in grub2-unsigned package in Ubuntu:
  New

Bug description:
  systemd-stub fails to boot when loaded via peimage.

  This is because peimage internally allocates an ImageHandle for images
  it starts and loads. systemd-stub  will then pass its own ImageHandle
  as ParentImageHandle to the firmware's LoadImage() function to load
  and start the embedded Linux kernel.

  The UEFI spec doesn't elaborate on this being allowed or not, but it
  seems like edk2 firmwares try to locate private data attached to such
  a ParentImageHandle, then asserts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions




More information about the foundations-bugs mailing list