UCF STIG Viewer Logo

The Ubuntu operating system must disable kernel core dumps so that it can fail to a secure state if system initialization fails, shutdown fails or aborts fail.


Finding ID Version Rule ID IA Controls Severity
V-238334 UBTU-20-010413 SV-238334r654177_rule Medium
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.
Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide 2022-12-06


Check Text ( C-41544r654175_chk )
Verify that kernel core dumps are disabled unless needed.

Check if "kdump" service is active with the following command:

$ systemctl is-active kdump.service

If the "kdump" service is active, ask the SA if the use of the service is required and documented with the ISSO.

If the service is active and is not documented, this is a finding.
Fix Text (F-41503r654176_fix)
If kernel core dumps are not required, disable the "kdump" service with the following command:

$ sudo systemctl disable kdump.service

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