Memory Leak Vulnerability in comedi Package

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1001761: comedi: Fix memory leak in compat_insnlist(). Affects Kernel versions >= b8d47d8813055ce38c0d2ad913d5462017e52692, < f217b6c1e28ed0b353634ce4d92a155b80bd1671. 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The comedi package is a Linux kernel driver interface that provides a unified API for data acquisition and control from a variety of hardware devices. It allows users to interact with different data acquisition devices, such as analog and digital I/O boards, through a common interface. The package is widely used in industrial automation, scientific research, and other applications that require real-time data acquisition and control capabilities.

Vulnerability Detail

The vulnerability, identified as GSD-2021-1001761, exists in the comedi package and specifically affects the compat_insnlist() function. This function is responsible for handling compatibility mode instructions. The vulnerability leads to a memory leak, which can result in the exhaustion of system resources over time. An attacker could potentially exploit this vulnerability to cause a denial-of-service condition or escalate their privileges on a compromised system. The vulnerability was introduced in version v5.8 of the Linux Kernel and has been fixed in version v5.14.9.

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 disable the affected functionality or restrict access to the vulnerable code. However, this may impact the functionality of certain applications or devices that rely on the comedi package. It is strongly advised to apply the official fix as soon as possible.

Conclusion

In conclusion, the comedi package is vulnerable to a memory leak issue in the compat_insnlist() function. This vulnerability can have serious consequences, including denial-of-service and privilege escalation. Users should update their Linux Kernel to version v5.14.9 or later to mitigate the risk. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The comedi package is a Linux kernel driver interface that provides a unified API for data acquisition and control from various hardware devices.

The vulnerability can lead to a memory leak, potentially causing a denial-of-service condition or privilege escalation.

To fix this vulnerability, update your Linux Kernel to version v5.14.9 or later.

As a temporary workaround, you can disable the affected functionality or restrict access to the vulnerable code.

For more information, refer to the provided references link and the official Linux Kernel documentation.

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