Report: Add RC1 data
[csit.git] / docs / report / introduction / test_environment_sut_meltspec_tx2.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 4.15.0-72-generic #81-Ubuntu SMP Tue Nov 26 12:21:09 UTC 2019 aarch64
15   CPU is
16
17   Hardware check
18   * CPU vulnerability to the speculative execution attack variants
19     * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass):  YES
20     * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection):  YES
21     * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load):  NO
22     * Affected by CVE-2018-3640 (Variant 3a, rogue system register read):  NO
23     * Affected by CVE-2018-3639 (Variant 4, speculative store bypass):  YES
24     * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault):  NO
25     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault):  NO
26     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault):  NO
27     * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)):  NO
28     * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)):  NO
29     * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)):  NO
30     * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)):  NO
31     * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)):  NO
32     * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)):  NO
33     * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)):  NO
34
35   CVE-2017-5753 aka 'Spectre Variant 1, bounds check bypass'
36   * Mitigated according to the /sys interface:  YES  (Mitigation: __user pointer sanitization)
37   * Kernel has array_index_mask_nospec:  NO
38   * Kernel has the Red Hat/Ubuntu patch:  NO
39   * Kernel has mask_nospec64 (arm64):  NO
40   * Kernel has array_index_nospec (arm64):  NO
41   * Checking count of LFENCE instructions following a jump in kernel...  NO  (only 0 jump-then-lfence instructions found, should be >= 30 (heuristic))
42   > STATUS:  NOT VULNERABLE  (Mitigation: __user pointer sanitization)
43
44   CVE-2017-5715 aka 'Spectre Variant 2, branch target injection'
45   * Mitigated according to the /sys interface:  NO  (Vulnerable)
46   * Mitigation 1
47     * Kernel is compiled with IBRS support:  YES
48     * IBRS enabled and active:  NO
49     * Kernel is compiled with IBPB support:  NO
50     * IBPB enabled and active:  NO
51   * Mitigation 2
52     * Kernel has branch predictor hardening (arm):  YES
53     * Kernel compiled with retpoline option:  NO
54   > STATUS:  NOT VULNERABLE  (Branch predictor hardening mitigates the vulnerability)
55
56   CVE-2017-5754 aka 'Variant 3, Meltdown, rogue data cache load'
57   * Mitigated according to the /sys interface:  YES  (Not affected)
58   * Kernel supports Page Table Isolation (PTI):  YES
59     * PTI enabled and active:  UNKNOWN  (dmesg truncated, please reboot and relaunch this script)
60     * Reduced performance impact of PTI:  NO  (PCID/INVPCID not supported, performance impact of PTI will be significant)
61   * Running as a Xen PV DomU:  NO
62   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
63
64   CVE-2018-3640 aka 'Variant 3a, rogue system register read'
65   * CPU microcode mitigates the vulnerability:  NO
66   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
67
68   CVE-2018-3639 aka 'Variant 4, speculative store bypass'
69   * Mitigated according to the /sys interface:  NO  (Vulnerable)
70   * Kernel supports disabling speculative store bypass (SSB):  YES  (found in /proc/self/status)
71   * SSB mitigation is enabled and active: > STATUS:  VULNERABLE  (Your CPU doesn't support SSBD)
72
73   CVE-2018-3615 aka 'Foreshadow (SGX), L1 terminal fault'
74   * CPU microcode mitigates the vulnerability:  N/A
75   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
76
77   CVE-2018-3620 aka 'Foreshadow-NG (OS), L1 terminal fault'
78   * Mitigated according to the /sys interface:  YES  (Not affected)
79   * Kernel supports PTE inversion:  NO
80   * PTE inversion enabled and active:  NO
81   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
82
83   CVE-2018-3646 aka 'Foreshadow-NG (VMM), L1 terminal fault'
84   * Information from the /sys interface: Not affected
85   * This system is a host running a hypervisor:  NO
86   * Mitigation 1 (KVM)
87     * EPT is disabled:  N/A  (the kvm_intel module is not loaded)
88   * Mitigation 2
89     * L1D flush is supported by kernel:  NO
90     * L1D flush enabled:  NO
91     * Hardware-backed L1D flush supported:  NO  (flush will be done in software, this is slower)
92     * Hyper-Threading (SMT) is enabled:  UNKNOWN
93   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
94
95   CVE-2018-12126 aka 'Fallout, microarchitectural store buffer data sampling (MSBDS)'
96   * Mitigated according to the /sys interface:  YES  (Not affected)
97   * Kernel supports using MD_CLEAR mitigation:  NO
98   * Kernel mitigation is enabled and active:  NO
99   * SMT is either mitigated or disabled:  NO
100   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
101
102   CVE-2018-12130 aka 'ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)'
103   * Mitigated according to the /sys interface:  YES  (Not affected)
104   * Kernel supports using MD_CLEAR mitigation:  NO
105   * Kernel mitigation is enabled and active:  NO
106   * SMT is either mitigated or disabled:  NO
107   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
108
109   CVE-2018-12127 aka 'RIDL, microarchitectural load port data sampling (MLPDS)'
110   * Mitigated according to the /sys interface:  YES  (Not affected)
111   * Kernel supports using MD_CLEAR mitigation:  NO
112   * Kernel mitigation is enabled and active:  NO
113   * SMT is either mitigated or disabled:  NO
114   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
115
116   CVE-2019-11091 aka 'RIDL, microarchitectural data sampling uncacheable memory (MDSUM)'
117   * Mitigated according to the /sys interface:  YES  (Not affected)
118   * Kernel supports using MD_CLEAR mitigation:  NO
119   * Kernel mitigation is enabled and active:  NO
120   * SMT is either mitigated or disabled:  NO
121   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
122
123   CVE-2019-11135 aka 'ZombieLoad V2, TSX Asynchronous Abort (TAA)'
124   * Mitigated according to the /sys interface:  YES  (Not affected)
125   * TAA mitigation is supported by kernel:  YES  (found tsx_async_abort in kernel image)
126   * TAA mitigation enabled and active:  NO
127   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
128
129   CVE-2018-12207 aka 'No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)'
130   * Mitigated according to the /sys interface:  YES  (Not affected)
131   * This system is a host running a hypervisor:  NO
132   * iTLB Multihit mitigation is supported by kernel:  YES  (found itlb_multihit in kernel image)
133   * iTLB Multihit mitigation enabled and active:  NO
134   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
135
136   CVE-2020-0543 aka 'Special Register Buffer Data Sampling (SRBDS)'
137   * SRBDS mitigation control is supported by the kernel:  NO
138   * SRBDS mitigation control is enabled and active:  NO  (SRBDS not found in sysfs hierarchy)
139   > STATUS:  NOT VULNERABLE  (your CPU vendor reported your CPU model as not vulnerable)
140
141   > SUMMARY: CVE-2017-5753:OK CVE-2017-5715:OK CVE-2017-5754:OK CVE-2018-3640:OK 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