mbox series

[GIT,PULL] EFI fixes for v6.10 #3

Message ID 20240618144547.365311-2-ardb+git@google.com
State New
Headers show
Series [GIT,PULL] EFI fixes for v6.10 #3 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.10-3

Message

Ard Biesheuvel June 18, 2024, 2:45 p.m. UTC
From: Ard Biesheuvel <ardb@kernel.org>

Hi Linus,

Please pull another small set of EFI fixes below. Only the x86 one is likely to
affect any actual users (and has a cc:stable), but the issue it fixes was only
observed in an unusual context (kexec in a confidential VM).

The following changes since commit 99280413a5b785f22d91e8a8a66dc38f4a214495:

  efi: Add missing __nocfi annotations to runtime wrappers (2024-06-05 10:18:58 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.10-3

for you to fetch changes up to 46e27b9961d8712bc89234444ede314cec0e8bae:

  efi/arm64: Fix kmemleak false positive in arm64_efi_rt_init() (2024-06-15 10:25:02 +0200)

----------------------------------------------------------------
EFI fixes for v6.10 #3

- Ensure that EFI runtime services are not unmapped by PAN on ARM
- Avoid freeing the memory holding the EFI memory map inadvertently on
  x86
- Avoid a false positive kmemleak warning on arm64

----------------------------------------------------------------
Ard Biesheuvel (2):
      efi/arm: Disable LPAE PAN when calling EFI runtime services
      efi/x86: Free EFI memory map only when installing a new one.

Waiman Long (1):
      efi/arm64: Fix kmemleak false positive in arm64_efi_rt_init()

 arch/arm/include/asm/efi.h     | 13 +++++++++++++
 arch/arm64/kernel/efi.c        |  2 ++
 arch/x86/include/asm/efi.h     |  1 -
 arch/x86/platform/efi/memmap.c | 12 +++++++++++-
 drivers/firmware/efi/memmap.c  |  9 ---------
 5 files changed, 26 insertions(+), 11 deletions(-)