CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's DMA engine, specifically in the sun6i-dma driver, where active non-cyclic descriptors are not properly reclaimed during DMA transfer termination, leading to potential memory leaks. This issue can impact system performance and stability due to resource exhaustion. Organizations using affected Linux kernel versions, particularly those relying on DMA operations, should prioritize addressing this vulnerability to ensure system integrity and efficiency.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA When terminating DMA transfers, active descriptors are not properly reclaimed. Only cyclic descriptors were handled, leaving non-cyclic descriptors and their LLI chains to be permanently leaked. Fix by using vchan_terminate_vdesc() which handles both cyclic and non-cyclic descriptors by adding them to desc_terminated queue for proper cleanup. Add pchan->desc != pchan->done check to prevent double-adding completed descriptors, which would corrupt the list.