Memory Leak in ldisc_open in Kernel

Kernel Updated 02 Oct 2025

Summary

08/07/2021
N/A
No i
Unrated
Not published

UVI-2021-1001125: net: caif: fix memory leak in ldisc_open. Affects Kernel versions < 18ed1789bbce54f34367877344e35d9bb877f8f4. 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 critical component of the Linux operating system that manages system resources and facilitates communication between hardware and software. It provides essential functionalities such as process management, memory management, and device drivers. The ldisc_open function in the Kernel's networking subsystem, specifically in the caif (Common API for Interfacing with the Fabric) module, is responsible for opening a line discipline. A line discipline is a software layer that processes data streams between the network interface and user applications. This vulnerability affects the Kernel's ldisc_open function and can lead to a memory leak.

Vulnerability Detail

The vulnerability in ldisc_open function in the Kernel's caif module results in a memory leak. When a line discipline is opened, memory is allocated to handle the data streams. However, due to a flaw in the code, this memory is not properly deallocated when the line discipline is closed. As a result, repeated opening and closing of line disciplines can exhaust system memory resources, leading to performance degradation or even system instability. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition by repeatedly opening and closing line disciplines.

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 known workaround for this vulnerability. It is recommended to apply the fix by updating the Linux Kernel to the patched version.

Conclusion

The memory leak vulnerability in ldisc_open function in the Kernel's caif module can have significant consequences on system performance and stability. It is crucial to update the Linux Kernel to the patched version to mitigate this vulnerability. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in a memory leak, leading to performance degradation or system instability. An attacker could potentially exploit this vulnerability to cause a denial-of-service (DoS) condition.

You can use tools like Vulert (https://vulert.com) to check if your system is affected by this vulnerability. Vulert uses a manifest file like package-lock.json to monitor and alert in real-time for open-source vulnerabilities in the software.

At the time of this report, there is no known exploit for this vulnerability. However, it is important to apply the fix to prevent potential exploitation.

No, the recommended mitigation is to update the Linux Kernel to the patched version. There is no known workaround for this vulnerability.

You can refer to the Linux Kernel's Git repository at https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ for more information about the fix and the vulnerability. The specific commit addressing this issue is 18ed1789bbce54f34367877344e35d9bb877f8f4.

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