AlmaLinux OS 9 must disable the Controller Area Network (CAN) kernel module.
Overview
Finding ID | Version | Rule ID | IA Controls | Severity |
V-269343 | ALMA-09-029830 | SV-269343r1050225_rule | Medium |
Description |
The CAN protocol is a robust vehicle bus standard designed to allow microcontrollers and devices to communicate with each other's applications without a host computer. Disabling CAN protects the system against exploitation of any flaws in its implementation. |
STIG | Date |
CloudLinux AlmaLinux OS 9 Security Technical Implementation Guide | 2025-05-22 |
Details
Check Text (C-73374r1049522_chk) |
Verify that AlmaLinux OS 9 disables the ability to load the can kernel module with the following command: $ grep -r can /etc/modprobe.conf /etc/modprobe.d/* /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 line is commented out, and use of CAN is not documented with the information system security officer (ISSO) as an operational requirement, this is a finding. |
Fix Text (F-73275r1048406_fix) |
To configure the system to prevent the can kernel module from being loaded, run the following command: $ cat << EOF | tee /etc/modprobe.d/can.conf install can /bin/false blacklist can EOF |