← CVE Intelligence

CVE-2021-46995

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

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 before 15f8f96ec7fc35024d4e03296e4d838fcea33d83; affected cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 before 4cc7faa406975b460aa674606291dea197c1210c
Linux / Linuxaffected 5.12; unaffected 0 before 5.12; unaffected 5.12.5 through 5.12.*; unaffected 5.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.