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-1000809: net: caif: fix memory leak in cfusbl_device_notify. Affects Kernel versions >= 7ad65bf68d705b445ef10b77ab50dab22be185ee, < dde8686985ec24d6b00487080a906609bd613ea1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities and services to enable the proper functioning of the system. One of its features is the caif (CAIF) protocol, which is used for communication between devices. However, a vulnerability has been identified in the cfusbl_device_notify function of the caif protocol, leading to a memory leak issue.

Vulnerability Detail

The vulnerability arises from a memory leak in the cfusbl_device_notify function of the caif protocol in the Kernel. When this function is called, it fails to release allocated memory, resulting in a gradual depletion of available memory resources. This can lead to system instability, performance degradation, and potentially even denial-of-service conditions. The vulnerability was introduced in version v3.3 of the Kernel and has been fixed in version v5.12.10.

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 manually apply the patch provided in the commit dde8686985ec24d6b00487080a906609bd613ea1 to their existing Kernel version. The patch addresses the memory leak issue in the cfusbl_device_notify function. However, it is strongly advised to update to the latest stable version of the Kernel to ensure comprehensive vulnerability mitigation.

Conclusion

In conclusion, a memory leak vulnerability has been identified in the cfusbl_device_notify function of the caif protocol in the Linux Kernel. This vulnerability can lead to system instability, performance degradation, and potential denial-of-service conditions. It is crucial to update the Kernel to version v5.12.10 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in a gradual depletion of available memory resources, leading to system instability, performance degradation, and potential denial-of-service conditions.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time if the vulnerability is present.

Yes, a workaround is available. Users can manually apply the patch provided in the commit dde8686985ec24d6b00487080a906609bd613ea1 to their existing Kernel version. However, it is recommended to update to the latest stable version of the Kernel for comprehensive vulnerability mitigation.

The Linux Kernel is the core component of the Linux operating system. It provides essential functionalities and services to enable the proper functioning of the system, including device drivers, memory management, process management, and more.

You can obtain the updated Linux Kernel from the official Linux Kernel repository. It is recommended to download and install version v5.12.10 or later to ensure the memory leak issue in the cfusbl_device_notify function is addressed.

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