Vulnerability in dmaengine: zynqmp_dma
Summary
GSD-2022-1003682: dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type. Affects Kernel versions < 83960276ffc9bf5570d4106490346b61e61be5f3. 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 enables efficient data transfers between peripherals and memory on ZynqMP-based systems.
Vulnerability Detail
The vulnerability identified in the zynqmp_dma module involves an incorrect data type used for the 'desc_size' field in the 'struct zynqmp_dma_chan' structure. This issue can potentially lead to memory corruption or other unexpected behavior. Attackers may be able to exploit this vulnerability to execute arbitrary code or cause a denial-of-service condition. It is important to note that 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 dmaengine zynqmp_dma module involves an incorrect data type, which could potentially lead to memory corruption or other unexpected behavior. It is recommended to update the Linux Kernel to the latest version to fix this vulnerability. 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.
zynqmp_dma 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.
The impact of this vulnerability is not yet proven. However, if successfully exploited, it could lead to memory corruption or other unexpected behavior, potentially allowing attackers to execute arbitrary code or cause a denial-of-service condition.
To fix this vulnerability, update the Linux Kernel to version v5.4.198 or later, which includes the necessary fix for the incorrect data type in the 'struct zynqmp_dma_chan' structure.
No specific workaround has been mentioned for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.