diff options
| author | Joerg Roedel <[email protected]> | 2023-10-16 12:42:50 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2023-10-17 08:58:16 +0000 |
| commit | 63e44bc52047f182601e7817da969a105aa1f721 (patch) | |
| tree | 3a627e7e557da4e8273458595a8483fab82b2fa4 /tools/net/ynl/generated/devlink-user.c | |
| parent | x86/sev: Check IOBM for IOIO exceptions from user-space (diff) | |
| download | kernel-63e44bc52047f182601e7817da969a105aa1f721.tar.gz kernel-63e44bc52047f182601e7817da969a105aa1f721.zip | |
x86/sev: Check for user-space IOIO pointing to kernel space
Check the memory operand of INS/OUTS before emulating the instruction.
The #VC exception can get raised from user-space, but the memory operand
can be manipulated to access kernel memory before the emulation actually
begins and after the exception handler has run.
[ bp: Massage commit message. ]
Fixes: 597cfe48212a ("x86/boot/compressed/64: Setup a GHCB-based VC Exception handler")
Reported-by: Tom Dohrmann <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Cc: <[email protected]>
Diffstat (limited to 'tools/net/ynl/generated/devlink-user.c')
0 files changed, 0 insertions, 0 deletions
