AlmaLinux OS 9 must mount /boot with the nodev option.

Overview

Finding IDVersionRule IDIA ControlsSeverity
V-269312ALMA-09-026310SV-269312r1050194_ruleCCI-001764medium
Description
The only legitimate location for device files is the "/dev" directory located on the root partition. The only exception to this is chroot jails.
STIGDate
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide2025-05-22

Details

Check Text (C-269312r1050194_chk)

Verify that the "/boot" mount point has the "nodev" option is with the following command: $ mount | grep '\s/boot\s' /dev/sda2 on /boot type xfs (rw,nosuid,nodev,noexec,relatime,seclabel,attr2,inode64,logbufs=8,logbsize=32k,noquota) If the "/boot" file system does not have the "nodev" option set, this is a finding.

Fix Text (F-73244r1048313_fix)

Modify "/etc/fstab" to use the "nodev" option on the "/boot" directory.