RHEL 9 must mount /boot with the nodev option.
An XCCDF Rule
Description
<VulnDiscussion>The only legitimate location for device files is the "/dev" directory located on the root partition. The only exception to this is chroot jails.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-257860r925567_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Modify "/etc/fstab" to use the "nodev" option on the "/boot" directory.