Skip to main content

has_x86_swapgs_bug

Function has_x86_swapgs_bug 

Source
pub fn has_x86_swapgs_bug(cpuid: &impl Cpuid) -> bool
Expand description

Whether the CPU is susceptible to swapgs speculation attacks: https://software.intel.com/security-software-guidance/advisory-guidance/speculative-behavior-swapgs-and-segment-registers

CVE-2019-1125.