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-1002074: comedi: dt9812: fix DMA buffers on stack. Affects Kernel versions >= 63274cd7d38a3322d90b66a5bc976de1fb899051, < 786f5b03450454557ff858a8bead5d7c0cbf78d6. 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 used for measuring and controlling analog and digital signals in various applications. 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 where DMA buffers are allocated on the stack instead of the heap, potentially leading to stack-based buffer overflows.

Vulnerability Detail

The vulnerability in the comedi: dt9812 package arises from the improper allocation of DMA buffers on the stack. This can allow an attacker to overwrite adjacent memory locations, leading to potential stack-based buffer overflows. Exploiting this vulnerability could result in arbitrary code execution, denial of service, or information disclosure. The vulnerability was introduced in version v2.6.29 of the Linux Kernel and has been fixed in version v5.10.79.

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.10.79 or later. This update includes the necessary commit (786f5b03450454557ff858a8bead5d7c0cbf78d6) that addresses the issue. Updating the Kernel will ensure that DMA buffers are correctly allocated on the heap instead of the stack, mitigating the risk of stack-based buffer overflows.

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. The recommended approach is to apply the fix by updating the Linux Kernel to the latest version.

Conclusion

The comedi: dt9812 package in the Linux Kernel is vulnerable to a stack-based buffer overflow due to improper allocation of DMA buffers on the stack. To mitigate this vulnerability, it is crucial to update the Kernel to version v5.10.79 or later. 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.

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 without involving the CPU.

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

Exploiting this vulnerability could result in arbitrary code execution, denial of service, or information disclosure.

To fix this vulnerability, update the Linux Kernel to version v5.10.79 or later, which includes the necessary commit to address the issue.

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.10.79 or later. This update includes the necessary commit (786f5b03450454557ff858a8bead5d7c0cbf78d6) that addresses the issue. Updating the Kernel will ensure that DMA buffers are correctly allocated on the heap instead of the stack, mitigating the risk of stack-based buffer overflows.

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.