Files
linux/arch
Joerg Roedel 5b118b5b1d UPSTREAM: x86/sev: Check IOBM for IOIO exceptions from user-space
Upstream commit: b9cb9c4558

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.

Bug: 309733863
Fixes: 25189d08e5 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 5bb9ba7dafbe18e027e335f74372ca65f07f7edd)
Signed-off-by: Lee Jones <joneslee@google.com>
Change-Id: I559d1ee6aa0793f7bfd7b5e603cdaba2336d0562
2023-12-21 13:08:52 +00:00
..
2023-09-19 11:32:32 +00:00
2023-09-19 11:32:32 +00:00
2023-08-23 15:12:23 +00:00