Skip to content
Snippets Groups Projects
Commit 19b4f19c authored by Chris Coulson's avatar Chris Coulson Committed by Julian Andres Klode
Browse files

loader/efi/chainloader: Use grub_loader_set_ex()


This ports the EFI chainloader to use grub_loader_set_ex() in order to fix
a use-after-free bug that occurs when grub_cmd_chainloader() is executed
more than once before a boot attempt is performed.

Fixes: CVE-2022-28736

Signed-off-by: default avatarChris Coulson <chris.coulson@canonical.com>
Reviewed-by: default avatarDaniel Kiper <daniel.kiper@oracle.com>
parent bb35dbb9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment