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

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

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_V1R3_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-257803r942973_rule, STIG-ID|RHEL-09-213040, Vuln-ID|V-257803

Plugin: Unix

Control ID: 48f555758b49c55ca5ee43db4606189a908e0ab1d6af1af5b1850129c146872f