CVE-2024-46771
kernel: can: bcm: Remove proc entry when dev is unregistered.
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · September 18, 2024
Updated · October 29, 2026
Description
A flaw was found in the Linux kernel's CAN BCM (Broadcast Manager) module. A local user could repeatedly connect and disconnect a virtual CAN device, leading to a resource leak of proc entries. This resource exhaustion could result in a denial of service.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, prevent the can-bcm kernel module from loading. Create a file named /etc/modprobe.d/blacklist-can-bcm.conf with the following content:
blacklist can-bcm
Then, regenerate the initramfs and reboot the system for the changes to take effect. This may impact functionality relying on the CAN BCM module.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-416 · Use After Free