diff options
author | Lv Yunlong <lyl2019@mail.ustc.edu.cn> | 2021-03-10 00:31:27 -0800 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2021-03-19 07:44:27 +0100 |
commit | 9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3 (patch) | |
tree | 91df4aa2a0987806b89ba4b033591dec45327bbb /drivers/hwmon/asb100.c | |
parent | 483028edacab374060d93955382b4865a9e07cba (diff) | |
download | linux-9ceee7d0841a8f7d7644021ba7d4cc1fbc7966e3.tar.bz2 |
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 'drivers/hwmon/asb100.c')
0 files changed, 0 insertions, 0 deletions