Commit 0c534d3
committed
efi: fix panic in kdump kernel
jira LE-1907
cve CVE-2024-35800
Rebuild_History Non-Buildable kernel-5.14.0-427.31.1.el9_4
commit-author Oleksandr Tymoshenko <ovt@google.com>
commit 62b71cd
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: bad267f ("efi: verify that variable services are supported")
Signed-off-by: Oleksandr Tymoshenko <ovt@google.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
(cherry picked from commit 62b71cd)
Signed-off-by: Jonathan Maple <jmaple@ciq.com>1 parent da3124e commit 0c534d3
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
| 204 | + | |
203 | 205 | | |
204 | 206 | | |
205 | 207 | | |
| |||
0 commit comments