The kernel core dump data directory must be owned by root.

From Oracle Linux 5 Security Technical Implementation Guide

Part of GEN003520

Associated with: CCI-000225

SV-64427r2_rule The kernel core dump data directory must be owned by root.

Vulnerability discussion

Kernel core dumps may contain the full contents of system memory at the time of the crash. As the system memory may contain sensitive information, it must be protected accordingly. If the kernel core dump data directory is not owned by root, the core dumps contained in the directory may be subject to unauthorized access.

Check content

Verify the location of the kernel core dump data directory: # grep “path” /etc/kdump.conf Note: If this setting is not configured or commented out, the default kernel dump data directory is /var/crash. Check the ownership of the dump data directory: # ls –ld If the kernel core dump data directory is not owned by root, this is a finding.

Fix text

Change the owner of the kernel core dump data directory to root. # chown root

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer