Joerg Roedel b9cb9c4558 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 <erbse.13@gmx.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Tested-by: Tom Dohrmann <erbse.13@gmx.de>
Cc: <stable@kernel.org>
2023-10-09 15:47:57 +02:00
..
2023-09-04 11:26:29 -07:00
2023-09-18 19:30:08 +02:00
2023-08-31 12:20:12 -07:00
2023-08-30 20:23:07 -07:00
2023-09-17 09:49:03 +02:00
2023-04-08 13:45:37 -07:00
2023-08-26 22:40:37 +02:00
2023-09-19 07:04:49 +02:00
2023-05-15 20:03:08 +02:00
2023-09-05 11:01:47 -07:00