diff options
| author | Oleksandr Tymoshenko <[email protected]> | 2024-03-23 06:33:33 +0000 |
|---|---|---|
| committer | Ard Biesheuvel <[email protected]> | 2024-03-24 08:28:33 +0000 |
| commit | 62b71cd73d41ddac6b1760402bbe8c4932e23531 (patch) | |
| tree | 09e447a00f1f8a8b0f83dcf9de72955a1798c1b1 /drivers/fpga/fpga-mgr.c | |
| parent | x86/efistub: Don't clear BSS twice in mixed mode (diff) | |
| download | kernel-62b71cd73d41ddac6b1760402bbe8c4932e23531.tar.gz kernel-62b71cd73d41ddac6b1760402bbe8c4932e23531.zip | |
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 <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
