What’s Vulnerable › Vulnerabilities

CVE-2021-46995: can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.12.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-46995 or the next vulnerability affects your stack