Memory Leak in net: caif: ldisc_open

Kernel Updated 02 Oct 2025

Summary

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

UVI-2021-1001133: net: caif: fix memory leak in ldisc_open. Affects Kernel versions < e056cc440ae71fda770814a7aa865279fc8d6462. 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 net package in the Linux Kernel is responsible for managing network protocols and communication. It includes various modules and drivers for different network interfaces. One of these modules is caif, which stands for Common API for Interfacing with the Fabric. The caif module provides a framework for communication between different network layers. However, a vulnerability has been discovered in the ldisc_open function of the caif module, which can lead to a memory leak.

Vulnerability Detail

The vulnerability in the ldisc_open function of the caif module can result in a memory leak. When a user opens a line discipline (ldisc) device, the function allocates memory for the ldisc structure. However, if an error occurs during the allocation process, the function fails to release the allocated memory, leading to a memory leak. This can eventually exhaust the available memory resources, causing system instability or denial of service. The vulnerability has been fixed in Linux Kernel version v5.12.14 by commit e056cc440ae71fda770814a7aa865279fc8d6462.

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

In conclusion, the net: caif module in the Linux Kernel is vulnerable to a memory leak in the ldisc_open function. This vulnerability can lead to system instability or denial of service. It is recommended to update the Linux Kernel to version v5.12.14 or later to fix the vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The vulnerability can result in a memory leak, which can lead to system instability or denial of service if the available memory resources are exhausted.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your manifest file (e.g., package-lock.json) and Vulert will analyze it for any open-source vulnerabilities, including this one.

There is no known exploit for this vulnerability at the moment. However, it is always recommended to apply security patches and updates to mitigate the risk of potential exploits.

The recommended approach is to update the Linux Kernel to the fixed version. However, if updating is not feasible, you can try analyzing the source code of the ldisc_open function and manually applying the necessary changes to fix the memory leak. This requires a deep understanding of the Linux Kernel codebase and is not recommended for inexperienced users.

You can find more information about this vulnerability in the official Linux Kernel repository (https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/) by searching for the commit e056cc440ae71fda770814a7aa865279fc8d6462.

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