SV-281312r1167086_rule
V-281312
SRG-OS-000095-GPOS-00049
RHEL-10-701100
CAT II
10
Configure RHEL 10 to disable the ability to load the CAN kernel module.
Create a drop-in if it does not already exist:
$ sudo vi /etc/modprobe.d/can.conf
Add the following lines to the file:
install can /bin/false
blacklist can
Verify RHEL 10 disables the ability to load the CAN kernel module with the following command:
$ sudo grep -rs can /etc/modprobe.conf /etc/modprobe.d/* | grep -v '#'
/etc/modprobe.d/can.conf:install can /bin/false
/etc/modprobe.d/can.conf:blacklist can
If the command does not return any output, or the lines are commented out, and use of CAN is not documented with the information system security officer as an operational requirement, this is a finding.
V-281312
False
RHEL-10-701100
Verify RHEL 10 disables the ability to load the CAN kernel module with the following command:
$ sudo grep -rs can /etc/modprobe.conf /etc/modprobe.d/* | grep -v '#'
/etc/modprobe.d/can.conf:install can /bin/false
/etc/modprobe.d/can.conf:blacklist can
If the command does not return any output, or the lines are commented out, and use of CAN is not documented with the information system security officer as an operational requirement, this is a finding.
M
5733