lab: update Arm lab docs
[csit.git] / docs / report / introduction / test_environment_sut_meltspec_tsh.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.44+
12
13   Checking for vulnerabilities on current system
14   Kernel is Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64
15   CPU is Intel(R) Xeon(R) Platinum 8180 CPU @ 2.50GHz
16
17   Hardware check
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     * Microarchitectural Data Sampling
34       * VERW instruction is available: YES (MD_CLEAR feature bit)
35     * Enhanced IBRS (IBRS_ALL)
36       * CPU indicates ARCH_CAPABILITIES MSR availability: NO
37       * ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: NO
38     * CPU explicitly indicates not being vulnerable to Meltdown/L1TF (RDCL_NO): NO
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: NO
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): NO
43     * CPU explicitly indicates not being vulnerable to TSX Asynchronous Abort (TAA_NO): NO
44     * CPU explicitly indicates not being vulnerable to iTLB Multihit (PSCHANGE_MSC_NO): NO
45     * CPU explicitly indicates having MSR for TSX control (TSX_CTRL_MSR): NO
46     * CPU supports Transactional Synchronization Extensions (TSX): YES (RTM feature bit)
47     * CPU supports Software Guard Extensions (SGX): NO
48     * CPU supports Special Register Buffer Data Sampling (SRBDS): NO
49     * CPU microcode is known to cause stability problems: NO (family 0x6 model 0x55 stepping 0x4 ucode 0x2000065 cpuid 0x50654)
50     * CPU microcode is the latest known available version: NO (latest version is 0x2006b06 dated 2021/03/08 according to builtin firmwares DB v191+i20210217)
51   * CPU vulnerability to the speculative execution attack variants
52     * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
53     * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
54     * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): YES
55     * Affected by CVE-2018-3640 (Variant 3a, rogue system register read): YES
56     * Affected by CVE-2018-3639 (Variant 4, speculative store bypass): YES
57     * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
58     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): YES
59     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): YES
60     * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): YES
61     * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): YES
62     * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): YES
63     * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): YES
64     * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): YES
65     * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): YES
66     * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)): NO
67
68   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
69   * Mitigated according to the /sys interface: YES (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
70   * Kernel has array_index_mask_nospec: YES (1 occurrence(s) found of x86 64 bits array_index_mask_nospec())
71   * Kernel has the Red Hat/Ubuntu patch: NO
72   * Kernel has mask_nospec64 (arm64): NO
73   * Kernel has array_index_nospec (arm64): NO
74   > STATUS: NOT VULNERABLE (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
75
76   CVE-2017-5715 aka Spectre Variant 2, branch target injection
77   * Mitigated according to the /sys interface: YES (Mitigation: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: conditional, RSB filling)
78   * Mitigation 1
79     * Kernel is compiled with IBRS support: YES
80       * IBRS enabled and active: YES (for firmware code only)
81     * Kernel is compiled with IBPB support: YES
82       * IBPB enabled and active: YES
83   * Mitigation 2
84     * Kernel has branch predictor hardening (arm): NO
85     * Kernel compiled with retpoline option: YES
86       * Kernel compiled with a retpoline-aware compiler: YES (kernel reports full retpoline compilation)
87     * Kernel supports RSB filling: YES
88   > STATUS: NOT VULNERABLE (Full retpoline + 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 (Mitigation: PTI)
92   * Kernel supports Page Table Isolation (PTI): YES
93     * PTI enabled and active: YES
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 (Mitigation: PTI)
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 (boltd fwupd irqbalance 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 (Mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable)
115   * Kernel supports PTE inversion: YES (found in kernel image)
116   * PTE inversion enabled and active: YES
117   > STATUS: NOT VULNERABLE (Mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable)
118
119   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
120   * Information from the /sys interface: Mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
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: YES (conditional flushes)
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 (this system is not running a hypervisor)
130
131   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
132   * Mitigated according to the /sys interface: YES (Mitigation: Clear CPU buffers; SMT vulnerable)
133   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
134   * Kernel mitigation is enabled and active: YES
135   * SMT is either mitigated or disabled: NO
136   > STATUS: NOT VULNERABLE (Your microcode and kernel are both up to date for this mitigation, and mitigation is enabled)
137
138   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
139   * Mitigated according to the /sys interface: YES (Mitigation: Clear CPU buffers; SMT vulnerable)
140   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
141   * Kernel mitigation is enabled and active: YES
142   * SMT is either mitigated or disabled: NO
143   > STATUS: NOT VULNERABLE (Your microcode and kernel are both up to date for this mitigation, and mitigation is enabled)
144
145   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
146   * Mitigated according to the /sys interface: YES (Mitigation: Clear CPU buffers; SMT vulnerable)
147   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
148   * Kernel mitigation is enabled and active: YES
149   * SMT is either mitigated or disabled: NO
150   > STATUS: NOT VULNERABLE (Your microcode and kernel are both up to date for this mitigation, and mitigation is enabled)
151
152   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
153   * Mitigated according to the /sys interface: YES (Mitigation: Clear CPU buffers; SMT vulnerable)
154   * Kernel supports using MD_CLEAR mitigation: YES (md_clear found in /proc/cpuinfo)
155   * Kernel mitigation is enabled and active: YES
156   * SMT is either mitigated or disabled: NO
157   > STATUS: NOT VULNERABLE (Your microcode and kernel are both up to date for this mitigation, and mitigation is enabled)
158
159   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
160   * Mitigated according to the /sys interface: YES (Mitigation: Clear CPU buffers; SMT vulnerable)
161   * TAA mitigation is supported by kernel: YES (found tsx_async_abort in kernel image)
162   * TAA mitigation enabled and active: YES (Mitigation: Clear CPU buffers; SMT vulnerable)
163   > STATUS: NOT VULNERABLE (Mitigation: Clear CPU buffers; SMT 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   CVE-2020-0543 aka Special Register Buffer Data Sampling (SRBDS)
173   * Mitigated according to the /sys interface: YES (Not affected)
174   * SRBDS mitigation control is supported by the kernel: YES (found SRBDS implementation evidence in kernel image. Your kernel is up to date for SRBDS mitigation)
175   * SRBDS mitigation control is enabled and active: NO
176   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
177
178   > 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 CVE-2020-0543:OK
179
180 ::
181
182   Spectre and Meltdown mitigation detection tool v0.44+
183
184   Checking for vulnerabilities on current system
185   Kernel is Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:27:25 UTC 2021 aarch64
186   CPU is ARM v8 model 0xd08
187
188   Hardware check
189   * CPU vulnerability to the speculative execution attack variants
190     * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
191     * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
192     * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
193     * Affected by CVE-2018-3640 (Variant 3a, rogue system register read): YES
194     * Affected by CVE-2018-3639 (Variant 4, speculative store bypass): YES
195     * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
196     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): NO
197     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): NO
198     * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
199     * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
200     * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
201     * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
202     * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
203     * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): NO
204     * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)): NO
205
206   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
207   * Mitigated according to the /sys interface: YES (Mitigation: __user pointer sanitization)
208   * Kernel has array_index_mask_nospec: NO
209   * Kernel has the Red Hat/Ubuntu patch: NO
210   * Kernel has mask_nospec64 (arm64): NO
211   * Kernel has array_index_nospec (arm64): NO
212   * Checking count of LFENCE instructions following a jump in kernel... NO (only 0 jump-then-lfence instructions found, should be >= 30 (heuristic))
213   > STATUS: NOT VULNERABLE (Mitigation: __user pointer sanitization)
214
215   CVE-2017-5715 aka Spectre Variant 2, branch target injection
216   * Mitigated according to the /sys interface: NO (Vulnerable)
217   * Mitigation 1
218     * Kernel is compiled with IBRS support: YES
219       * IBRS enabled and active: NO
220     * Kernel is compiled with IBPB support: NO
221       * IBPB enabled and active: NO
222   * Mitigation 2
223     * Kernel has branch predictor hardening (arm): YES
224     * Kernel compiled with retpoline option: NO
225   > STATUS: NOT VULNERABLE (Branch predictor hardening mitigates the vulnerability)
226
227   CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
228   * Mitigated according to the /sys interface: YES (Not affected)
229   * Kernel supports Page Table Isolation (PTI): YES
230     * PTI enabled and active: UNKNOWN (dmesg truncated, please reboot and relaunch this script)
231     * Reduced performance impact of PTI: NO (PCID/INVPCID not supported, performance impact of PTI will be significant)
232   * Running as a Xen PV DomU: NO
233   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
234
235   CVE-2018-3640 aka Variant 3a, rogue system register read
236   * CPU microcode mitigates the vulnerability: NO
237   > STATUS: VULNERABLE (an up-to-date CPU microcode is needed to mitigate this vulnerability)
238
239   CVE-2018-3639 aka Variant 4, speculative store bypass
240   * Mitigated according to the /sys interface: NO (Vulnerable)
241   * Kernel supports disabling speculative store bypass (SSB): YES (found in /proc/self/status)
242   * SSB mitigation is enabled and active: NO
243   > STATUS: VULNERABLE (Your CPU doesnt support SSBD)
244
245   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
246   * CPU microcode mitigates the vulnerability: N/A
247   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
248
249   CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
250   * Mitigated according to the /sys interface: YES (Not affected)
251   * Kernel supports PTE inversion: NO
252   * PTE inversion enabled and active: NO
253   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
254
255   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
256   * Information from the /sys interface: Not affected
257   * This system is a host running a hypervisor: NO
258   * Mitigation 1 (KVM)
259     * EPT is disabled: N/A (the kvm_intel module is not loaded)
260   * Mitigation 2
261     * L1D flush is supported by kernel: NO
262     * L1D flush enabled: NO
263     * Hardware-backed L1D flush supported: NO (flush will be done in software, this is slower)
264     * Hyper-Threading (SMT) is enabled: UNKNOWN
265   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
266
267   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
268   * Mitigated according to the /sys interface: YES (Not affected)
269   * Kernel supports using MD_CLEAR mitigation: NO
270   * Kernel mitigation is enabled and active: NO
271   * SMT is either mitigated or disabled: NO
272   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
273
274   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
275   * Mitigated according to the /sys interface: YES (Not affected)
276   * Kernel supports using MD_CLEAR mitigation: NO
277   * Kernel mitigation is enabled and active: NO
278   * SMT is either mitigated or disabled: NO
279   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
280
281   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
282   * Mitigated according to the /sys interface: YES (Not affected)
283   * Kernel supports using MD_CLEAR mitigation: NO
284   * Kernel mitigation is enabled and active: NO
285   * SMT is either mitigated or disabled: NO
286   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
287
288   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
289   * Mitigated according to the /sys interface: YES (Not affected)
290   * Kernel supports using MD_CLEAR mitigation: NO
291   * Kernel mitigation is enabled and active: NO
292   * SMT is either mitigated or disabled: NO
293   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
294
295   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
296   * Mitigated according to the /sys interface: YES (Not affected)
297   * TAA mitigation is supported by kernel: YES (found tsx_async_abort in kernel image)
298   * TAA mitigation enabled and active: NO
299   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
300
301   CVE-2018-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
302   * Mitigated according to the /sys interface: YES (Not affected)
303   * This system is a host running a hypervisor: NO
304   * iTLB Multihit mitigation is supported by kernel: YES (found itlb_multihit in kernel image)
305   * iTLB Multihit mitigation enabled and active: NO
306   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
307
308   CVE-2020-0543 aka Special Register Buffer Data Sampling (SRBDS)
309   * Mitigated according to the /sys interface: YES (Not affected)
310   * SRBDS mitigation control is supported by the kernel: NO
311   * SRBDS mitigation control is enabled and active: NO
312   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
313
314   > SUMMARY: CVE-2017-5753:OK CVE-2017-5715:OK CVE-2017-5754:OK CVE-2018-3640:KO CVE-2018-3639:KO 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 CVE-2020-0543:OK
315
316   Need more detailed information about mitigation options? Use --explain
317   A false sense of security is worse than no security at all, see --disclaimer
318 ok: [10.30.51.37] =>
319   spectre_meltdown_poll_results.stdout_lines:
320   Spectre and Meltdown mitigation detection tool v0.44+
321
322   Checking for vulnerabilities on current system
323   Kernel is Linux 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:27:25 UTC 2021 aarch64
324   CPU is ARM v8 model 0xd08
325
326   Hardware check
327   * CPU vulnerability to the speculative execution attack variants
328     * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
329     * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
330     * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
331     * Affected by CVE-2018-3640 (Variant 3a, rogue system register read): YES
332     * Affected by CVE-2018-3639 (Variant 4, speculative store bypass): YES
333     * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
334     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): NO
335     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): NO
336     * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
337     * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
338     * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
339     * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
340     * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
341     * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): NO
342     * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)): NO
343
344   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
345   * Mitigated according to the /sys interface: YES (Mitigation: __user pointer sanitization)
346   * Kernel has array_index_mask_nospec: NO
347   * Kernel has the Red Hat/Ubuntu patch: NO
348   * Kernel has mask_nospec64 (arm64): NO
349   * Kernel has array_index_nospec (arm64): NO
350   * Checking count of LFENCE instructions following a jump in kernel... NO (only 0 jump-then-lfence instructions found, should be >= 30 (heuristic))
351   > STATUS: NOT VULNERABLE (Mitigation: __user pointer sanitization)
352
353   CVE-2017-5715 aka Spectre Variant 2, branch target injection
354   * Mitigated according to the /sys interface: NO (Vulnerable)
355   * Mitigation 1
356     * Kernel is compiled with IBRS support: YES
357       * IBRS enabled and active: NO
358     * Kernel is compiled with IBPB support: NO
359       * IBPB enabled and active: NO
360   * Mitigation 2
361     * Kernel has branch predictor hardening (arm): YES
362     * Kernel compiled with retpoline option: NO
363   > STATUS: NOT VULNERABLE (Branch predictor hardening mitigates the vulnerability)
364
365   CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
366   * Mitigated according to the /sys interface: YES (Not affected)
367   * Kernel supports Page Table Isolation (PTI): YES
368     * PTI enabled and active: UNKNOWN (dmesg truncated, please reboot and relaunch this script)
369     * Reduced performance impact of PTI: NO (PCID/INVPCID not supported, performance impact of PTI will be significant)
370   * Running as a Xen PV DomU: NO
371   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
372
373   CVE-2018-3640 aka Variant 3a, rogue system register read
374   * CPU microcode mitigates the vulnerability: NO
375   > STATUS: VULNERABLE (an up-to-date CPU microcode is needed to mitigate this vulnerability)
376
377   CVE-2018-3639 aka Variant 4, speculative store bypass
378   * Mitigated according to the /sys interface: NO (Vulnerable)
379   * Kernel supports disabling speculative store bypass (SSB): YES (found in /proc/self/status)
380   * SSB mitigation is enabled and active: NO
381   > STATUS: VULNERABLE (Your CPU doesnt support SSBD)
382
383   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
384   * CPU microcode mitigates the vulnerability: N/A
385   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
386
387   CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
388   * Mitigated according to the /sys interface: YES (Not affected)
389   * Kernel supports PTE inversion: NO
390   * PTE inversion enabled and active: NO
391   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
392
393   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
394   * Information from the /sys interface: Not affected
395   * This system is a host running a hypervisor: NO
396   * Mitigation 1 (KVM)
397     * EPT is disabled: N/A (the kvm_intel module is not loaded)
398   * Mitigation 2
399     * L1D flush is supported by kernel: NO
400     * L1D flush enabled: NO
401     * Hardware-backed L1D flush supported: NO (flush will be done in software, this is slower)
402     * Hyper-Threading (SMT) is enabled: UNKNOWN
403   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
404
405   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
406   * Mitigated according to the /sys interface: YES (Not affected)
407   * Kernel supports using MD_CLEAR mitigation: NO
408   * Kernel mitigation is enabled and active: NO
409   * SMT is either mitigated or disabled: NO
410   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
411
412   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
413   * Mitigated according to the /sys interface: YES (Not affected)
414   * Kernel supports using MD_CLEAR mitigation: NO
415   * Kernel mitigation is enabled and active: NO
416   * SMT is either mitigated or disabled: NO
417   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
418
419   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
420   * Mitigated according to the /sys interface: YES (Not affected)
421   * Kernel supports using MD_CLEAR mitigation: NO
422   * Kernel mitigation is enabled and active: NO
423   * SMT is either mitigated or disabled: NO
424   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
425
426   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
427   * Mitigated according to the /sys interface: YES (Not affected)
428   * Kernel supports using MD_CLEAR mitigation: NO
429   * Kernel mitigation is enabled and active: NO
430   * SMT is either mitigated or disabled: NO
431   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
432
433   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
434   * Mitigated according to the /sys interface: YES (Not affected)
435   * TAA mitigation is supported by kernel: YES (found tsx_async_abort in kernel image)
436   * TAA mitigation enabled and active: NO
437   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
438
439   CVE-2018-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
440   * Mitigated according to the /sys interface: YES (Not affected)
441   * This system is a host running a hypervisor: NO
442   * iTLB Multihit mitigation is supported by kernel: YES (found itlb_multihit in kernel image)
443   * iTLB Multihit mitigation enabled and active: NO
444   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
445
446   CVE-2020-0543 aka Special Register Buffer Data Sampling (SRBDS)
447   * Mitigated according to the /sys interface: YES (Not affected)
448   * SRBDS mitigation control is supported by the kernel: NO
449   * SRBDS mitigation control is enabled and active: NO
450   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
451
452   > SUMMARY: CVE-2017-5753:OK CVE-2017-5715:OK CVE-2017-5754:OK CVE-2018-3640:KO CVE-2018-3639:KO 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 CVE-2020-0543:OK