1.291 OL09-00-002380

Information

OL 9 must disable the kernel.core_pattern.

GROUP ID: V-271728
RULE ID: SV-271728r1091896

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 OL 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/27024