]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: use after free in efi_exit()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 28 Dec 2020 22:24:40 +0000 (23:24 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 29 Dec 2020 01:09:04 +0000 (02:09 +0100)
commitbe48b0f453a3903e924a4f1790f134b9b36e5fa8
treeda2c201eb28835141b1652216e57cb36811bd24d
parentaeaf0e6d58093102aa35921c7bc6fcb0580504bd
efi_loader: use after free in efi_exit()

Do not use data from the loaded image object after deleting it.

Fixes: 126a43f15b36 ("efi_loader: unload applications upon Exit()")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c