Re: [PATCH v3] x86/efi: Free EFI memory map only when installing a new one.

From: Borislav Petkov
Date: Thu Jun 13 2024 - 04:58:28 EST


On Thu, Jun 13, 2024 at 10:28:05AM +0200, Ard Biesheuvel wrote:
> Given that this fixes an actual use-after-free bug that is not
> specific to TDX/SEV or kexec, I'm inclined to queue this up as a fix.
>
> @Boris: Mind if I take this as an EFI fix? Otherwise, can you queue
> this up? Thanks.

Sure, go ahead:

$ git log master..tip/master arch/x86/platform/efi/memmap.c
$

Should be fine, conflict-wise.

:-)

Thx.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette