Vulnerability in dmaengine: zynqmp_dma
Summary
GSD-2022-1003485: dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type. Affects Kernel versions < 95a0ba85c1b51b36e909841c02d205cd223ab753. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The dmaengine package is a component of the Linux Kernel that provides a framework for managing DMA (Direct Memory Access) operations. It 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 provides DMA functionality for this platform, enabling efficient data transfers between peripherals and memory. However, a vulnerability has been discovered in the zynqmp_dma module that could potentially be exploited by attackers.
Vulnerability Detail
The vulnerability in the zynqmp_dma module is related to an incorrect data type used in the struct zynqmp_dma_chan. Specifically, the desc_size field in this structure is defined with an incorrect data type. This vulnerability could lead to memory corruption or other unexpected behavior when performing DMA operations using the zynqmp_dma module. The impact and attack plausibility of this vulnerability have not been proven yet, but it is important to address it to ensure the security and stability of systems using the zynqmp_dma module.
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 be addressed by updating the Linux Kernel to version v5.10.122 or a later version that includes the fix. This will ensure the security and stability of systems using the zynqmp_dma module. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for Kernel →
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.
The zynqmp_dma module is a specific implementation of the dmaengine framework for the Xilinx ZynqMP platform. It provides DMA functionality for this platform, enabling efficient data transfers between peripherals and memory.
The impact of this vulnerability is not yet proven, but it could potentially lead to memory corruption or other unexpected behavior when performing DMA operations using the zynqmp_dma module.
To fix this vulnerability, you need to update the Linux Kernel to version v5.10.122 or a later version that includes the fix. The issue has been addressed in commit 95a0ba85c1b51b36e909841c02d205cd223ab753.
No specific workaround has been provided for this vulnerability. It is recommended to update the kernel to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.