DISA STIGS Viewer

OL 9 must be configured so that the kdump service is disabled.

Overview

Finding ID Version Rule ID IA Controls Severity
V-271733 OL09-00-002385 SV-271733r1092598_rule   Medium
Description
Kernel core dumps may contain the full contents of system memory at the time of the crash. Kernel core dumps 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. Unless the system is used for kernel development or testing, there is little need to run the kdump service.
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75783r1091909_chk)
Verify that OL 9 kdump service is disabled or masked in system boot configuration with the following command:

$ systemctl is-enabled kdump
disabled (or masked)

Verify that the kdump service is not active (i.e., not running) through current runtime configuration with the following command:

$ systemctl is-active kdump
inactive

Verify that the kdump service is masked with the following command:

$ systemctl show kdump | grep "LoadState\|UnitFileState"
LoadState=masked
UnitFileState=masked

If the "kdump" service is loaded or active, and is not masked, this is a finding.
Fix Text (F-75690r1092597_fix)
Configure OL 9 to disable and mask the kdump service.

To disable the kdump service, run the following command:

$ sudo systemctl disable --now kdump

To mask the kdump service, run the following command:

$ sudo systemctl mask --now kdump