SV-281317r1167101_rule
V-281317
SRG-OS-000095-GPOS-00049
RHEL-10-701150
CAT II
10
Configure RHEL 10 to disable core dump backtraces.
Create or edit the setting in a drop-in configuration file:
$ sudo vi /etc/systemd/coredump.conf:
Add the following line:
ProcessSizeMax=0
Note: If kernel dumps are disabled in accordance with RHEL-10-701090, this requirement is not applicable.
Verify RHEL 10 disables core dump backtraces by issuing the following command:
$ sudo grep -ir ProcessSizeMax /etc/systemd/ | grep -v '#'
/etc/systemd/coredump.conf:ProcessSizeMax=0
If the "ProcessSizeMax" item is missing or the value is anything other than "0", and the need for core dumps is not documented with the information system security officer as an operational requirement for all domains that have the "core" item assigned, this is a finding.
V-281317
False
RHEL-10-701150
Note: If kernel dumps are disabled in accordance with RHEL-10-701090, this requirement is not applicable.
Verify RHEL 10 disables core dump backtraces by issuing the following command:
$ sudo grep -ir ProcessSizeMax /etc/systemd/ | grep -v '#'
/etc/systemd/coredump.conf:ProcessSizeMax=0
If the "ProcessSizeMax" item is missing or the value is anything other than "0", and the need for core dumps is not documented with the information system security officer as an operational requirement for all domains that have the "core" item assigned, this is a finding.
M
5733