Bugzilla – Bug 1220655
VUL-0: CVE-2021-46995: kernel: can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe
Last modified: 2024-06-05 13:01:16 UTC
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. References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-46995 https://www.cve.org/CVERecord?id=CVE-2021-46995 https://git.kernel.org/stable/c/15f8f96ec7fc35024d4e03296e4d838fcea33d83 https://git.kernel.org/stable/c/4cc7faa406975b460aa674606291dea197c1210c
All affected branches already contain the fix. Closing.
All done, closing.