CVE-2021-46995
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-46995 affects the Linux kernel's CAN (Controller Area Network) driver for the MCP251XFD controller. The vulnerability was discovered and disclosed on February 28, 2024. The issue occurs in the mcp251xfd_probe() function where an error pointer dereference can occur during probe operations (NVD).

Technical details

The vulnerability stems from a missing return statement in the error handling code path. When the code was converted to use dev_err_probe(), a critical return statement was accidentally removed. This causes the function to continue execution after devm_clk_get() fails, leading to a NULL pointer dereference when calling clk_get_rate() on the next line. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

When exploited, this vulnerability can cause the kernel to crash (Oops) when attempting to access an invalid pointer, potentially leading to a denial of service condition. The impact is limited to availability with no direct effects on confidentiality or integrity (Red Hat).

Exploitability

The vulnerability requires local access with low privileges to exploit. The attack complexity is low as it can be triggered through normal driver initialization when the hardware probe fails (NVD).

Mitigation and workarounds

The vulnerability has been fixed by adding the missing return statement in the error handling path. The fix was implemented in the Linux kernel through patches that properly handle the error case in mcp251xfd_probe() (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-74576HIGH7.5
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-6.17
NoYesAug 15, 2026
CVE-2026-74578HIGH7.1
  • Linux Kernel logoLinux Kernel
  • linux-azure-6.8
NoYesAug 16, 2026
CVE-2026-74579LOW3.4
  • Linux Kernel logoLinux Kernel
  • linux-lowlatency-hwe-5.15
NoYesAug 17, 2026
CVE-2025-30156NONEN/A
  • Linux Kernel logoLinux Kernel
  • perf
NoNoAug 21, 2026
CVE-2026-74577NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-rt-debug-modules-extra
NoYesAug 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management