Vulnerability in comedi: dt9812 - Fix DMA buffers on stack

Kernel Updated 02 Oct 2025

Summary

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

GSD-2021-1002024: comedi: dt9812: fix DMA buffers on stack. Affects Kernel versions >= 63274cd7d38a3322d90b66a5bc976de1fb899051, < 3efb7af8ac437085b6c776e5b54830b149d86efe. 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 comedi package is a Linux kernel driver framework for data acquisition and control. It provides a unified interface for various data acquisition devices. One of the supported devices is dt9812, which is used for USB-based data acquisition. The dt9812 driver in the comedi package allows users to perform data transfers using Direct Memory Access (DMA) buffers. However, a vulnerability has been discovered in the dt9812 driver where DMA buffers are allocated on the stack, which can lead to stack-based buffer overflows and potential security issues.

Vulnerability Detail

The vulnerability in the dt9812 driver arises from the allocation of DMA buffers on the stack. This can be exploited by an attacker to overflow the stack and potentially execute arbitrary code or crash the system. The vulnerability was introduced in version v2.6.29 of the Linux Kernel and has been fixed in version v5.4.159. 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

There is no specific workaround mentioned for this vulnerability.

Conclusion

The vulnerability in the dt9812 driver of the comedi package can potentially lead to stack-based buffer overflows and security issues. It is recommended to update the Linux Kernel to version v5.4.159 or later to fix this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

Comedi is a Linux kernel driver framework for data acquisition and control. It provides a unified interface for various data acquisition devices.

dt9812 is a USB-based data acquisition device supported by the comedi package.

A DMA buffer is a region of memory used for Direct Memory Access transfers. It allows devices to directly read from or write to memory without involving the CPU.

A stack-based buffer overflow occurs when a program writes more data to a stack buffer than its allocated size, leading to the overwriting of adjacent memory locations on the stack.

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.

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