Vulnerability in Kernel package: can: mcp251x

Kernel Updated 02 Oct 2025

Summary

31/05/2021
N/A
No i
Unrated
Not published

GSD-2021-1000325: can: mcp251x: fix resume from sleep before interface was brought up. Affects Kernel versions >= 8ce8c0abcba314e1fe954a1840f6568bf5aef2ef, < eecb4df8ec9f896b19ee05bfa632ac6c1dcd8f21. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel package is an essential component of the Linux operating system, responsible for managing the system's core functionality. It includes various drivers and modules that enable communication between hardware devices and the operating system. One of these modules is 'can: mcp251x,' which provides support for the MCP251x CAN controller. This controller allows devices to communicate over the Controller Area Network (CAN) protocol, commonly used in automotive and industrial applications. Unfortunately, a vulnerability has been discovered in the 'can: mcp251x' module, which could potentially lead to security breaches and system instability.

Vulnerability Detail

The vulnerability in the 'can: mcp251x' module arises from a flaw that allows the system to resume from sleep before the interface is brought up. This issue can be exploited by an attacker to gain unauthorized access to the system or disrupt its normal operation. The vulnerability was introduced in version v5.5 of the Linux Kernel and was fixed in version v5.10.38. The impact and attack plausibility of this vulnerability have not been proven yet, but it is crucial to address it to ensure the security and stability of the system.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

If updating the Kernel package is not immediately feasible, a temporary workaround can be implemented. Users can disable the 'can: mcp251x' module by blacklisting it. This can be achieved by adding the following line to the '/etc/modprobe.d/blacklist.conf' file:

blacklist mcp251x

After adding the line, save the file and reboot the system. This workaround will prevent the vulnerable module from being loaded and mitigate the risk associated with the vulnerability.

Conclusion

The vulnerability in the 'can: mcp251x' module of the Kernel package poses a potential security risk and system instability. It is recommended to update the Kernel package to version v5.10.38 or later to fix the vulnerability. If immediate update is not possible, users can apply a temporary workaround by blacklisting the 'can: mcp251x' module. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The 'can: mcp251x' module is a part of the Linux Kernel package and provides support for the MCP251x CAN controller. This controller enables devices to communicate over the Controller Area Network (CAN) protocol, commonly used in automotive and industrial applications.

The impact of this vulnerability can vary depending on the specific system and its usage. However, it could potentially allow an attacker to gain unauthorized access to the system or disrupt its normal operation, leading to security breaches and system instability.

To fix this vulnerability, it is recommended to update the Linux Kernel package to version v5.10.38 or later. This update includes the necessary patch to address the flaw in the 'can: mcp251x' module. After updating the Kernel, reboot the system to apply the changes.

Yes, if updating the Kernel package is not immediately feasible, a temporary workaround can be implemented. Users can disable the 'can: mcp251x' module by blacklisting it. This can be achieved by adding the line 'blacklist mcp251x' to the '/etc/modprobe.d/blacklist.conf' file and rebooting the system.

No, at the time of this report, there is no known proof of concept or exploit available for this vulnerability. However, it is crucial to address the vulnerability promptly to mitigate any potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback