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 / product | Versions |
|---|---|
| Linux / Linux | affected cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 before 15f8f96ec7fc35024d4e03296e4d838fcea33d83; affected cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 before 4cc7faa406975b460aa674606291dea197c1210c |
| Linux / Linux | affected 5.12; unaffected 0 before 5.12; unaffected 5.12.5 through 5.12.*; unaffected 5.13 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/15f8f96ec7fc35024d4e03296e4d838fcea33d83
- https://git.kernel.org/stable/c/4cc7faa406975b460aa674606291dea197c1210c
ADP enrichment
No English description supplied.
No references supplied.
No English description supplied.