1 Spectre and Meltdown Checks
2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 Following section displays the output of a running shell script to tell if
5 system is vulnerable against the several speculative execution CVEs that were
6 made public in 2018. Script is available on `Spectre & Meltdown Checker Github
7 <https://github.com/speed47/spectre-meltdown-checker>`_.
11 Spectre and Meltdown mitigation detection tool v0.42
13 Checking for vulnerabilities on current system
14 Kernel is Linux 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64
15 CPU is Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz
18 * Hardware support (CPU microcode) for mitigation techniques
19 * Indirect Branch Restricted Speculation (IBRS)
20 * SPEC_CTRL MSR is available: YES
21 * CPU indicates IBRS capability: YES (SPEC_CTRL feature bit)
22 * Indirect Branch Prediction Barrier (IBPB)
23 * PRED_CMD MSR is available: YES
24 * CPU indicates IBPB capability: YES (SPEC_CTRL feature bit)
25 * Single Thread Indirect Branch Predictors (STIBP)
26 * SPEC_CTRL MSR is available: YES
27 * CPU indicates STIBP capability: YES (Intel STIBP feature bit)
28 * Speculative Store Bypass Disable (SSBD)
29 * CPU indicates SSBD capability: YES (Intel SSBD)
30 * L1 data cache invalidation
31 * FLUSH_CMD MSR is available: YES
32 * CPU indicates L1D flush capability: YES (L1D flush feature bit)
33 * Microarchitecture Data Sampling
34 * VERW instruction is available: YES (MD_CLEAR feature bit)
35 * Enhanced IBRS (IBRS_ALL)
36 * CPU indicates ARCH_CAPABILITIES MSR availability: YES
37 * ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: YES
38 * CPU explicitly indicates not being vulnerable to Meltdown/L1TF (RDCL_NO): YES
39 * CPU explicitly indicates not being vulnerable to Variant 4 (SSB_NO): NO
40 * CPU/Hypervisor indicates L1D flushing is not necessary on this system: YES
41 * Hypervisor indicates host CPU might be vulnerable to RSB underflow (RSBA): NO
42 * CPU explicitly indicates not being vulnerable to Microarchitectural Data Sampling (MDS_NO): YES
43 * CPU supports Software Guard Extensions (SGX): NO
44 * CPU microcode is known to cause stability problems: NO (model 0x55 family 0x6 stepping 0x7 ucode 0x5000021 cpuid 0x50657)
45 * CPU microcode is the latest known available version: awk: fatal: cannot open file `bash' for reading (No file or directory)
46 UNKNOWN (latest microcode version for your CPU model is unknown)
47 * CPU vulnerability to the speculative execution attack variants
48 * Vulnerable to CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
49 * Vulnerable to CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
50 * Vulnerable to CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
51 * Vulnerable to CVE-2018-3640 (Variant 3a, rogue system register read): YES
52 * Vulnerable to CVE-2018-3639 (Variant 4, speculative store bypass): YES
53 * Vulnerable to CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
54 * Vulnerable to CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): NO
55 * Vulnerable to CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): NO
56 * Vulnerable to CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
57 * Vulnerable to CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
58 * Vulnerable to CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
59 * Vulnerable to CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
61 CVE-2017-5753 aka 'Spectre Variant 1, bounds check bypass'
62 * Mitigated according to the /sys interface: YES (Mitigation: usercopy/swapgs barriers and __user pointer saniation)
63 * Kernel has array_index_mask_nospec: YES (1 occurrence(s) found of x86 64 bits array_index_mask_nospec())
64 * Kernel has the Red Hat/Ubuntu patch: NO
65 * Kernel has array_index_mask_nospec: YES (1 occurrence(s) found of x86 64 bits array_index_mask_nospec())
66 * Kernel has the Red Hat/Ubuntu patch: NO
67 * Kernel has mask_nospec64 (arm64): NO
68 > STATUS: NOT VULNERABLE (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
70 CVE-2017-5715 aka 'Spectre Variant 2, branch target injection'
71 * Mitigated according to the /sys interface: YES (Mitigation: Enhanced IBRS, IBPB: conditional, RSB filling)
73 * Kernel is compiled with IBRS support: YES
74 * IBRS enabled and active: YES (Enhanced flavor, performance impact will be greatly reduced)
75 * Kernel is compiled with IBPB support: YES
76 * IBPB enabled and active: YES
78 * Kernel has branch predictor hardening (arm): NO
79 * Kernel compiled with retpoline option: YES
80 * Kernel supports RSB filling: YES
81 > STATUS: NOT VULNERABLE (Enhanced IBRS + IBPB are mitigating the vulnerability)
83 CVE-2017-5754 aka 'Variant 3, Meltdown, rogue data cache load'
84 * Mitigated according to the /sys interface: YES (Not affected)
85 * Kernel supports Page Table Isolation (PTI): YES
86 * PTI enabled and active: NO
87 * Reduced performance impact of PTI: YES (CPU supports INVPCID, performance impact of PTI will be greatly reduced)
88 * Running as a Xen PV DomU: NO
89 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
91 CVE-2018-3640 aka 'Variant 3a, rogue system register read'
92 * CPU microcode mitigates the vulnerability: YES
93 > STATUS: NOT VULNERABLE (your CPU microcode mitigates the vulnerability)
95 CVE-2018-3639 aka 'Variant 4, speculative store bypass'
96 * Mitigated according to the /sys interface: YES (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
97 * Kernel supports disabling speculative store bypass (SSB): YES (found in /proc/self/status)
98 * SSB mitigation is enabled and active: YES (per-thread through prctl)
99 * SSB mitigation currently active for selected processes: YES ((deleted) systemd-journald systemd-logind systemd-networkd systemd-resolved systemd-timesyncd systemd-udevd)
100 > STATUS: NOT VULNERABLE (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
102 CVE-2018-3615 aka 'Foreshadow (SGX), L1 terminal fault'
103 * CPU microcode mitigates the vulnerability: N/A
104 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
106 CVE-2018-3620 aka 'Foreshadow-NG (OS), L1 terminal fault'
107 * Mitigated according to the /sys interface: YES (Not affected)
108 * Kernel supports PTE inversion: YES (found in kernel image)
109 * PTE inversion enabled and active: NO
110 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
112 CVE-2018-3646 aka 'Foreshadow-NG (VMM), L1 terminal fault'
113 * Information from the /sys interface: Not affected
114 * This system is a host running a hypervisor: NO
116 * EPT is disabled: NO
118 * L1D flush is supported by kernel: YES (found flush_l1d in /proc/cpuinfo)
119 * L1D flush enabled: NO
120 * Hardware-backed L1D flush supported: YES (performance impact of the mitigation will be greatly reduced)
122 * Hyper-Threading (SMT) is enabled: YES
123 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
125 CVE-2018-12126 aka 'Fallout, microarchitectural store buffer data sampling (MSBDS)'
126 * Mitigated according to the /sys interface: YES (Not affected)
127 * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
128 * Kernel mitigation is enabled and active: NO
129 * SMT is either mitigated or disabled: NO
130 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
132 CVE-2018-12130 aka 'ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)'
133 * Mitigated according to the /sys interface: YES (Not affected)
134 * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
135 * Kernel mitigation is enabled and active: NO
136 * SMT is either mitigated or disabled: NO
137 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
139 CVE-2018-12127 aka 'RIDL, microarchitectural load port data sampling (MLPDS)'
140 * Mitigated according to the /sys interface: YES (Not affected)
141 * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
142 * Kernel mitigation is enabled and active: NO
143 * SMT is either mitigated or disabled: NO
144 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
146 CVE-2019-11091 aka 'RIDL, microarchitectural data sampling uncacheable memory (MDSUM)'
147 * Mitigated according to the /sys interface: YES (Not affected)
148 * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
149 * Kernel mitigation is enabled and active: NO
150 * SMT is either mitigated or disabled: NO
151 > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
153 > SUMMARY: CVE-2017-5753:OK CVE-2017-5715:OK CVE-2017-5754:OK CVE-2018-3640:OK CVE-2018-3639:OK CVE-2018-3615:OK CVE-2018-3620:OK CVE-2018-3646:OK CVE-2018-12126:OK CVE-2018-12130:OK CVE-2018-12127:OK CVE-2019-11091:OK