enh: add BSD stubs for CVE-2022-40982 CVE-2023-20569 CVE-2023-23583, detecting unaffected CPUs

This commit is contained in:
Stéphane Lesimple
2026-03-31 22:57:37 +02:00
parent 4875b4c71c
commit 690725ccc1
3 changed files with 27 additions and 0 deletions

View File

@@ -30,3 +30,12 @@ check_CVE_2023_23583_linux() {
fi
fi
}
# CVE-2023-23583 Reptar (redundant prefix issue) - BSD mitigation check
check_CVE_2023_23583_bsd() {
if ! is_cpu_affected "$cve"; then
pvulnstatus "$cve" OK "your CPU vendor reported your CPU model as not affected"
else
pvulnstatus "$cve" UNK "your CPU is affected, but mitigation detection has not yet been implemented for BSD in this script"
fi
}