Skip to contentSkip to conversation

EFI urgent fixes

GIT PULL Matt Fleming 1 participant 1 message Feb 14, 2014 EFI

lore
Share & tools
lore
#0 lore raw

There have been reports of EFI crashes since -rc1. The following two commits fix known issues.

The following changes since commit b28a960c42fcd9cfc987441fa6d1c1a471f0f9ed:

Linux 3.14-rc2 (2014-02-09 18:15:47 -0800)

are available in the git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi.git tags/efi-urgent

for you to fetch changes up to 09503379dc99535b1bbfa51aa1aeef340f5d82ec:

x86/efi: Check status field to validate BGRT header (2014-02-14 10:07:15 +0000)

----------------------------------------------------------------
* Fix boot failure on 32-bit EFI due to the recent EFI memmap changes merged during the merge window - Borislav Petkov

* Avoid a crash during efi_bgrt_init() by detecting invalid BGRT headers based on the 'status' field.

----------------------------------------------------------------
Borislav Petkov (1):

      x86/efi: Fix 32-bit fallout

Matt Fleming (1):
x86/efi: Check status field to validate BGRT header

 arch/x86/include/asm/efi.h       | 2 ++
 arch/x86/platform/efi/efi-bgrt.c | 2 +-
 arch/x86/platform/efi/efi.c      | 5 ++---
 arch/x86/platform/efi/efi_32.c   | 6 ++++++
 arch/x86/platform/efi/efi_64.c   | 9 +++++++++
 5 files changed, 20 insertions(+), 4 deletions(-)
Signature · 1 line
Matt Fleming, Intel Open Source Technology Center