Memory Leak Vulnerability in comedi Package

Kernel Updated 02 Oct 2025

Summary

19/10/2021
N/A
No i
Unrated
Not published

GSD-2021-1001673: comedi: Fix memory leak in compat_insnlist(). Affects Kernel versions >= b8d47d8813055ce38c0d2ad913d5462017e52692, < 8d6a21e4cd6a319b0662cbe4ad6199e276ac776a. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The comedi package is a Linux Kernel component that provides a unified interface for data acquisition and control from a variety of devices. It allows applications to interact with different hardware devices, such as data acquisition cards, through a common API. The package is widely used in industrial automation, scientific research, and other fields that require data acquisition and control capabilities. However, a memory leak vulnerability has been discovered in the comedi package, which could potentially lead to resource exhaustion and system instability.

Vulnerability Detail

The memory leak vulnerability in the comedi package, specifically in the compat_insnlist() function, allows an attacker to cause a memory leak by repeatedly invoking certain operations. This can result in the gradual depletion of available memory resources, leading to system slowdown or even crashes. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.10.70. It is important to note that the impact and attack plausibility of this vulnerability have not been proven yet.

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 temporary workaround, users can mitigate the risk of memory leaks by limiting the usage of the affected operations in the comedi package. This can be achieved by monitoring and controlling the frequency and volume of the operations to prevent excessive memory consumption. However, applying the official fix by updating the Linux Kernel is strongly advised.

Conclusion

In conclusion, the comedi package in the Linux Kernel is vulnerable to a memory leak issue in the compat_insnlist() function. This vulnerability can lead to resource exhaustion and system instability. It is recommended to update the Linux Kernel to version v5.10.70 or later to fix the vulnerability. A temporary workaround is available by limiting the usage of the affected operations. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The comedi package is a Linux Kernel component that provides a unified interface for data acquisition and control from various devices.

The memory leak vulnerability can lead to resource exhaustion and system instability, potentially causing system slowdown or crashes.

To fix the vulnerability, it is recommended to update the Linux Kernel to version v5.10.70 or later.

A temporary workaround is to limit the usage of the affected operations in the comedi package to mitigate the risk of memory leaks.

The impact and attack plausibility of the vulnerability have not been proven yet.

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