Rule version RHEL-10-701100 · STIG v1 · 2026-09-17
Disabling CAN protects the system against exploitation of any flaws in its implementation.
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.
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