Harden slab freelist metadata
An XCCDF Rule
Description
This feature protects integrity of the allocator's metadata.
This configuration is available from kernel 4.14.
The configuration that was used to build kernel is available at /boot/config-*
.
To check the configuration value for CONFIG_SLAB_FREELIST_HARDENED
, run the following command:
grep CONFIG_SLAB_FREELIST_HARDENED /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
Many kernel heap attacks try to target slab cache metadata and other infrastructure. This options makes minor performance sacrifices to harden the kernel slab allocator against common freelist exploit methods.
- ID
- xccdf_org.ssgproject.content_rule_kernel_config_slab_freelist_hardened
- Severity
- Medium
- References
- Updated