CVE-2021-46995
publishedcan: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxcf8ee6de2543a0fa6d9471ddbb7216464a9681a1 to < 15f8f96ec7fc35024d4e03296e4d838fcea33d83 · cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 to < 4cc7faa406975b460aa674606291dea197c1210c · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 5.12.5 through 5.12.* (unaffected · semver) · 5.13 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 to < 15f8f96ec7fc35024d4e03296e4d838fcea33d83 (affected · git)cf8ee6de2543a0fa6d9471ddbb7216464a9681a1 to < 4cc7faa406975b460aa674606291dea197c1210c (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.12 (affected)0 to < 5.12 (unaffected · semver)5.12.5 through 5.12.* (unaffected · semver)5.13 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
3Linux · cna
can: mcp251xfd: mcp251xfd_probe(): fix an error pointer dereference in probe
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5c817c7f5777dba558098b3377aa94c272515f098df1a70cc70ea84dd76eca7a
- Ingested
- 23 Sep 2026, 07:57:04 UTC
- Source record
- Official CVE record