Oleksandr Tymoshenko 62b71cd73d efi: fix panic in kdump kernel
Check if get_next_variable() is actually valid pointer before
calling it. In kdump kernel this method is set to NULL that causes
panic during the kexec-ed kernel boot.

Tested with QEMU and OVMF firmware.

Fixes: bad267f9e18f ("efi: verify that variable services are supported")
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
2024-03-24 09:28:33 +01:00
..
2024-03-24 09:28:33 +01:00
2023-11-01 14:46:51 -10:00
2023-03-09 18:07:33 +01:00
2024-01-12 13:54:25 -08:00
2024-01-12 13:54:25 -08:00