fix(docs): Static content
[csit.git] / docs / report / introduction / 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.45
12
13   Checking for vulnerabilities on current system
14   Kernel is Linux 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
15   CPU is Intel(R) Xeon(R) Gold 6252N CPU @ 2.30GHz
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: YES (Intel SSBD)
29     * L1 data cache invalidation
30       * CPU indicates L1D flush capability: YES (L1D flush feature bit)
31     * Microarchitectural Data Sampling
32       * VERW instruction is available: YES (MD_CLEAR feature bit)
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: YES
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: YES
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): YES
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): YES
48       * TSX_CTRL MSR indicates TSX RTM is disabled: YES
49       * TSX_CTRL MSR indicates TSX CPUID bit is cleared: YES
50     * CPU supports Transactional Synchronization Extensions (TSX): NO
51     * CPU supports Software Guard Extensions (SGX): NO
52     * CPU supports Special Register Buffer Data Sampling (SRBDS): NO
53     * CPU microcode is known to cause stability problems: NO (family 0x6 model 0x55 stepping 0x7 ucode 0x500002c cpuid 0x50657)
54     * CPU microcode is the latest known available version: NO (latest version is 0x500320a dated 2021/08/13 according to builtin firmwares DB v222+i20220208)
55   * CPU vulnerability to the speculative execution attack variants
56     * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
57     * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
58     * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
59     * Affected by CVE-2018-3640 (Variant 3a, rogue system register read): YES
60     * Affected by CVE-2018-3639 (Variant 4, speculative store bypass): YES
61     * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
62     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): YES
63     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): YES
64     * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
65     * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
66     * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
67     * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
68     * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
69     * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): YES
70     * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)): NO
71
72   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
73   * Mitigated according to the /sys interface: YES (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
74   > STATUS: UNKNOWN (/sys vulnerability interface use forced, but its not available!)
75
76   CVE-2017-5715 aka Spectre Variant 2, branch target injection
77   * Mitigated according to the /sys interface: YES (Mitigation: Enhanced IBRS, IBPB: conditional, RSB filling)
78   > STATUS: VULNERABLE (IBRS+IBPB or retpoline+IBPB+RSB filling, is needed to mitigate the vulnerability)
79
80   CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
81   * Mitigated according to the /sys interface: YES (Not affected)
82   * Running as a Xen PV DomU: NO
83   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
84
85   CVE-2018-3640 aka Variant 3a, rogue system register read
86   * CPU microcode mitigates the vulnerability: YES
87   > STATUS: NOT VULNERABLE (your CPU microcode mitigates the vulnerability)
88
89   CVE-2018-3639 aka Variant 4, speculative store bypass
90   * Mitigated according to the /sys interface: YES (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
91   > STATUS: NOT VULNERABLE (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
92
93   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
94   * CPU microcode mitigates the vulnerability: N/A
95   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
96
97   CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
98   * Mitigated according to the /sys interface: YES (Not affected)
99   > STATUS: NOT VULNERABLE (Not affected)
100
101   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
102   * Information from the /sys interface: Not affected
103   > STATUS: NOT VULNERABLE (your kernel reported your CPU model as not affected)
104
105   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
106   * Mitigated according to the /sys interface: YES (Not affected)
107   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
108
109   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
110   * Mitigated according to the /sys interface: YES (Not affected)
111   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
112
113   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
114   * Mitigated according to the /sys interface: YES (Not affected)
115   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
116
117   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
118   * Mitigated according to the /sys interface: YES (Not affected)
119   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
120
121   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
122   * Mitigated according to the /sys interface: YES (Mitigation: TSX disabled)
123   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
124
125   CVE-2018-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
126   * Mitigated according to the /sys interface: YES (KVM: Mitigation: VMX disabled)
127   > STATUS: NOT VULNERABLE (KVM: Mitigation: VMX disabled)
128
129   CVE-2020-0543 aka Special Register Buffer Data Sampling (SRBDS)
130   * Mitigated according to the /sys interface: YES (Not affected)
131   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
132
133   > 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