style(ipsec): Unify mutiline strings
[csit.git] / docs / report / introduction / test_environment_sut_meltspec_icx.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 8358 CPU @ 2.60GHz
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: 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 explicitly indicates not being vulnerable to TSX Asynchronous Abort (TAA_NO): YES
44       * CPU explicitly indicates not being vulnerable to iTLB Multihit (PSCHANGE_MSC_NO): YES
45       * CPU explicitly indicates having MSR for TSX control (TSX_CTRL_MSR): YES
46         * TSX_CTRL MSR indicates TSX RTM is disabled: YES
47         * TSX_CTRL MSR indicates TSX CPUID bit is cleared: YES
48       * CPU supports Transactional Synchronization Extensions (TSX): NO
49       * CPU supports Software Guard Extensions (SGX): YES
50       * CPU supports Special Register Buffer Data Sampling (SRBDS): NO
51       * CPU microcode is known to cause stability problems: NO (family 0x6 model 0x6a stepping 0x6 ucode 0xd000280 cpuid 0x606a6)
52       * CPU microcode is the latest known available version: NO (latest version is 0xd0002a0 dated 2021/04/25 according to builtin firmwares DB v191+i20210217)
53     * CPU vulnerability to the speculative execution attack variants
54       * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
55       * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
56       * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
57       * Affected by CVE-2018-3640 (Variant 3a, rogue system register read): YES
58       * Affected by CVE-2018-3639 (Variant 4, speculative store bypass): YES
59       * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): YES
60       * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): YES
61       * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): YES
62       * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
63       * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
64       * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
65       * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
66       * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
67       * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): YES
68       * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)): NO
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     > STATUS: UNKNOWN (/sys vulnerability interface use forced, but its not available!)
73
74     CVE-2017-5715 aka Spectre Variant 2, branch target injection
75     * Mitigated according to the /sys interface: YES (Mitigation: Enhanced IBRS, IBPB: conditional, RSB filling)
76     > STATUS: VULNERABLE (IBRS+IBPB or retpoline+IBPB is needed to mitigate the vulnerability)
77
78     CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
79     * Mitigated according to the /sys interface: YES (Not affected)
80     * Running as a Xen PV DomU: NO
81     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
82
83     CVE-2018-3640 aka Variant 3a, rogue system register read
84     * CPU microcode mitigates the vulnerability: YES
85     > STATUS: NOT VULNERABLE (your CPU microcode mitigates the vulnerability)
86
87     CVE-2018-3639 aka Variant 4, speculative store bypass
88     * Mitigated according to the /sys interface: YES (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
89     > STATUS: NOT VULNERABLE (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
90
91     CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
92     * CPU microcode mitigates the vulnerability: YES
93     > STATUS: NOT VULNERABLE (your CPU microcode mitigates the vulnerability)
94
95     CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
96     * Mitigated according to the /sys interface: YES (Not affected)
97     > STATUS: NOT VULNERABLE (Not affected)
98
99     CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
100     * Information from the /sys interface: Not affected
101     > STATUS: NOT VULNERABLE (your kernel reported your CPU model as not vulnerable)
102
103     CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
104     * Mitigated according to the /sys interface: YES (Not affected)
105     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
106
107     CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
108     * Mitigated according to the /sys interface: YES (Not affected)
109     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
110
111     CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
112     * Mitigated according to the /sys interface: YES (Not affected)
113     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
114
115     CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
116     * Mitigated according to the /sys interface: YES (Not affected)
117     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
118
119     CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
120     * Mitigated according to the /sys interface: YES (Not affected)
121     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
122
123     CVE-2018-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
124     * Mitigated according to the /sys interface: YES (Not affected)
125     > STATUS: NOT VULNERABLE (Not affected)
126
127     CVE-2020-0543 aka Special Register Buffer Data Sampling (SRBDS)
128     * Mitigated according to the /sys interface: YES (Not affected)
129     > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not vulnerable)
130
131     > SUMMARY: CVE-2017-5753:?? CVE-2017-5715:KO 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