Skip to content

[Bug]: OVMF crashes when exiting from aarch64 GRUB #12363

@r1chard-lyu

Description

@r1chard-lyu

Is there an existing issue for this?

  • I have searched existing issues

Bug Type

  • Firmware
  • Tool
  • Unit Test

What packages are impacted?

ArmPkg

Which targets are impacted by this bug?

DEBUG

Current Behavior

Ever since I updated OVMF to edk2-stable202602 in aarch64, OVMF crashes whenever I try to exit the GRUB menu using the 'c' then 'exit' command sequence.

Expected Behavior

It should return to the menu normally.

Steps To Reproduce

  1. Install the latest openSUSE Tumbleweed using Libvirt.
  2. Enter the GRUB2 menu, press "c", and then type "exit".

Build Environment

- OS(s): openSUSE Tumbleweed
- Tool Chain(s): GCC

Version Information

Tag: edk2-stable202602

Urgency

Low

Are you going to fix this?

I will fix it

Do you need maintainer feedback?

No maintainer feedback needed

Anything else?

It has been observed that in the GetMemoryAttributes function, if the requested BaseAddress + Length exceeds a single entry of type EfiGcdSystemMemory in the GCD memory map, RegionIsSystemMemory returns FALSE, which then results in EFI_UNSUPPORTED.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions