ALMA-09-011680 - AlmaLinux OS 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 AlmaLinux OS 9 to disable storing core dumps.

Create a numbered *.conf file in /etc/sysctl.d/ with the following content:

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:

$ sysctl -system

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-269182r1050064_rule, STIG-ID|ALMA-09-011680, Vuln-ID|V-269182

Plugin: Unix

Control ID: cde550d7b6b28097fbdf61386fed7ace72a9811e092453cca643ec869137091f