160585dac187aba3baa3914cce7dfb34648a63ec
[csit.git] / docs / report / introduction / environment / sut_meltspec_zn2.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 AMD EPYC 7532 32-Core Processor
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 (IBRS_SUPPORT feature bit)
22       * CPU indicates preferring IBRS always-on: NO
23       * CPU indicates preferring IBRS over retpoline: YES
24     * Indirect Branch Prediction Barrier (IBPB)
25       * CPU indicates IBPB capability: YES (IBPB_SUPPORT feature bit)
26     * Single Thread Indirect Branch Predictors (STIBP)
27       * SPEC_CTRL MSR is available: YES
28       * CPU indicates STIBP capability: YES (AMD STIBP feature bit)
29       * CPU indicates preferring STIBP always-on: NO
30     * Speculative Store Bypass Disable (SSBD)
31       * CPU indicates SSBD capability: YES (AMD SSBD in SPEC_CTRL)
32     * L1 data cache invalidation
33       * CPU indicates L1D flush capability: NO
34     * CPU supports Transactional Synchronization Extensions (TSX): NO
35     * CPU supports Software Guard Extensions (SGX): NO
36     * CPU supports Special Register Buffer Data Sampling (SRBDS): NO
37     * CPU microcode is known to cause stability problems: NO (family 0x17 model 0x31 stepping 0x0 ucode 0x8301038 cpuid 0x830f10)
38     * CPU microcode is the latest known available version: NO (latest version is 0x8301052 dated 2021/11/11 according to builtin firmwares DB v222+i20220208)
39   * CPU vulnerability to the speculative execution attack variants
40     * Affected by CVE-2017-5753 (Spectre Variant 1, bounds check bypass): YES
41     * Affected by CVE-2017-5715 (Spectre Variant 2, branch target injection): YES
42     * Affected by CVE-2017-5754 (Variant 3, Meltdown, rogue data cache load): NO
43     * Affected by CVE-2018-3640 (Variant 3a, rogue system register read): NO
44     * Affected by CVE-2018-3639 (Variant 4, speculative store bypass): YES
45     * Affected by CVE-2018-3615 (Foreshadow (SGX), L1 terminal fault): NO
46     * Affected by CVE-2018-3620 (Foreshadow-NG (OS), L1 terminal fault): NO
47     * Affected by CVE-2018-3646 (Foreshadow-NG (VMM), L1 terminal fault): NO
48     * Affected by CVE-2018-12126 (Fallout, microarchitectural store buffer data sampling (MSBDS)): NO
49     * Affected by CVE-2018-12130 (ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)): NO
50     * Affected by CVE-2018-12127 (RIDL, microarchitectural load port data sampling (MLPDS)): NO
51     * Affected by CVE-2019-11091 (RIDL, microarchitectural data sampling uncacheable memory (MDSUM)): NO
52     * Affected by CVE-2019-11135 (ZombieLoad V2, TSX Asynchronous Abort (TAA)): NO
53     * Affected by CVE-2018-12207 (No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)): NO
54     * Affected by CVE-2020-0543 (Special Register Buffer Data Sampling (SRBDS)): NO
55
56   CVE-2017-5753 aka Spectre Variant 1, bounds check bypass
57   * Mitigated according to the /sys interface: YES (Mitigation: usercopy/swapgs barriers and __user pointer sanitization)
58   > STATUS: UNKNOWN (/sys vulnerability interface use forced, but its not available!)
59
60   CVE-2017-5715 aka Spectre Variant 2, branch target injection
61   * Mitigated according to the /sys interface: YES (Mitigation: Retpolines, IBPB: conditional, IBRS_FW, STIBP: always-on, RSB filling)
62   > STATUS: VULNERABLE (retpoline+IBPB is needed to mitigate the vulnerability)
63
64   CVE-2017-5754 aka Variant 3, Meltdown, rogue data cache load
65   * Mitigated according to the /sys interface: YES (Not affected)
66   * Running as a Xen PV DomU: NO
67   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
68
69   CVE-2018-3640 aka Variant 3a, rogue system register read
70   * CPU microcode mitigates the vulnerability: YES
71   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
72
73   CVE-2018-3639 aka Variant 4, speculative store bypass
74   * Mitigated according to the /sys interface: YES (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
75   > STATUS: NOT VULNERABLE (Mitigation: Speculative Store Bypass disabled via prctl and seccomp)
76
77   CVE-2018-3615 aka Foreshadow (SGX), L1 terminal fault
78   * CPU microcode mitigates the vulnerability: N/A
79   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
80
81   CVE-2018-3620 aka Foreshadow-NG (OS), L1 terminal fault
82   * Mitigated according to the /sys interface: YES (Not affected)
83   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
84
85   CVE-2018-3646 aka Foreshadow-NG (VMM), L1 terminal fault
86   * Information from the /sys interface: Not affected
87   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
88
89   CVE-2018-12126 aka Fallout, microarchitectural store buffer data sampling (MSBDS)
90   * Mitigated according to the /sys interface: YES (Not affected)
91   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
92
93   CVE-2018-12130 aka ZombieLoad, microarchitectural fill buffer data sampling (MFBDS)
94   * Mitigated according to the /sys interface: YES (Not affected)
95   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
96
97   CVE-2018-12127 aka RIDL, microarchitectural load port data sampling (MLPDS)
98   * Mitigated according to the /sys interface: YES (Not affected)
99   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
100
101   CVE-2019-11091 aka RIDL, microarchitectural data sampling uncacheable memory (MDSUM)
102   * Mitigated according to the /sys interface: YES (Not affected)
103   > STATUS: NOT VULNERABLE (your CPU vendor reported your CPU model as not affected)
104
105   CVE-2019-11135 aka ZombieLoad V2, TSX Asynchronous Abort (TAA)
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-12207 aka No eXcuses, iTLB Multihit, machine check exception on page size changes (MCEPSC)
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-2020-0543 aka Special Register Buffer Data Sampling (SRBDS)
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   > 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