[Bug 2106728] [NEW] grub-efi-arm64 fails with out of memory error on some hardware

Tobias Heider 2106728 at bugs.launchpad.net
Thu Apr 10 11:20:12 UTC 2025


Public bug reported:

A patch we added in 2.12-5ubuntu10 to fix LP: #2103864 caused a
regression that breaks other hardware. There is no guarantee on arm64
that any memory under 0xffffffff is available so forcing allocations
below that address breaks affected machines.

The responsible patch is d/p/arm64-Limit-memory-allocations-to-4GB.patch

A better solution would be to try allocating in the lower 4GB and fall
back to GRUB_EFI_MAX_USABLE_ADDRESS if that doesn't work.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Affects: grub2 (Ubuntu Plucky)
     Importance: Undecided
         Status: Confirmed

** Changed in: grub2 (Ubuntu)
       Status: New => Confirmed

** Also affects: grub2 (Ubuntu Plucky)
   Importance: Undecided
       Status: Confirmed

** Changed in: grub2 (Ubuntu Plucky)
    Milestone: None => ubuntu-25.04

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

Title:
  grub-efi-arm64 fails with out of memory error on some hardware

Status in grub2 package in Ubuntu:
  Confirmed
Status in grub2 source package in Plucky:
  Confirmed

Bug description:
  A patch we added in 2.12-5ubuntu10 to fix LP: #2103864 caused a
  regression that breaks other hardware. There is no guarantee on arm64
  that any memory under 0xffffffff is available so forcing allocations
  below that address breaks affected machines.

  The responsible patch is d/p/arm64-Limit-memory-allocations-
  to-4GB.patch

  A better solution would be to try allocating in the lower 4GB and fall
  back to GRUB_EFI_MAX_USABLE_ADDRESS if that doesn't work.

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




More information about the foundations-bugs mailing list