mirror of
https://github.com/speed47/spectre-meltdown-checker
synced 2025-01-03 10:05:44 +01:00
fix: don't test SGX again in check_CVE_2018_3615, already done by is_cpu_vulnerable
This commit is contained in:
parent
ae1206288f
commit
e589ed7f02
@ -3448,15 +3448,11 @@ check_CVE_2018_3615()
|
|||||||
if ! is_cpu_vulnerable "$cve"; then
|
if ! is_cpu_vulnerable "$cve"; then
|
||||||
# override status & msg in case CPU is not vulnerable after all
|
# override status & msg in case CPU is not vulnerable after all
|
||||||
pvulnstatus $cve OK "your CPU vendor reported your CPU model as not vulnerable"
|
pvulnstatus $cve OK "your CPU vendor reported your CPU model as not vulnerable"
|
||||||
elif [ "$cpuid_sgx" = 1 ]; then
|
elif [ "$cpu_flush_cmd" = 1 ]; then
|
||||||
if [ "$cpu_flush_cmd" = 1 ]; then
|
|
||||||
pvulnstatus $cve OK "your CPU microcode mitigates the vulnerability"
|
pvulnstatus $cve OK "your CPU microcode mitigates the vulnerability"
|
||||||
else
|
else
|
||||||
pvulnstatus $cve VULN "your CPU supports SGX and the microcode is not up to date"
|
pvulnstatus $cve VULN "your CPU supports SGX and the microcode is not up to date"
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
pvulnstatus $cve UNK "couldn't tell if your CPU supports SGX"
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# L1 terminal fault (OS) aka 'Foreshadow-NG (OS)'
|
# L1 terminal fault (OS) aka 'Foreshadow-NG (OS)'
|
||||||
|
Loading…
Reference in New Issue
Block a user