Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
xen.19912
60bf9e1f-x86-spec-ctrl-mitigate-TAA-after-S3.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 60bf9e1f-x86-spec-ctrl-mitigate-TAA-after-S3.patch of Package xen.19912
# Commit 8cf276cb2e0b99b96333865873f56b0b31555ff1 # Date 2021-06-08 17:43:06 +0100 # Author Andrew Cooper <andrew.cooper3@citrix.com> # Committer Andrew Cooper <andrew.cooper3@citrix.com> x86/spec-ctrl: Mitigate TAA after S3 resume The user chosen setting for MSR_TSX_CTRL needs restoring after S3. All APs get the correct setting via start_secondary(), but the BSP was missed out. This is XSA-377 / CVE-2021-28690. Fixes: 8c4330818f6 ("x86/spec-ctrl: Mitigate the TSX Asynchronous Abort sidechannel") Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com> Reviewed-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/acpi/power.c +++ b/xen/arch/x86/acpi/power.c @@ -286,6 +286,8 @@ static int enter_state(u32 state) microcode_update_one(); + tsx_init(); /* Needs microcode. May change HLE/RTM feature bits. */ + if ( !recheck_cpu_features(0) ) panic("Missing previously available feature(s)\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor