Skip to content
Commit 4fcf28ef authored by Andrew Boie's avatar Andrew Boie Committed by Anas Nashif
Browse files

x86: mitigate swapgs Spectre V1 attacks



See CVE-2019-1125. We mitigate this by adding an 'lfence'
upon interrupt/exception entry after the decision has been
made whether it's necessary to invoke 'swapgs' or not.

Only applies to x86_64, 32-bit doesn't use swapgs.

Signed-off-by: default avatarAndrew Boie <andrew.p.boie@intel.com>
parent 3d802080
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment