Vulnerability in comedi: dt9812 package - Fix DMA buffers on stack

Kernel Updated 02 Oct 2025

Summary

14/11/2021
N/A
No i
Unrated
Not published

GSD-2021-1002212: comedi: dt9812: fix DMA buffers on stack. Affects Kernel versions >= 63274cd7d38a3322d90b66a5bc976de1fb899051, < 20cebb8b620dc987e55ddc46801de986e081757e. 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: dt9812 package is a component of the Linux Kernel ecosystem. It provides support for the DT9812 data acquisition device. This device is commonly used for industrial and scientific applications to measure and control analog and digital signals. The package includes functionality for handling DMA (Direct Memory Access) buffers, which are used for efficient data transfer between the device and the system's memory. However, a vulnerability has been discovered in the package that involves the use of DMA buffers on the stack, which can lead to potential security issues.

Vulnerability Detail

The vulnerability in the comedi: dt9812 package arises from the usage of DMA buffers on the stack. DMA buffers are typically allocated in the kernel's heap memory to ensure their stability and prevent potential stack overflows. However, in this case, the buffers are allocated on the stack, which can be problematic. An attacker could potentially exploit this vulnerability by overflowing the stack and executing arbitrary code, leading to a variety of security risks such as privilege escalation or remote code execution. This vulnerability was introduced in version v2.6.29 of the Linux Kernel and has been fixed in version v5.15.2.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.2 or later. This update includes the necessary patch to address the issue by ensuring that DMA buffers are properly allocated in the heap memory instead of the stack. Users can obtain the updated kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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 by avoiding the usage of the comedi: dt9812 package or the DT9812 data acquisition device until the Linux Kernel is updated to a fixed version. This can help prevent potential exploitation of the vulnerability.

Conclusion

In conclusion, the comedi: dt9812 package in the Linux Kernel is vulnerable to a security issue involving the usage of DMA buffers on the stack. This vulnerability can potentially lead to serious security risks if exploited. It is recommended to update the Linux Kernel to version v5.15.2 or later to fix this vulnerability. Users can also use the Vulert Playground to check if their system is affected and receive real-time monitoring and alerts for open-source vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The comedi: dt9812 package is a component of the Linux Kernel ecosystem that provides support for the DT9812 data acquisition device used in industrial and scientific applications.

A DMA buffer, or Direct Memory Access buffer, is a region of memory used for efficient data transfer between a device and the system's memory, bypassing the CPU.

The vulnerability in the comedi: dt9812 package can lead to security risks such as privilege escalation or remote code execution if exploited by an attacker.

You can use the Vulert Playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will provide real-time monitoring and alerts for open-source vulnerabilities.

You can find more information about this vulnerability in the comedi: dt9812 package in the GSD-2021-1002212 entry of the GSD Database maintained by the Cloud Security Alliance. The source of this information can be accessed at https://github.com/cloudsecurityalliance/gsd-database/blob/main/2021/1002xxx/GSD-2021-1002212.json.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.15.2 or later. This update includes the necessary patch to address the issue by ensuring that DMA buffers are properly allocated in the heap memory instead of the stack. Users can obtain the updated kernel from the official Linux Kernel repository: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.