Vulnerability in dmaengine: zynqmp_dma

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1002565: dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type. Affects Kernel versions < 90aefae2e3a770a6909d339f5d8a988c0b0ceaf0. 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 dmaengine package is a component of the Linux Kernel that provides a framework for managing DMA (Direct Memory Access) operations. DMA allows devices to transfer data directly to and from memory without involving the CPU. The zynqmp_dma module is a specific implementation of the dmaengine framework for the Xilinx ZynqMP platform. It enables efficient data transfers between peripherals and memory on ZynqMP-based systems. However, a vulnerability has been identified in the zynqmp_dma module that affects the integrity and security of data transfers.

Vulnerability Detail

The vulnerability in the zynqmp_dma module is related to an incorrect data type used for the 'desc_size' field in the 'struct zynqmp_dma_chan' structure. The 'desc_size' field is used to specify the size of the DMA descriptors, which are data structures that describe the DMA transfer operations. By using an incorrect data type, it is possible for an attacker to manipulate the 'desc_size' value and cause a buffer overflow or other memory corruption issues. This could lead to arbitrary code execution, privilege escalation, or denial of service attacks. The vulnerability has been fixed in Linux Kernel version v5.18.4 by commit 90aefae2e3a770a6909d339f5d8a988c0b0ceaf0.

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 →

Conclusion

The vulnerability in the zynqmp_dma module can have serious security implications, including arbitrary code execution and privilege escalation. It is crucial to update the Linux Kernel to version v5.18.4 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

dmaengine is a component of the Linux Kernel that provides a framework for managing DMA operations. It allows devices to transfer data directly to and from memory without involving the CPU, improving performance and efficiency.

The zynqmp_dma module is a specific implementation of the dmaengine framework for the Xilinx ZynqMP platform. It enables efficient data transfers between peripherals and memory on ZynqMP-based systems.

A DMA descriptor is a data structure that describes a DMA transfer operation. It includes information such as the source and destination addresses, transfer size, and control flags.

A buffer overflow is a type of software vulnerability where a program writes data beyond the boundaries of a buffer in memory. This can lead to memory corruption, crashes, and potentially allow an attacker to execute arbitrary code.

You can use the Vulert Playground (https://vulert.com/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