RHEL 10 must disable access to the network bpf system call from nonprivileged processes.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-281335RHEL-10-800030SV-281335r1167155_ruleCCI-001082medium
Description
Loading and accessing the packet filters programs and maps using the bpf() system call has the potential to reveal sensitive information about the kernel state.
STIGDate
Red Hat Enterprise Linux 10 Security Technical Implementation Guide2026-03-11

Related Frameworks

3 paths across 3 frameworks
NIST 800-531 mapping
SC-2
1.00
  • DISA · V1R1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
NIST 800-1711 mapping
3.13.3
1.00
  • DISA · V1R1 · disa_xccdf · related
  • DISA · 2025-01-23 · disa_cci_list · equivalent
  • NIST · Rev 2 (Feb 2020, errata Jan 2021) · nist_800_171_app_d · equivalent
CCI1 mapping
CCI-001082
1.00
  • DISA · V1R1 · disa_xccdf · related

Details

Check Text (C-281335r1167155_chk)

Verify RHEL 10 prevents privilege escalation through the kernel by disabling access to the bpf system call. Check the status of the "kernel.unprivileged_bpf_disabled" kernel parameter with the following command: $ sysctl kernel.unprivileged_bpf_disabled kernel.unprivileged_bpf_disabled = 1 If "kernel.unprivileged_bpf_disabled" is not set to "1" or is missing, this is a finding.

Fix Text (F-85801r1167154_fix)

Configure RHEL 10 to prevent privilege escalation through the kernel by disabling access to the bpf system call. Create the drop-in file if it does not already exist: $ sudo vi /etc/sysctl.d/99-kernel_unprivileged_bpf_disabled Add the following line to the file: kernel.unprivileged_bpf_disabled = 1 Reload settings from all system configuration files with the following command: $ sudo sysctl --system