Skip to content
ATO Pathways
Log In
Overview
Search
Catalogs
SCAP
OSCAL
Catalogs
Profiles
Documents
References
Knowledge Base
Platform Documentation
Compliance Dictionary
Platform Changelog
About
Catalogs
XCCDF
Guide to the Secure Configuration of Ubuntu 20.04
System Settings
Kernel Configuration
Randomize the address of the kernel image (KASLR)
Randomize the address of the kernel image (KASLR)
An XCCDF Rule
Details
Profiles
Prose
Randomize the address of the kernel image (KASLR)
Medium Severity
In support of Kernel Address Space Layout Randomization (KASLR), this randomizes the physical address at which the kernel image is decompressed and the virtual address where the kernel image is mapped. The configuration that was used to build kernel is available at
/boot/config-*
. To check the configuration value for
CONFIG_RANDOMIZE_BASE
, run the following command:
grep CONFIG_RANDOMIZE_BASE /boot/config-*
For each kernel installed, a line with value "y" should be returned.