diff options
author | Joerg Roedel <jroedel@suse.de> | 2020-09-07 15:15:49 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-09-09 11:33:19 +0200 |
commit | 5e3427a7bc432ed2e5de394ac30f160cc6c37a1f (patch) | |
tree | 41b1afdd929ab485a2fbc82f73ac7c2e8af4006b /arch/x86/include | |
parent | d3529bb73f76d0ec8aafaca505226fa0971c1dc9 (diff) |
x86/sev-es: Handle instruction fetches from user-space
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 <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20200907131613.12703-49-joro@8bytes.org
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions