Information
OL 8 must not have the Controller Area Network (CAN) kernel module installed if not required for operational support.
GROUP ID: V-248830
RULE ID: SV-248830r991589
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
Configure OL 8 to disable the ability to use the "can" kernel module.
Create a file under "/etc/modprobe.d" with the following command:
$ sudo touch /etc/modprobe.d/can.conf
Add the following line to the created file:
install can /bin/false
Configure OL 8 to disable the ability to use the can kernel module.
$ sudo vi /etc/modprobe.d/blacklist.conf
Add or update the line:
blacklist can