Vulnerability in dmaengine: zynqmp_dma
Summary
GSD-2022-1003223: dmaengine: zynqmp_dma: In struct zynqmp_dma_chan fix desc_size data type. Affects Kernel versions < 7b5488f4721fed6e121e661e165bab06ae2f8675. 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 capabilities for devices on this platform.
Vulnerability Detail
The vulnerability in the zynqmp_dma module involves an incorrect data type 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 gain unauthorized access, modify data, or disrupt the normal operation of the system. It is important to note that the impact and attack plausibility of this vulnerability have not been proven.
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 dmaengine: zynqmp_dma involves an incorrect data type in the 'struct zynqmp_dma_chan' structure. It is recommended to update the Linux Kernel to version v5.15.47 or later 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 provides DMA capabilities for devices on this platform.
The impact of this vulnerability could include memory corruption, unauthorized access, data modification, or disruption of system operation. However, the actual impact and attack plausibility have not been proven.
To fix this vulnerability, update the Linux Kernel to version v5.15.47 or later, which includes a commit (7b5488f4721fed6e121e661e165bab06ae2f8675) that addresses the issue.
No specific workaround has been mentioned for this vulnerability.
Related vulnerabilities
Recent vulnerabilities recorded for Kernel.