Memory Leak in ldisc_open in Kernel

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001099: net: caif: fix memory leak in ldisc_open. Affects Kernel versions < 45a99589a9a3445dce114060f3b52f2df13bc79b. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Kernel is a crucial 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 net/caif/ldisc.c file is responsible for opening a line discipline. A line discipline is a software module that processes data received from a terminal or a communication line. This vulnerability specifically affects the ldisc_open function in the caif subsystem of the Kernel.

Vulnerability Detail

The vulnerability in ldisc_open function in the caif subsystem of the Kernel leads to a memory leak. A memory leak occurs when allocated memory is not properly deallocated, resulting in a gradual depletion of available memory resources. In this case, the ldisc_open function fails to release memory in certain error scenarios, leading to a memory leak. If exploited, this vulnerability could potentially exhaust system memory, causing performance degradation or even system crashes. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.

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 mentioned for this vulnerability.

Conclusion

The memory leak vulnerability in ldisc_open function in the caif subsystem of the Kernel can be addressed by updating to Linux Kernel version v4.9.274 or later. This update ensures that the memory leak is fixed, preventing potential performance degradation or system crashes. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

If exploited, this vulnerability could lead to a gradual depletion of available memory resources, potentially causing performance degradation or system crashes.

You can use Vulert's playground at Vulert Scanner 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.

Yes, the vulnerability is fixed in Linux Kernel version v4.9.274 by commit 45a99589a9a3445dce114060f3b52f2df13bc79b. Updating to this version or a later version will address the issue.

There are no known exploits for this vulnerability at the moment. However, it is important to apply the fix to prevent any potential exploitation.

You can find more information about this vulnerability in the Open Source Vulnerability database maintained by the Cloud Security Alliance. The specific vulnerability ID is GSD-2021-1001099.

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