我已安装最新的英特尔微码更新以使用 Spectre 变体 #2 修复,但Spectre&Meltdown 检查器仍显示无法使用 IBRS/IBPB。
CVE-2017-5715 [branch target injection] aka 'Spectre Variant 2'
* Mitigation 1
* Kernel is compiled with IBRS/IBPB support: YES
* Currently enabled features
* IBRS enabled for Kernel space: NO
* IBRS enabled for User space: NO
* IBPB enabled: NO
* Mitigation 2
* Kernel has branch predictor hardening (arm): NO
* Kernel compiled with retpoline option: NO
* Kernel compiled with a retpoline-aware compiler: NO
> STATUS: VULNERABLE (Your kernel is compiled with IBRS but your CPU microcode is lacking support to successfully mitigate the vulnerability)
dmesg 显示已安装最新版本。
# dmesg | grep microcode
[ 1.199842] microcode: CPU0 sig=0x206d7, pf=0x1, revision=0x713
[ 1.199860] microcode: CPU1 sig=0x206d7, pf=0x1, revision=0x713
[ 1.199877] microcode: CPU2 sig=0x206d7, pf=0x1, revision=0x713
[ 1.199898] microcode: CPU3 sig=0x206d7, pf=0x1, revision=0x713
[ 1.199966] microcode: Microcode Update Driver: v2.01 <[email protected]>, Peter Oruba
CPU 是Intel(R) Xeon(R) CPU E5-2420 0 @ 1.90GHz
,主机类型是ESXi-5.1.0-20130402001-standard
早于 5.5 的 ESXi 版本不支持 IBPB 和 IBRS 的管理程序直通所需的功能。有关详细信息,请参阅VMware KB 条目。
要缓解 Spectre 变体 2,您需要升级 ESXi,或切换到启用 retpoline 的内核。