CVE-2021-46995

published 28 Feb 2024 · updated 11 May 2026

can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 15f8f96ec7fc35024d4e03296e4d838fcea33d83 and Kernel 4cc7faa406975b460aa674606291dea197c1210c.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.12, >=cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 <15f8f96ec7fc35024d4e03296e4d838fcea33d83, >=cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 <4cc7faa406975b460aa674606291dea197c1210c15f8f96ec7fc35024d4e03296e4d838fcea33d83, 4cc7faa406975b460aa674606291dea197c1210c

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-46995 severity on Zeptric[![CVE-2021-46995](https://zeptric.io/badge/cve/CVE-2021-46995.svg)](https://zeptric.io/cve/CVE-2021-46995)