
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2021-46995 affects the Linux kernel's CAN (Controller Area Network) driver for the MCP251XFD controller. The vulnerability was discovered and disclosed on February 28, 2024. The issue occurs in the mcp251xfd_probe() function where an error pointer dereference can occur during probe operations (NVD).
The vulnerability stems from a missing return statement in the error handling code path. When the code was converted to use dev_err_probe(), a critical return statement was accidentally removed. This causes the function to continue execution after devm_clk_get() fails, leading to a NULL pointer dereference when calling clk_get_rate() on the next line. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).
When exploited, this vulnerability can cause the kernel to crash (Oops) when attempting to access an invalid pointer, potentially leading to a denial of service condition. The impact is limited to availability with no direct effects on confidentiality or integrity (Red Hat).
The vulnerability requires local access with low privileges to exploit. The attack complexity is low as it can be triggered through normal driver initialization when the hardware probe fails (NVD).
The vulnerability has been fixed by adding the missing return statement in the error handling path. The fix was implemented in the Linux kernel through patches that properly handle the error case in mcp251xfd_probe() (Kernel Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."