RHEL 10 must mount "/boot" with the "nodev" option.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-281232 | RHEL-10-700120 | SV-281232r1166648_rule | CCI-001764 | medium |
| 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. | ||||
| STIG | Date | |||
| Red Hat Enterprise Linux 10 Security Technical Implementation Guide | 2026-03-11 | |||
Details
Check Text (C-281232r1166648_chk)
Verify RHEL 10 is configured so that the "/boot" mount point has the "nodev" option with the following command:
$ mount | grep '\s/boot\s'
/dev/sda1 on /boot type xfs (rw,nodev,nosuid,relatime,seclabel,attr2)
If the "/boot" file system does not have the "nodev" option set, this is a finding.
Fix Text (F-85698r1166647_fix)
Configure RHEL 10 to mount "/boot" with the "nodev" option.
Modify "/etc/fstab" to use the "nodev" option on the "/boot" directory.
To reload all implicit mount units and update the dependency graph so that new options will apply correctly at next remount, run the following command:
$ sudo systemctl daemon-reload
Use the following command to apply the changes immediately without a reboot:
$ sudo mount -o remount /boot