DISA STIGS Viewer

OL 9 must disable core dump backtraces.

Overview

Finding ID Version Rule ID IA Controls Severity
V-271729 OL09-00-002381 SV-271729r1091899_rule   Medium
Description
A core dump includes a memory image taken at the time the operating system terminates an application. The memory image could contain sensitive data and is generally useful only for developers or system operators trying to debug problems. Enabling core dumps on production systems is not recommended; however, there may be overriding operational requirements to enable advanced debugging. Permitting temporary enablement of core dumps during such situations must be reviewed through local needs and policy.
STIG Date
Oracle Linux 9 Security Technical Implementation Guide 2025-05-08

Details

Check Text (C-75779r1091897_chk)
Verify that OL 9 disables core dump backtraces by issuing the following command:

$ grep -i process /etc/systemd/coredump.conf
ProcessSizeMax=0

If the "ProcessSizeMax" item is missing, commented out, or the value is anything other than "0" and the need for core dumps is not documented with the information system security officer (ISSO) as an operational requirement for all domains that have the "core" item assigned, this is a finding.
Fix Text (F-75686r1091898_fix)
Configure the operating system to disable core dump backtraces.

Add or modify the following line in /etc/systemd/coredump.conf:

ProcessSizeMax=0