Linux RHEL-10-701010
DISA STIG recommends
RHEL-10-701010 CAT II
RHEL 10 must clear memory when it is freed to prevent use-after-free attacks.
NIST SP 800-53: SC-3
Check
Verify RHEL 10 is configured so that the current GRUB2 configuration mitigates use-after-free vulnerabilities by employing memory poisoning. Check that the current GRUB2 configuration mitigates use-after-free vulnerabilities by employing memory poisoning with the following command: $ sudo grubby --info=ALL | grep args | grep -v init_on_free=1 If any output is returned, this is a finding. Check that page poisoning is enabled by default to persist in kernel updates with the following command: $ sudo grep grub_cmdline_linux /etc/default/grub GRUB_CMDLINE_LINUX="... init_on_free=1" If "init_on_free=1" is missing or commented out, this is a finding.
Fix
Configure RHEL 10 to enable "init_on_free" with the following command: $ sudo grubby --update-kernel=ALL --args="init_on_free=1"
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