Report: Add RC1 data
[csit.git] / docs / report / introduction / test_environment_sut_meltspec_clx.rst
1 Spectre and Meltdown Checks
2 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
3
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>`_.
8
9 ::
10
11   Spectre and Meltdown mitigation detection tool v0.43
12
13   awk: fatal: cannot open file `bash for reading (No such file or directory)
14   Checking for vulnerabilities on current system
15   Kernel is Linux 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64
16   CPU is Intel(R) Xeon(R) Platinum 8280 CPU @ 2.70GHz
17
18   Hardware check
19   * Hardware support (CPU microcode) for mitigation techniques
20     * Indirect Branch Restricted Speculation (IBRS)
21       * SPEC_CTRL MSR is available: YES
22       * CPU indicates IBRS capability: YES (SPEC_CTRL feature bit)
23     * Indirect Branch Prediction Barrier (IBPB)
24       * PRED_CMD MSR is available: YES
25       * CPU indicates IBPB capability: YES (SPEC_CTRL feature bit)
26     * Single Thread Indirect Branch Predictors (STIBP)
27       * SPEC_CTRL MSR is available: YES
28       * CPU indicates STIBP capability: YES (Intel STIBP feature bit)
29     * Speculative Store Bypass Disable (SSBD)
30       * CPU indicates SSBD capability: YES (Intel SSBD)
31     * L1 data cache invalidation
32       * FLUSH_CMD MSR is available: YES
33       * CPU indicates L1D flush capability: YES (L1D flush feature bit)
34     * Microarchitectural Data Sampling
35       * VERW instruction is available: YES (MD_CLEAR feature bit)
36     * Enhanced IBRS (IBRS_ALL)
37       * CPU indicates ARCH_CAPABILITIES MSR availability: YES
38       * ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: YES
39     * CPU explicitly indicates not being vulnerable to Meltdown/L1TF (RDCL_NO): YES
40     * CPU explicitly indicates not being vulnerable to Variant 4 (SSB_NO): NO
41     * CPU/Hypervisor indicates L1D flushing is not necessary on this system: YES
42     * Hypervisor indicates host CPU might be vulnerable to RSB underflow (RSBA): NO
43     * CPU explicitly indicates not being vulnerable to Microarchitectural Data Sampling (MDS_NO): YES
44     * CPU explicitly indicates not being vulnerable to TSX Asynchronous Abort (TAA_NO): NO
45     * CPU explicitly indicates not being vulnerable to iTLB Multihit (PSCHANGE_MSC_NO): NO
46     * CPU explicitly indicates having MSR for TSX control (TSX_CTRL_MSR): YES
47       * TSX_CTRL MSR indicates TSX RTM is disabled: YES
48       * TSX_CTRL MSR indicates TSX CPUID bit is cleared: YES
49     * CPU supports Transactional Synchronization Extensions (TSX): NO
50     * CPU supports Software Guard Extensions (SGX): NO
51     * CPU microcode is known to cause stability problems: NO (model 0x55 family 0x6 stepping 0x7 ucode 0x500002c cpuid 0x50657)
52     * CPU microcode is the latest known available version: awk: fatal: cannot open file `bash for reading (No such file or directory)
53   UNKNOWN (latest microcode version for your CPU model is unknown)
54   * CPU vulnerability to the speculative execution attack variants
55     * Vulnerable to CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
56     * Vulnerable to CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
57     * Vulnerable to CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
58     * Vulnerable to CVE-2018-3640 (Variant 3a, rogue system register read): YES
59     * Vulnerable to CVE-2018-3639 (Variant 4, speculative store bypass): YES
60     * Vulnerable to CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
61     * Vulnerable to CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): YES
62     * Vulnerable to CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): YES
63     * Vulnerable to CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
64     * Vulnerable to CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
65     * Vulnerable to CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
66     * Vulnerable to CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
67     * Vulnerable to CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
68     * Vulnerable to CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): YES
69
70   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
71   * Mitigated according to the /sys interface: YES (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
72   * Kernel has array_index_mask_nospec: YES (1 occurrence(s) found of x86 64 bits array_index_mask_nospec())
73   * Kernel has the Red Hat/Ubuntu patch: NO
74   * Kernel has mask_nospec64 (arm64): NO
75   > STATUS: NOT VULNERABLE (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
76
77   CVE-2017-5715 aka Spectre Variant 2, branch target injection
78   * Mitigated according to the /sys interface: YES (Mitigation: Enhanced IBRS, IBPB: conditional, RSB filling)
79   * Mitigation 1
80     * Kernel is compiled with IBRS support: YES
81       * IBRS enabled and active: YES (Enhanced flavor, performance impact will be greatly reduced)
82     * Kernel is compiled with IBPB support: YES
83       * IBPB enabled and active: YES
84   * Mitigation 2
85     * Kernel has branch predictor hardening (arm): NO
86     * Kernel compiled with retpoline option: YES
87     * Kernel supports RSB filling: YES
88   > STATUS: NOT VULNERABLE (Enhanced IBRS + IBPB are mitigating the vulnerability)
89
90   CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
91   * Mitigated according to the /sys interface: YES (Not affected)
92   * Kernel supports Page Table Isolation (PTI): YES
93     * PTI enabled and active: UNKNOWN (dmesg truncated, please reboot and relaunch this script)
94     * Reduced performance impact of PTI: YES (CPU supports INVPCID, performance impact of PTI will be greatly reduced)
95   * Running as a Xen PV DomU: NO
96   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
97
98   CVE-2018-3640 aka Variant 3a, rogue system register read
99   * CPU microcode mitigates the vulnerability: YES
100   > STATUS: NOT VULNERABLE (your CPU microcode mitigates the vulnerability)
101
102   CVE-2018-3639 aka Variant 4, speculative store bypass
103   * Mitigated according to the /sys interface: YES (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
104   * Kernel supports disabling speculative store bypass (SSB): YES (found in /proc/self/status)
105   * SSB mitigation is enabled and active: YES (per-thread through prctl)
106   * SSB mitigation currently active for selected processes: YES (systemd-journald systemd-logind systemd-networkd systemd-resolved systemd-timesyncd systemd-udevd)
107   > STATUS: NOT VULNERABLE (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
108
109   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
110   * CPU microcode mitigates the vulnerability: N/A
111   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
112
113   CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
114   * Mitigated according to the /sys interface: YES (Not affected)
115   * Kernel supports PTE inversion: YES (found in kernel image)
116   * PTE inversion enabled and active: NO
117   > STATUS: NOT VULNERABLE (Not affected)
118
119   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
120   * Information from the /sys interface: Not affected
121   * This system is a host running a hypervisor: NO
122   * Mitigation 1 (KVM)
123     * EPT is disabled: NO
124   * Mitigation 2
125     * L1D flush is supported by kernel: YES (found flush_l1d in /proc/cpuinfo)
126     * L1D flush enabled: NO
127     * Hardware-backed L1D flush supported: YES (performance impact of the mitigation will be greatly reduced)
128     * Hyper-Threading (SMT) is enabled: YES
129   > STATUS: NOT VULNERABLE (your kernel reported your CPU model as not vulnerable)
130
131   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
132   * Mitigated according to the /sys interface: YES (Not affected)
133   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
134   * Kernel mitigation is enabled and active: NO
135   * SMT is either mitigated or disabled: NO
136   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
137
138   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
139   * Mitigated according to the /sys interface: YES (Not affected)
140   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
141   * Kernel mitigation is enabled and active: NO
142   * SMT is either mitigated or disabled: NO
143   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
144
145   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
146   * Mitigated according to the /sys interface: YES (Not affected)
147   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
148   * Kernel mitigation is enabled and active: NO
149   * SMT is either mitigated or disabled: NO
150   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
151
152   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
153   * Mitigated according to the /sys interface: YES (Not affected)
154   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
155   * Kernel mitigation is enabled and active: NO
156   * SMT is either mitigated or disabled: NO
157   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
158
159   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
160   * Mitigated according to the /sys interface: YES (Mitigation: TSX disabled)
161   * TAA mitigation is supported by kernel: YES (found tsx_async_abort in kernel image)
162   * TAA mitigation enabled and active: YES (Mitigation: TSX disabled)
163   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
164
165   CVE-2018-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
166   * Mitigated according to the /sys interface: YES (KVM: Mitigation: Split huge pages)
167   * This system is a host running a hypervisor: NO
168   * iTLB Multihit mitigation is supported by kernel: YES (found itlb_multihit in kernel image)
169   * iTLB Multihit mitigation enabled and active: YES (KVM: Mitigation: Split huge pages)
170   > STATUS: NOT VULNERABLE (this system is not running a hypervisor)
171
172   > 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 CVE-2019-11135:OK CVE-2018-12207:OK
173
174 ::
175
176   awk: fatal: cannot open file `bash for reading (No such file or directory)
177   Checking for vulnerabilities on current system
178   Kernel is Linux 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:20:02 UTC 2019 x86_64
179   CPU is Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz
180
181   Hardware check
182   * Hardware support (CPU microcode) for mitigation techniques
183     * Indirect Branch Restricted Speculation (IBRS)
184       * SPEC_CTRL MSR is available: YES
185       * CPU indicates IBRS capability: YES (SPEC_CTRL feature bit)
186     * Indirect Branch Prediction Barrier (IBPB)
187       * PRED_CMD MSR is available: YES
188       * CPU indicates IBPB capability: YES (SPEC_CTRL feature bit)
189     * Single Thread Indirect Branch Predictors (STIBP)
190       * SPEC_CTRL MSR is available: YES
191       * CPU indicates STIBP capability: YES (Intel STIBP feature bit)
192     * Speculative Store Bypass Disable (SSBD)
193       * CPU indicates SSBD capability: YES (Intel SSBD)
194     * L1 data cache invalidation
195       * FLUSH_CMD MSR is available: YES
196       * CPU indicates L1D flush capability: YES (L1D flush feature bit)
197     * Microarchitectural Data Sampling
198       * VERW instruction is available: YES (MD_CLEAR feature bit)
199     * Enhanced IBRS (IBRS_ALL)
200       * CPU indicates ARCH_CAPABILITIES MSR availability: YES
201       * ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: YES
202     * CPU explicitly indicates not being vulnerable to Meltdown/L1TF (RDCL_NO): YES
203     * CPU explicitly indicates not being vulnerable to Variant 4 (SSB_NO): NO
204     * CPU/Hypervisor indicates L1D flushing is not necessary on this system: YES
205     * Hypervisor indicates host CPU might be vulnerable to RSB underflow (RSBA): NO
206     * CPU explicitly indicates not being vulnerable to Microarchitectural Data Sampling (MDS_NO): YES
207     * CPU explicitly indicates not being vulnerable to TSX Asynchronous Abort (TAA_NO): NO
208     * CPU explicitly indicates not being vulnerable to iTLB Multihit (PSCHANGE_MSC_NO): NO
209     * CPU explicitly indicates having MSR for TSX control (TSX_CTRL_MSR): YES
210       * TSX_CTRL MSR indicates TSX RTM is disabled: YES
211       * TSX_CTRL MSR indicates TSX CPUID bit is cleared: YES
212     * CPU supports Transactional Synchronization Extensions (TSX): NO
213     * CPU supports Software Guard Extensions (SGX): NO
214     * CPU microcode is known to cause stability problems: NO (family 0x6 model 0x55 stepping 0x7 ucode 0x500002c cpuid 0x50657)
215     * CPU microcode is the latest known available version: awk: fatal: cannot open file `bash for reading (No such file or directory)
216   UNKNOWN (latest microcode version for your CPU model is unknown)
217   * CPU vulnerability to the speculative execution attack variants
218     * Vulnerable to CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
219     * Vulnerable to CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
220     * Vulnerable to CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
221     * Vulnerable to CVE-2018-3640 (Variant 3a, rogue system register read): YES
222     * Vulnerable to CVE-2018-3639 (Variant 4, speculative store bypass): YES
223     * Vulnerable to CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
224     * Vulnerable to CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): YES
225     * Vulnerable to CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): YES
226     * Vulnerable to CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
227     * Vulnerable to CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
228     * Vulnerable to CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
229     * Vulnerable to CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
230     * Vulnerable to CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
231     * Vulnerable to CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): YES
232
233   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
234   * Mitigated according to the /sys interface: YES (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
235   * Kernel has array_index_mask_nospec: YES (1 occurrence(s) found of x86 64 bits array_index_mask_nospec())
236   * Kernel has the Red Hat/Ubuntu patch: NO
237   * Kernel has mask_nospec64 (arm64): NO
238   > STATUS: NOT VULNERABLE (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
239
240   CVE-2017-5715 aka Spectre Variant 2, branch target injection
241   * Mitigated according to the /sys interface: YES (Mitigation: Enhanced IBRS, IBPB: conditional, RSB filling)
242   * Mitigation 1
243     * Kernel is compiled with IBRS support: YES
244       * IBRS enabled and active: YES (Enhanced flavor, performance impact will be greatly reduced)
245     * Kernel is compiled with IBPB support: YES
246       * IBPB enabled and active: YES
247   * Mitigation 2
248     * Kernel has branch predictor hardening (arm): NO
249     * Kernel compiled with retpoline option: YES
250     * Kernel supports RSB filling: YES
251   > STATUS: NOT VULNERABLE (Enhanced IBRS + IBPB are mitigating the vulnerability)
252
253   CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
254   * Mitigated according to the /sys interface: YES (Not affected)
255   * Kernel supports Page Table Isolation (PTI): YES
256     * PTI enabled and active: UNKNOWN (dmesg truncated, please reboot and relaunch this script)
257     * Reduced performance impact of PTI: YES (CPU supports INVPCID, performance impact of PTI will be greatly reduced)
258   * Running as a Xen PV DomU: NO
259   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
260
261   CVE-2018-3640 aka Variant 3a, rogue system register read
262   * CPU microcode mitigates the vulnerability: YES
263   > STATUS: NOT VULNERABLE (your CPU microcode mitigates the vulnerability)
264
265   CVE-2018-3639 aka Variant 4, speculative store bypass
266   * Mitigated according to the /sys interface: YES (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
267   * Kernel supports disabling speculative store bypass (SSB): YES (found in /proc/self/status)
268   * SSB mitigation is enabled and active: YES (per-thread through prctl)
269   * SSB mitigation currently active for selected processes: YES (systemd-journald systemd-logind systemd-networkd systemd-resolved systemd-timesyncd systemd-udevd)
270   > STATUS: NOT VULNERABLE (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
271
272   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
273   * CPU microcode mitigates the vulnerability: N/A
274   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
275
276   CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
277   * Mitigated according to the /sys interface: YES (Not affected)
278   * Kernel supports PTE inversion: YES (found in kernel image)
279   * PTE inversion enabled and active: NO
280   > STATUS: NOT VULNERABLE (Not affected)
281
282   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
283   * Information from the /sys interface: Not affected
284   * This system is a host running a hypervisor: NO
285   * Mitigation 1 (KVM)
286     * EPT is disabled: NO
287   * Mitigation 2
288     * L1D flush is supported by kernel: YES (found flush_l1d in /proc/cpuinfo)
289     * L1D flush enabled: NO
290     * Hardware-backed L1D flush supported: YES (performance impact of the mitigation will be greatly reduced)
291     * Hyper-Threading (SMT) is enabled: YES
292   > STATUS: NOT VULNERABLE (your kernel reported your CPU model as not vulnerable)
293
294   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
295   * Mitigated according to the /sys interface: YES (Not affected)
296   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
297   * Kernel mitigation is enabled and active: NO
298   * SMT is either mitigated or disabled: NO
299   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
300
301   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
302   * Mitigated according to the /sys interface: YES (Not affected)
303   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
304   * Kernel mitigation is enabled and active: NO
305   * SMT is either mitigated or disabled: NO
306   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
307
308   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
309   * Mitigated according to the /sys interface: YES (Not affected)
310   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
311   * Kernel mitigation is enabled and active: NO
312   * SMT is either mitigated or disabled: NO
313   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
314
315   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
316   * Mitigated according to the /sys interface: YES (Not affected)
317   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
318   * Kernel mitigation is enabled and active: NO
319   * SMT is either mitigated or disabled: NO
320   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
321
322   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
323   * Mitigated according to the /sys interface: YES (Mitigation: TSX disabled)
324   * TAA mitigation is supported by kernel: YES (found tsx_async_abort in kernel image)
325   * TAA mitigation enabled and active: YES (Mitigation: TSX disabled)
326   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
327
328   CVE-2018-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
329   * Mitigated according to the /sys interface: YES (KVM: Mitigation: Split huge pages)
330   * This system is a host running a hypervisor: NO
331   * iTLB Multihit mitigation is supported by kernel: YES (found itlb_multihit in kernel image)
332   * iTLB Multihit mitigation enabled and active: YES (KVM: Mitigation: Split huge pages)
333   > STATUS: NOT VULNERABLE (this system is not running a hypervisor)
334
335   > 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 CVE-2019-11135:OK CVE-2018-12207:OK