BaselineWatch
Apply as published
Desk

Linux RHEL-10-701040

DISA STIG RHEL-10-701040 (CAT II): RHEL 10 must prevent kernel profiling by nonprivileged users.

DISA STIG recommends

RHEL-10-701040 CAT II

RHEL 10 must prevent kernel profiling by nonprivileged users.

NIST SP 800-53: SC-2, SC-4

Check

Verify RHEL 10 is configured to prevent kernel profiling by nonprivileged users. Check the status of the "kernel.perf_event_paranoid" kernel parameter: $ sudo sysctl kernel.perf_event_paranoid kernel.perf_event_paranoid = 2 If "kernel.perf_event_paranoid" is not set to "2" or is missing, this is a finding.

Fix

Configure RHEL 10 to prevent kernel profiling by nonprivileged users. Create a drop-in if it does not already exist: $ sudo vi /etc/sysctl.d/99-kernel_perf_event_paranoid.conf Add the following to the file: kernel.perf_event_paranoid = 2 Reload settings from all system configuration files with the following command: $ sudo sysctl --system

Our decision

Apply as published

No decision recorded: the recommendation stands. The owner signs in to change it.

All Linux decisions · The Linux baseline · The Linux test plan