Commit 0e1b8555 authored by Joerg Roedel's avatar Joerg Roedel Committed by Zheng Zengkai
Browse files

x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path



stable inclusion
from stable-5.10.40
commit d28aa3c157363f23a476d3bea87335f1ac016a67
bugzilla: 51882
CVE: NA

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

commit fef81c86 upstream.

Check whether the hypervisor reported the correct C-bit when running
as an SEV guest. Using a wrong C-bit position could be used to leak
sensitive data from the guest to the hypervisor.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
Signed-off-by: default avatarBorislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210312123824.306-8-joro@8bytes.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Acked-by: default avatarWeilong Chen <chenweilong@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 69f70049
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment