fix(docs): Static content
[csit.git] / docs / report / introduction / environment / sut_meltspec_dnv.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.45
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) Atom(TM) CPU C3858 @ 2.00GHz
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       * CPU indicates IBPB capability: YES (SPEC_CTRL feature bit)
24     * Single Thread Indirect Branch Predictors (STIBP)
25       * SPEC_CTRL MSR is available: YES
26       * CPU indicates STIBP capability: YES (Intel STIBP feature bit)
27     * Speculative Store Bypass Disable (SSBD)
28       * CPU indicates SSBD capability: NO
29     * L1 data cache invalidation
30       * CPU indicates L1D flush capability: NO
31     * Microarchitectural Data Sampling
32       * VERW instruction is available: NO
33     * Indirect Branch Predictor Controls
34       * Indirect Predictor Disable feature is available: NO
35       * Bottomless RSB Disable feature is available: NO
36       * BHB-Focused Indirect Predictor Disable feature is available: NO
37     * Enhanced IBRS (IBRS_ALL)
38       * CPU indicates ARCH_CAPABILITIES MSR availability: YES
39       * ARCH_CAPABILITIES MSR advertises IBRS_ALL capability: NO
40     * CPU explicitly indicates not being affected by Meltdown/L1TF (RDCL_NO): YES
41     * CPU explicitly indicates not being affected by Variant 4 (SSB_NO): NO
42     * CPU/Hypervisor indicates L1D flushing is not necessary on this system: NO
43     * Hypervisor indicates host CPU might be affected by RSB underflow (RSBA): NO
44     * CPU explicitly indicates not being affected by Microarchitectural Data Sampling (MDS_NO): NO
45     * CPU explicitly indicates not being affected by TSX Asynchronous Abort (TAA_NO): NO
46     * CPU explicitly indicates not being affected by iTLB Multihit (PSCHANGE_MSC_NO): NO
47     * CPU explicitly indicates having MSR for TSX control (TSX_CTRL_MSR): NO
48     * CPU supports Transactional Synchronization Extensions (TSX): NO
49     * CPU supports Software Guard Extensions (SGX): NO
50     * CPU supports Special Register Buffer Data Sampling (SRBDS): NO
51     * CPU microcode is known to cause stability problems: NO (family 0x6 model 0x5f stepping 0x1 ucode 0x20 cpuid 0x506f1)
52     * CPU microcode is the latest known available version: NO (latest version is 0x36 dated 2021/05/10 according to builtin firmwares DB v222+i20220208)
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): NO
60     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): NO
61     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): NO
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)): NO
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: Full generic retpoline, IBPB: conditional, IBRS_FW, STIBP: disabled, 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 affected)
82
83   CVE-2018-3640 aka Variant 3a, rogue system register read
84   * CPU microcode mitigates the vulnerability: NO
85   > STATUS: VULNERABLE (an up-to-date CPU microcode is needed to mitigate this vulnerability)
86
87   CVE-2018-3639 aka Variant 4, speculative store bypass
88   * Mitigated according to the /sys interface: NO (Vulnerable)
89   > STATUS: VULNERABLE (Neither your CPU nor your kernel support SSBD)
90
91   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
92   * CPU microcode mitigates the vulnerability: N/A
93   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
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 (your CPU vendor reported your CPU model as 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 CPU vendor reported your CPU model as not affected)
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 affected)
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 affected)
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 affected)
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 affected)
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 affected)
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 (your CPU vendor reported your CPU model as 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 affected)
130
131   > SUMMARY: CVE-2017-5753:?? CVE-2017-5715:KO 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