CVE-2026-139742: dmaengine: sun6i-dma: Fix use-after-free in error handling paths
dmaengine: sun6i-dma: Fix use-after-free in error handling paths
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.10.275 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 5.15.226 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.1.193 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.6.163 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
Refactor descriptor cleanup into a helper function, sun6i_dma_free_desc(), that saves the next virtual and physical pointers before freeing the current node.
Event History
Frequently Asked Questions
When is the vulnerable code path reached?
The issue occurs in error-handling cleanup paths, where descriptor-list nodes are freed and then their next-pointer fields are accessed.
What does the available information identify as the remediation?
The fix moves descriptor cleanup into sun6i_dma_free_desc(), which stores the next virtual and physical pointers before freeing the current node.
Are affected kernel versions or release branches specified?
No affected version range or release branch is provided. The available references identify three stable-kernel commits containing the fix.