[PATCH v3 0/2] efi: Fix EFI boot with kexec handover (KHO)

Andrew Morton akpm at linux-foundation.org
Thu Aug 21 13:58:09 PDT 2025


On Thu, 21 Aug 2025 17:58:58 +0000 Evangelos Petrongonas <epetron at amazon.de> wrote:

> This patch series fixes a kernel panic that occurs when booting with
> both EFI and KHO (Kexec HandOver) enabled.
> 
> The issue arises because EFI's `reserve_regions()` clears all memory
> regions with `memblock_remove(0, PHYS_ADDR_MAX)` before rebuilding them
> from EFI data. This destroys KHO scratch regions that were set up early
> during device tree scanning, causing a panic as the kernel has no valid
> memory regions for early allocations.

Do you think we should backport this into 6.16.x kernels?  If so, is
there a suitable Fixes: target we can include?



More information about the kexec mailing list