mirror of
https://github.com/speed47/spectre-meltdown-checker.git
synced 2026-06-07 15:13:02 +02:00
fix: add a missing pstatus to CVE-2023-20588 check
This commit is contained in:
@@ -122,8 +122,16 @@ check_CVE_2023_20588_linux() {
|
||||
pstatus blue N/A "not testable in no-runtime mode"
|
||||
fi
|
||||
|
||||
pr_info_nol "* SMT (Simultaneous Multi-Threading) status: "
|
||||
pr_info_nol "* SMT (Simultaneous Multi-Threading) is enabled: "
|
||||
is_cpu_smt_enabled
|
||||
smt_ret=$?
|
||||
if [ "$smt_ret" = 0 ]; then
|
||||
pstatus yellow YES
|
||||
elif [ "$smt_ret" = 2 ]; then
|
||||
pstatus yellow UNKNOWN
|
||||
else
|
||||
pstatus green NO
|
||||
fi
|
||||
elif [ "$sys_interface_available" = 0 ]; then
|
||||
msg="/sys vulnerability interface use forced, but it's not available!"
|
||||
status=UNK
|
||||
|
||||
Reference in New Issue
Block a user