Re: [PATCH] x86/realmode: Pad the embedded real-mode blob to a page boundary

From: Thorsten Blum

Date: Mon Oct 05 2026 - 08:04:47 EST


On Thu, Sep 17, 2026 at 01:49:27PM +0200, Thorsten Blum wrote:
> setup_real_mode() copies the page-aligned size of the embedded real-mode
> blob into low memory. However, real_mode_blob ends immediately before
> real_mode_relocs, so the copy includes relocation data and potentially
> other .init.data contents when the size of realmode.bin is not
> page-aligned.
>
> Pad real_mode_blob to a page boundary so the copy contains only the
> real-mode binary and its padding.
>
> Fixes: 084ee1c641a0 ("x86, realmode: Relocator for realmode code")
> Signed-off-by: Thorsten Blum <blum@xxxxxxxxxx>
> ---
> arch/x86/realmode/rmpiggy.S | 1 +
> 1 file changed, 1 insertion(+)

Gentle ping. Could this be picked up with the Acked-by from hpa?

Thanks,
Thorsten