Enable SLUB debugging support
An XCCDF Rule
Description
SLUB has extensive debug support features and this allows the allocator validation checking to
be enabled.
The configuration that was used to build kernel is available at /boot/config-*
.
To check the configuration value for CONFIG_SLUB_DEBUG
, run the following command:
grep CONFIG_SLUB_DEBUG /boot/config-*
For each kernel installed, a line with value "y" should be returned.
warning alert: Warning
There is no remediation for this besides re-compiling the kernel with the appropriate value for the config.
Rationale
This activates the checking of the memory allocator structures and resets to zero the zones allocated when they are released.
- ID
- xccdf_org.ssgproject.content_rule_kernel_config_slub_debug
- Severity
- Medium
- References
- Updated