STIGQter STIGQter: STIG Summary: Cloud Linux AlmaLinux OS 9 Security Technical Implementation Guide Version: 1 Release: 7 Benchmark Date: 01 Jul 2026:

AlmaLinux OS 9 must prevent kernel profiling by nonprivileged users.

DISA Rule

SV-269426r1198253_rule

Vulnerability Number

V-269426

Group Title

SRG-OS-000132-GPOS-00067

Rule Version

ALMA-09-041160

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure AlmaLinux OS 9 to prevent kernel profiling by nonprivileged users with the following command:

$ echo "kernel.perf_event_paranoid = 2" > /etc/sysctl.d/60-perf.conf

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

$ sysctl --system

Check Contents

Verify AlmaLinux OS 9 is configured to prevent kernel profiling by nonprivileged users with the following commands:

Check the status of the kernel.perf_event_paranoid kernel parameter.

$ 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.

Check that the configuration files are present to enable this kernel parameter.

$ /usr/lib/systemd/systemd-sysctl --cat-config | egrep -v '^(#|;)' | grep -F kernel.perf_event_paranoid | tail -1

kernel.perf_event_paranoid = 2

If "kernel.perf_event_paranoid" is not set to "2" or is missing, this is a finding.

Vulnerability Number

V-269426

Documentable

False

Rule Version

ALMA-09-041160

Severity Override Guidance

Verify AlmaLinux OS 9 is configured to prevent kernel profiling by nonprivileged users with the following commands:

Check the status of the kernel.perf_event_paranoid kernel parameter.

$ 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.

Check that the configuration files are present to enable this kernel parameter.

$ /usr/lib/systemd/systemd-sysctl --cat-config | egrep -v '^(#|;)' | grep -F kernel.perf_event_paranoid | tail -1

kernel.perf_event_paranoid = 2

If "kernel.perf_event_paranoid" is not set to "2" or is missing, this is a finding.

Check Content Reference

M

Target Key

5664