RHEL-09-213040 - RHEL 9 must disable the kernel.core_pattern.

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_9_V2R2_STIG.zip

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: d03c961d9eb42abbc61cba8c2e1e36e043420a84323d5bcca1624bbbc43180b6