Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe When we converted this code to use dev_err_probe() we accidentally removed a return. It means that if devm_clk_get() it will lead to an Oops when we call clk_get_rate() on the next line.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 5.12, < 5.12.5 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/15f8f96ec7fc35024d4e03296e4d838fcea33d83Patch
- https://git.kernel.org/stable/c/4cc7faa406975b460aa674606291dea197c1210cPatch
- https://git.kernel.org/stable/c/15f8f96ec7fc35024d4e03296e4d838fcea33d83Patch
- https://git.kernel.org/stable/c/4cc7faa406975b460aa674606291dea197c1210cPatch
FAQ
What is CVE-2021-46995?
CVE-2021-46995 is a vulnerability with a CVSS score of 5.5 (MEDIUM). In the Linux kernel, the following vulnerability has been resolved: can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe When we converted this code to use dev_err_probe() we...
How severe is CVE-2021-46995?
CVE-2021-46995 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-46995?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.