diff options
author | 2021-03-10 00:31:27 -0800 | |
---|---|---|
committer | 2021-03-19 07:44:27 +0100 | |
commit | 9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3 (patch) | |
tree | 91df4aa2a0987806b89ba4b033591dec45327bbb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | efivars: respect EFI_UNSUPPORTED return from firmware (diff) | |
download | wireguard-linux-9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3.tar.xz wireguard-linux-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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions