lkml.org 
[lkml]   [2021]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH stable-5.10,5.11,5.12] x86/boot/compressed/64: Check SEV encryption in the 32-bit boot-path
On Tue, May 18, 2021 at 01:39:02PM +0200, Joerg Roedel wrote:
> [ Upstream commit fef81c86262879d4b1176ef51a834c15b805ebb9 ]
>
> 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: Joerg Roedel <jroedel@suse.de>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> Link: https://lkml.kernel.org/r/20210312123824.306-8-joro@8bytes.org
> ---
> arch/x86/boot/compressed/head_64.S | 85 ++++++++++++++++++++++++++++++
> 1 file changed, 85 insertions(+)

This is compile-tested now for 5.10, 5.11 and 5.12. With 5.12 I also did
a boot-test using the 32-bit boot-path and verified it still works as
expected.

Regards,

Joerg

\
 
 \ /
  Last update: 2021-05-18 13:41    [W:0.924 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site