Memory Leak Vulnerability in mcba_usb

Kernel Updated 02 Oct 2025

Summary

30/06/2021
N/A
No i
Unrated
Not published

GSD-2021-1000929: can: mcba_usb: fix memory leak in mcba_usb. Affects Kernel versions >= 51f3baad7de943780ce0c17bd7975df567dd6e14, < 6f87c0e21ad20dd3d22108e33db1c552dfa352a0. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The mcba_usb is a module in the Linux Kernel that provides support for the MCBA USB CAN interface. It allows users to connect and communicate with CAN (Controller Area Network) devices via USB. The module is an essential component for applications that require CAN functionality on Linux systems.

Vulnerability Detail

The mcba_usb module in the Linux Kernel prior to version v5.4.128 suffers from a memory leak vulnerability. This vulnerability was introduced in version v4.12 and fixed in version v5.4.128. The vulnerability occurs when the module fails to release allocated memory, leading to a continuous consumption of memory resources. An attacker could exploit this vulnerability by repeatedly triggering the memory allocation process, causing the system to run out of memory and potentially resulting in a denial-of-service (DoS) condition. The impact and attack plausibility of this vulnerability have not yet been proven.

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

As a workaround, users can unload the mcba_usb module and reload it periodically to release the accumulated memory. This can be achieved using the following commands:

  1. Unload the mcba_usb module: $ sudo rmmod mcba_usb

  2. Reload the mcba_usb module: $ sudo modprobe mcba_usb

Conclusion

The memory leak vulnerability in the mcba_usb module of the Linux Kernel can potentially lead to a denial-of-service (DoS) condition. It is recommended to update the kernel to version v5.4.128 or later to mitigate this vulnerability. Alternatively, users can follow the provided workaround to periodically release the accumulated memory. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

mcba_usb is a module in the Linux Kernel that provides support for the MCBA USB CAN interface. It enables communication with CAN devices via USB.

A memory leak vulnerability occurs when a program or module fails to release allocated memory, leading to a continuous consumption of memory resources.

The impact of this vulnerability is not yet proven. However, it could potentially result in a denial-of-service (DoS) condition if an attacker repeatedly triggers the memory allocation process, causing the system to run out of memory.

To fix this vulnerability, update the Linux Kernel to version v5.4.128 or later, which includes the necessary fix for the mcba_usb memory leak issue.

Yes, as a workaround, users can periodically unload and reload the mcba_usb module to release the accumulated memory. Refer to the provided workaround section for detailed instructions.

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