aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/efi.h
diff options
context:
space:
mode:
authorLv Yunlong <lyl2019@mail.ustc.edu.cn>2021-03-10 00:31:27 -0800
committerArd Biesheuvel <ardb@kernel.org>2021-03-19 07:44:27 +0100
commit9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3 (patch)
tree91df4aa2a0987806b89ba4b033591dec45327bbb /include/linux/efi.h
parentefivars: respect EFI_UNSUPPORTED return from firmware (diff)
downloadlinux-dev-9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3.tar.xz
linux-dev-9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3.zip
firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
In the for loop in efi_mem_reserve_persistent(), prsv = rsv->next use the unmapped rsv. Use the unmapped pages will cause segment fault. Fixes: 18df7577adae6 ("efi/memreserve: deal with memreserve entries in unmapped memory") Signed-off-by: Lv Yunlong <lyl2019@mail.ustc.edu.cn> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'include/linux/efi.h')
0 files changed, 0 insertions, 0 deletions