Memory Leak in cfusbl_device_notify in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000750: net: caif: fix memory leak in cfusbl_device_notify. Affects Kernel versions >= 7ad65bf68d705b445ef10b77ab50dab22be185ee, < 4d94f530cd24c85aede6e72b8923f371b45d6886. 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 Kernel is a fundamental component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functions for device drivers, process management, memory management, and more. The cfusbl_device_notify function in the Kernel's caif (Common API for Interfacing with the Fabric) module is responsible for handling notifications related to USB devices. However, a memory leak vulnerability has been identified in this function, which could lead to resource exhaustion and potential system instability.

Vulnerability Detail

The memory leak vulnerability in cfusbl_device_notify arises from a failure to release allocated memory when handling USB device notifications. This can result in a gradual depletion of available memory resources, potentially leading to system crashes or performance degradation. An attacker could potentially exploit this vulnerability to exhaust system resources and launch denial-of-service attacks. The vulnerability was introduced in version v3.3 of the Linux Kernel and has been fixed in version v5.4.125.

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 apply the patch manually to the affected version of the Kernel. The patch can be obtained from the commit 4d94f530cd24c85aede6e72b8923f371b45d6886 in the Linux Kernel repository. Users can follow the standard procedure for applying patches to the Kernel source code.

Conclusion

The memory leak vulnerability in cfusbl_device_notify can have serious implications for system stability and availability. It is crucial to update the Linux Kernel to version v5.4.125 or later to mitigate this vulnerability. Users can also apply the provided patch manually as a temporary workaround. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The memory leak vulnerability in cfusbl_device_notify can lead to resource exhaustion and potential system instability. It may result in system crashes or performance degradation, impacting the availability and reliability of the affected system.

An attacker could potentially exploit this vulnerability to exhaust system resources and launch denial-of-service attacks. By repeatedly triggering USB device notifications, they can cause a gradual depletion of available memory, leading to system instability or crashes.

The vulnerability was introduced in version v3.3 of the Linux Kernel. All versions between v3.3 and v5.4.124 (inclusive) are affected. It has been fixed in version v5.4.125.

At the time of this report, there is no known public exploit for this vulnerability. However, it is advisable to apply the recommended fix or workaround to mitigate any potential risks.

For more details about this vulnerability, including the specific code changes and commit references, you can refer to the vulnerability report in the GSD database: https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000750.json

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