Vulnerability Details : CVE-2021-46995
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.
Products affected by CVE-2021-46995
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-46995
0.04%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 9 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-46995
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST | 2024-12-06 |
CWE ids for CVE-2021-46995
-
The product dereferences a pointer that it expects to be valid but is NULL.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-46995
-
https://git.kernel.org/stable/c/15f8f96ec7fc35024d4e03296e4d838fcea33d83
can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe - kernel/git/stable/linux.git - Linux kernel stable treePatch
-
https://git.kernel.org/stable/c/4cc7faa406975b460aa674606291dea197c1210c
can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe - kernel/git/stable/linux.git - Linux kernel stable treePatch
Jump to