chore: add proper header to all src/vulns/* files

This commit is contained in:
Stéphane Lesimple committed 2026-04-02 21:03:29 +02:00
1 parent 5e3033e2f5
commit 3ea8e213ec
21 files changed
+53 -101

No files matched your search

+2 -5
View File
@@ -1,13 +1,11 @@
# vim: set ts=4 sw=4 sts=4 et:
#######################
# iTLB Multihit section
###############################
# CVE-2018-12207, iTLB Multihit, No eXcuses, Machine Check Exception on Page Size Changes
# CVE-2018-12207 iTLB multihit (machine check exception on page size changes) - entry point
check_CVE_2018_12207() {
check_cve 'CVE-2018-12207'
}
# CVE-2018-12207 iTLB multihit (machine check exception on page size changes) - Linux mitigation check
check_CVE_2018_12207_linux() {
local status sys_interface_available msg kernel_itlbmh kernel_itlbmh_err
status=UNK
@@ -85,7 +83,6 @@ check_CVE_2018_12207_linux() {
fi
}
# CVE-2018-12207 iTLB multihit (machine check exception on page size changes) - BSD mitigation check
check_CVE_2018_12207_bsd() {
local kernel_2m_x_ept
pr_info_nol "* Kernel supports disabling superpages for executable mappings under EPT: "