RHEL-10-701090 - RHEL 10 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 10 to disable storing core dumps.

Create a drop-in if it does not already exist:

$ sudo vi /etc/sysctl.d/99-kernel_core_pattern.conf

Add the following to the file:

kernel.core_pattern = |/bin/false

Reload settings from all system configuration files with the following command:

$ sudo sysctl --system

See Also

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