Memory Leak in caif_device_notify in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1000773: net: caif: fix memory leak in caif_device_notify. Affects Kernel versions >= 7c18d2205ea76eef9674e59e1ecae4f332a53e9e, < af2806345a37313f01b1c9f15e046745b8ee2daa. 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 the core component of the Linux operating system that manages system resources and provides an interface for applications to interact with the hardware. The caif_device_notify function in the Kernel's networking subsystem (net) is responsible for handling notifications related to the CAIF (Common Air Interface) protocol. CAIF is a protocol used for communication between wireless devices. This vulnerability in caif_device_notify can lead to a memory leak, which occurs when allocated memory is not properly freed, resulting in a gradual depletion of available memory resources.

Vulnerability Detail

The vulnerability in caif_device_notify is due to a memory leak that occurs when handling notifications related to the CAIF protocol. When a notification is received, memory is allocated to process it, but under certain conditions, this memory is not properly freed after use. As a result, over time, the system's available memory resources can be exhausted, potentially leading to performance degradation or even system instability. This vulnerability was introduced in version v3.3 of the Linux Kernel and is fixed in version v5.10.43.

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

There is no specific workaround provided for this vulnerability. The recommended solution is to update the Linux Kernel to the fixed version.

Conclusion

The memory leak vulnerability in caif_device_notify in the Kernel's networking subsystem can lead to a gradual depletion of available memory resources, potentially causing performance issues or system instability. It is crucial to update the Linux Kernel to version v5.10.43 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

This vulnerability can lead to a gradual depletion of available memory resources in the system, potentially causing performance degradation or system instability.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file, and Vulert will analyze it for any open-source vulnerabilities, including this one.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix as soon as possible to prevent any potential memory exhaustion issues.

This vulnerability does not have a direct remote exploitation vector. However, if an attacker can gain access to the system and trigger the CAIF protocol notifications, they could potentially exploit this vulnerability to exhaust the system's memory resources.

The recommended solution is to update the Linux Kernel to the fixed version. However, if updating the Kernel is not feasible in your environment, you can consider implementing additional memory management measures to mitigate the impact of the memory leak.

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