Commit 0bb20a8f authored by Kemeng Shi's avatar Kemeng Shi Committed by Zheng Zengkai
Browse files

etmem: fix potential UAF when walk ept page table

euleros inclusion
category: feature
feature: etmem
bugzilla: https://gitee.com/openeuler/kernel/issues/I4OODH?from=project-issue


CVE: NA

-------------------------------------------------

Kvm shadow page may be freed when etmem_scan is walking ept page table.
Hold mmu_lock when walking ept page table to avoid UAF.
To avoid holding mmu_lock for too long time, walk step module parameter
is added to control lock holding time.

Signed-off-by: default avatarKemeng Shi <shikemeng@huawei.com>
Reviewed-by: default avatarlouhongxiang <louhongxiang@huawei.com>
Reviewed-by: default avatarChen Wandun <chenwandun@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 22773910
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment