Memory Leak in caif_device_notify in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000721: net: caif: fix memory leak in caif_device_notify. Affects Kernel versions >= 7c18d2205ea76eef9674e59e1ecae4f332a53e9e, < 9348c1f10932f13b299cbc8b1bd5f780751fae49. 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 fundamental component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities for the proper functioning of the system. The caif_device_notify function in the Kernel is responsible for handling notifications related to the CAIF (Common Air Interface) device. CAIF is a protocol stack used for communication between wireless devices. This vulnerability in caif_device_notify can lead to a memory leak, which can result in the exhaustion of system resources over time.

Vulnerability Detail

The vulnerability in caif_device_notify arises from a memory leak issue. When handling notifications for the CAIF device, the function fails to release allocated memory, leading to a continuous accumulation of memory over time. This can result in the depletion of available system resources, potentially causing system instability or denial of service. The vulnerability was introduced in version v3.3 of the Linux Kernel and was fixed in version v4.9.272 by commit 9348c1f10932f13b299cbc8b1bd5f780751fae49.

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 disable or avoid using the CAIF device until the Kernel is updated to a fixed version. This can help mitigate the risk of resource exhaustion due to the memory leak. However, it is recommended to apply the official fix as soon as possible to ensure the long-term stability and security of the system.

Conclusion

The memory leak vulnerability in caif_device_notify in the Kernel can lead to the gradual depletion of system resources. It is crucial to update the Linux Kernel to version v4.9.272 or later to mitigate this vulnerability. Users can also temporarily disable or avoid using the CAIF device until the Kernel is updated. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can lead to a memory leak, causing the gradual depletion of system resources. This can result in system instability, performance degradation, or even denial of service if the resources are completely exhausted.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert provides real-time monitoring and alerts for open-source vulnerabilities, allowing you to assess the security of your software without requiring access to the code or installation.

Yes, a temporary workaround is to disable or avoid using the CAIF device until the Kernel is updated to a fixed version. However, it is recommended to apply the official fix as soon as possible for long-term stability and security.

To update the Linux Kernel, you can pull the latest updates from the official Linux Kernel repository. Alternatively, you can apply the specific commit 9348c1f10932f13b299cbc8b1bd5f780751fae49 to your existing Kernel version. Ensure compatibility and meet all necessary dependencies.

You can refer to the vulnerability details in the GSD database at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1000xxx/GSD-2021-1000721.json for more information about this specific vulnerability.

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