SV-281307r1184629_rule
V-281307
SRG-OS-000366-GPOS-00153
RHEL-10-701050
CAT I
10
Configure RHEL 10 to disable kernel image loading.
Create a drop-in if it does not already exist:
$ sudo vi /etc/sysctl.d/99-kernel_kexec_load_disabled.conf
Add the following to the file:
kernel.kexec_load_disabled = 1
Reload settings from all system configuration files with the following command:
$ sudo sysctl --system
Verify RHEL 10 is configured to disable kernel image loading.
Check the status of the "kernel.kexec_load_disabled" kernel parameter with the following command:
$ sudo sysctl kernel.kexec_load_disabled
kernel.kexec_load_disabled = 1
If "kernel.kexec_load_disabled" is not set to "1" or is missing, this is a finding.
V-281307
False
RHEL-10-701050
Verify RHEL 10 is configured to disable kernel image loading.
Check the status of the "kernel.kexec_load_disabled" kernel parameter with the following command:
$ sudo sysctl kernel.kexec_load_disabled
kernel.kexec_load_disabled = 1
If "kernel.kexec_load_disabled" is not set to "1" or is missing, this is a finding.
M
5733