linux_hardening_guide:boot_parameters
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux_hardening_guide:boot_parameters [2025/05/31 15:37] – peter | linux_hardening_guide:boot_parameters [2025/05/31 15:42] (current) – peter | ||
---|---|---|---|
Line 123: | Line 123: | ||
</ | </ | ||
- | These parameters prevent information leaks during boot and must be used in combination with the **kernel.printk** sysctl documented | + | These parameters prevent information leaks during boot and must be used in combination with the **kernel.printk** sysctl documented |
+ | ---- | ||
+ | |||
+ | ===== CPU mitigations ===== | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | |||
+ | * This is a list that enables all built-in mitigations: | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | spectre_v2=on spec_store_bypass_disable=on tsx=off tsx_async_abort=full, | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Result ===== | ||
+ | |||
+ | If you have followed all of the above recommendations, | ||
+ | |||
+ | <code bash> | ||
+ | slab_nomerge init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none debugfs=off oops=panic module.sig_enforce=1 lockdown=confidentiality mce=0 quiet loglevel=0 | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: | ||
+ | </ | ||
+ | |||
---- | ---- | ||
linux_hardening_guide/boot_parameters.1748705870.txt.gz · Last modified: 2025/05/31 15:37 by peter