fix: add a missing pstatus to CVE-2023-20588 check

This commit is contained in:
Stéphane Lesimple
2026-04-08 21:42:19 +02:00
parent be0f2d20d2
commit f0fb59310e
2 changed files with 40 additions and 1 deletions
+9 -1
View File
@@ -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