[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
This bug was fixed in the package grub2-unsigned - 2.12~rc1-10ubuntu4.2 --- grub2-unsigned (2.12~rc1-10ubuntu4.2) mantic; urgency=medium * Revert "efi: Eliminate globals from the `peimage.c` chainloader" (LP: #2057679) (LP: #2054127) * Increase SBAT level to "grub.ubuntu,2" and "grub.peimage,2" * SECURITY UPDATE: Use-after-free in peimage module [LP: #2054127] - CVE-2024-2312 * Source package generated from src:grub2 using make -f ./debian/rules generate-grub2-unsigned -- Mate Kukri Thu, 21 Mar 2024 09:16:17 + ** Changed in: grub2-unsigned (Ubuntu Mantic) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
** Merge proposal linked: https://code.launchpad.net/~ubuntu-uefi-team/grub/+git/ubuntu/+merge/461796 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
This bug needs verification for mantic, added tags. ** Tags added: verification-needed verification-needed-mantic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
** Changed in: grub2-unsigned (Ubuntu Mantic) Status: New => Invalid ** Changed in: grub2-unsigned (Ubuntu Mantic) Status: Invalid => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
This bug was fixed in the package grub2-unsigned - 2.12-1ubuntu7 --- grub2-unsigned (2.12-1ubuntu7) noble; urgency=medium * d/p/grub-sort-version.patch: Also patch grub-mkconfig to export GRUB_FLAVOUR_ORDER * d/grub-sort-version: Update regex to correctly match kernel flavour * d/grub-sort-version: Append `-0` to abi strings before passing to python-apt (Fixes LP: #2041827) * debian/: Add tests for grub-sort-version * Revert peimage to re-use GRUB's image handle (LP: #2057679) (LP: #2054127) * Increase SBAT level to "grub.ubuntu,2" and "grub.peimage,2" * d/build-efi-images: Make sure downstream didn't remove peimage SBAT entry * SECURITY UPDATE: Use-after-free in peimage module [LP: #2054127] - CVE-2024-2312 * Source package generated from src:grub2 using make -f ./debian/rules generate-grub2-unsigned -- Mate Kukri Thu, 04 Apr 2024 11:12:35 +0100 ** Changed in: grub2-unsigned (Ubuntu Noble) Status: New => Fix Released ** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2024-2312 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
** Also affects: grub2-unsigned (Ubuntu Mantic) Importance: Undecided Status: New ** Also affects: grub2-unsigned (Ubuntu Noble) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 2057679] Re: systemd-stub fails to boot when loaded via peimage
** Description changed: 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. + seems like edk2 based firmwares try to locate private data attached to + such a ParentImageHandle, then assert. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2057679 Title: systemd-stub fails to boot when loaded via peimage To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grub2-unsigned/+bug/2057679/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs