mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-23 16:31:05 -05:00
set kernel boot parameter l1tf=full,force
and nosmt=force
https://forums.whonix.org/t/should-all-kernel-patches-for-cpu-bugs-be-unconditionally-enabled-vs-performance-vs-applicability/7647/17
This commit is contained in:
parent
efc40da4fb
commit
c1a0da60be
2
debian/control
vendored
2
debian/control
vendored
@ -70,6 +70,8 @@ Description: enhances misc security settings
|
|||||||
vulnerabilities.
|
vulnerabilities.
|
||||||
.
|
.
|
||||||
* All mitigations for the MDS vulnerability are enabled.
|
* All mitigations for the MDS vulnerability are enabled.
|
||||||
|
.
|
||||||
|
* Enables mitigations for the L1TF (L1 Terminal Fault) vulnerability.
|
||||||
.
|
.
|
||||||
* A systemd service clears System.map on boot as these contain kernel symbols
|
* A systemd service clears System.map on boot as these contain kernel symbols
|
||||||
that could be useful to an attacker.
|
that could be useful to an attacker.
|
||||||
|
@ -40,6 +40,12 @@ GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX pti=on"
|
|||||||
## Disables smt which can be used to exploit the MDS vulnerability.
|
## Disables smt which can be used to exploit the MDS vulnerability.
|
||||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mds=full,nosmt"
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX mds=full,nosmt"
|
||||||
|
|
||||||
|
## https://www.kernel.org/doc/html/latest/admin-guide/hw-vuln/l1tf.html
|
||||||
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX l1tf=full,force"
|
||||||
|
|
||||||
|
## https://forums.whonix.org/t/should-all-kernel-patches-for-cpu-bugs-be-unconditionally-enabled-vs-performance-vs-applicability/7647/17
|
||||||
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX nosmt=force"
|
||||||
|
|
||||||
## Vsyscalls are obsolete, are at fixed addresses and are a target for ROP.
|
## Vsyscalls are obsolete, are at fixed addresses and are a target for ROP.
|
||||||
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX vsyscall=none"
|
GRUB_CMDLINE_LINUX="$GRUB_CMDLINE_LINUX vsyscall=none"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user