ALMA-09-029830 - AlmaLinux OS 9 must disable the Controller Area Network (CAN) kernel module.

Information

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://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CL_AlmaLinux_OS_9_V1R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-269343r1050225_rule, STIG-ID|ALMA-09-029830, Vuln-ID|V-269343

Plugin: Unix

Control ID: b33ec5be98cc0f71cd4c948c1b8136ac3e21f624d2ffe2e6d432fb99bb112765