1.5.7 Ensure kernel core dumps are disabled unless needed

Information

The operating system must disable kernel dumps unless needed.

Kernel core dumps may contain the full contents of system memory at the time of the crash. Kernel core dumps may consume a considerable amount of disk space and may result in denial of service by exhausting the available space on the target file system partition.

The operating system's installation media presents the option to enable or disable the "kdump" service at the time of system installation.

Solution

If kernel core dumps are not required, disable the "kdump" service with the following command:

# systemctl disable kdump.service

If kernel core dumps are required, document the need with the ISSO.

See Also

https://workbench.cisecurity.org/benchmarks/19886