The kdump service on AlmaLinux OS 9 must be disabled.

Severity
Group ID
Group Title
Version
Rule ID
Date
STIG Version
mediumV-269278SRG-OS-000480-GPOS-00227ALMA-09-022350SV-269278r1050160_rule2025-02-201
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.
ℹ️ Check
Verify that the kdump service is disabled in system boot configuration with the following command: $ systemctl is-enabled kdump 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
Disable the kdump service with the following command: $ systemctl mask --now kdump