1.27 RHEL-09-213040

Information

RHEL 9 must disable the kernel.core_pattern.

GROUP ID: V-257803
RULE ID: SV-257803r991589

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 trying to debug problems.

Solution

Configure RHEL 9 to disable storing core dumps.

Add or edit the following line in a system configuration file, in the "/etc/sysctl.d/" directory:

kernel.core_pattern = |/bin/false

The system configuration files need to be reloaded for the changes to take effect. To reload the contents of the files, run the following command:

$ sudo sysctl --system

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-257803r991589_rule, STIG-ID|RHEL-09-213040, Vuln-ID|V-257803

Plugin: Unix

Control ID: 14957a944e51e1a23415420c90fb863ce2b57a0154453522ead41c923d5284db