Skip to contentSkip to conversation

EFI fixes for v6.2 #1

GIT PULL Merged Ard Biesheuvel 2 participants 2 messages Jan 13, 2023 EFI

lore
Share & tools
lore

Ard Biesheuvel

author maintainer
#0 lore raw

Hi Linus,

Please pull the changes below. Explanation in the tag.

The following changes since commit 88603b6dc419445847923fcb7fe5080067a30f98:

Linux 6.2-rc2 (2023-01-01 13:53:16 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.2-1

for you to fetch changes up to d3f450533bbcb6dd4d7d59cadc9b61b7321e4ac1:

efi: tpm: Avoid READ_ONCE() for accessing the event log (2023-01-13 17:15:17 +0100)

----------------------------------------------------------------
First batch of EFI fixes for v6.2:

- avoid a potential crash on the efi_subsys_init() error path
- use more appropriate error code for runtime services calls issued after a crash in the firmware occurred
- avoid READ_ONCE() for accessing firmware tables that may appear misaligned in memory

----------------------------------------------------------------
Ard Biesheuvel (2):
efi: rt-wrapper: Add missing include
efi: tpm: Avoid READ_ONCE() for accessing the event log

Ding Hui (1):
efi: fix userspace infinite retry read efivars after EFI runtime services page fault

Johan Hovold (1):
efi: fix NULL-deref in init error path

 arch/arm64/kernel/efi-rt-wrapper.S      | 1 +
 drivers/firmware/efi/efi.c              | 9 ++++++---
 drivers/firmware/efi/runtime-wrappers.c | 1 +
 include/linux/tpm_eventlog.h            | 4 ++--
 4 files changed, 10 insertions(+), 5 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Fri, 13 Jan 2023 17:31:33 +0100:

The pull request you sent on Fri, 13 Jan 2023 17:31:33 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/efi/efi.git tags/efi-fixes-for-v6.2-1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0bf913e07b377cfc288cfe488ca30b7d67059d8a

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html