dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel d4ba6aa65fcd797152d3aebd428a7b2da49cd5eb, Kernel 004a7a02982bed0a727a4ac7be400f00f353e7a2, Kernel 1ccc5c059d067c5358682ad5352e7d7e9239ed9b and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=555859308723d8d5b828304f5eb9281143fd86b5 <d4ba6aa65fcd797152d3aebd428a7b2da49cd5eb, >=555859308723d8d5b828304f5eb9281143fd86b5 <004a7a02982bed0a727a4ac7be400f00f353e7a2, >=555859308723d8d5b828304f5eb9281143fd86b5 <1ccc5c059d067c5358682ad5352e7d7e9239ed9b, >=555859308723d8d5b828304f5eb9281143fd86b5 <27806fe7b9701af0963dcd510e30e7d0cc314c43, >=555859308723d8d5b828304f5eb9281143fd86b5 <9086b488f2737d5dcee86852b83f2059f1cdfabf, >=555859308723d8d5b828304f5eb9281143fd86b5 <ab1150115e68a46b687eb38c1ab92782018c9f2c, >=555859308723d8d5b828304f5eb9281143fd86b5 <b150f603083cc8b72b0cbf13ec3e91f85b4390a0, >=555859308723d8d5b828304f5eb9281143fd86b5 <bb87440561eb72b47a2b848b5373b86433b247e6, =3.17 | d4ba6aa65fcd797152d3aebd428a7b2da49cd5eb, 004a7a02982bed0a727a4ac7be400f00f353e7a2, 1ccc5c059d067c5358682ad5352e7d7e9239ed9b, 27806fe7b9701af0963dcd510e30e7d0cc314c43, 9086b488f2737d5dcee86852b83f2059f1cdfabf, ab1150115e68a46b687eb38c1ab92782018c9f2c, b150f603083cc8b72b0cbf13ec3e91f85b4390a0, bb87440561eb72b47a2b848b5373b86433b247e6 |
| linux-kernel: Kernel | >=5.11.0 <5.15.216, >=5.16.0 <6.1.183, >=6.13.0 <6.18.44, >=6.19.0 <7.1.8, >=6.2.0 <6.6.151, >=6.7.0 <6.12.103, >=3.17.0 <5.10.265 | 5.15.216, 6.1.183, 6.18.44, 7.1.8, 6.6.151, 6.12.103, 5.10.265 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket