1.237 ALMA-09-029830

Information

AlmaLinux OS 9 must disable the Controller Area Network (CAN) kernel module.

GROUP ID: V-269343
RULE ID: SV-269343r1050225

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.

Solution

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

See Also

https://workbench.cisecurity.org/benchmarks/27039