Information
Changes to any software components can have significant effects on the overall security of the operating system. This requirement ensures the software has not been tampered with and has been provided by a trusted vendor.
Disabling kexec_load prevents an unsigned kernel image (that could be a windows kernel or modified vulnerable kernel) from being loaded. Kexec can be used to subvert the entire secureboot process and should be avoided at all costs, especially because it can load unsigned kernel images.
Solution
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