aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2023-06-21 17:42:42 +0200
committerBorislav Petkov (AMD) <[email protected]>2023-10-09 15:47:57 +0200
commitb9cb9c45583b911e0db71d09caa6b56469eb2bdf (patch)
treeb8046c802a8613737f7603624dbfb6d7dbe48db4 /lib/test_fortify/write_overflow-strncpy-src.c
parenta37cd2a59d0cb270b1bba568fd3a3b8668b9d3ba (diff)
x86/sev: Check IOBM for IOIO exceptions from user-space
Check the IO permission bitmap (if present) before emulating IOIO #VC exceptions for user-space. These permissions are checked by hardware already before the #VC is raised, but due to the VC-handler decoding race it needs to be checked again in software. Fixes: 25189d08e516 ("x86/sev-es: Add support for handling IOIO exceptions") Reported-by: Tom Dohrmann <[email protected]> Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Tested-by: Tom Dohrmann <[email protected]> Cc: <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions