[PATCH v3 49/75] x86/sev-es: Handle instruction fetches from user-space

2020-04-28 Thread Joerg Roedel
From: Joerg Roedel When a #VC exception is triggered by user-space the instruction decoder needs to read the instruction bytes from user addresses. Enhance vc_decode_insn() to safely fetch kernel and user instructions. Signed-off-by: Joerg Roedel --- arch/x86/kernel/sev-es.c | 31

Re: [PATCH v3 49/75] x86/sev-es: Handle instruction fetches from user-space

2020-05-23 Thread Borislav Petkov
On Tue, Apr 28, 2020 at 05:16:59PM +0200, Joerg Roedel wrote: > From: Joerg Roedel > > When a #VC exception is triggered by user-space the instruction decoder > needs to read the instruction bytes from user addresses. Enhance > vc_decode_insn() to safely fetch kernel and user instructions. > >