CVE-2026-139524: dmaengine: switchtec-dma: fix channel leak on registration failure
dmaengine: switchtec-dma: fix channel leak on registration failure
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- 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
Event History
Frequently Asked Questions
Which systems are affected by this issue?
The issue is in the Linux kernel's switchtec-dma dmaengine driver. Systems that do not use this driver are not indicated by the provided information as affected.
When can the leak occur?
The leak can occur when DMA channel registration or channel initialization fails, leaving allocated channel memory without a corresponding free operation.
Does the fix address partial channel-initialization failures?
Yes. The fix records the number of channels successfully initialized, allowing cleanup to free channels even when allocation or initialization does not succeed for all channels.
What additional safety issue does the cleanup change address?
Before freeing a channel, the fix removes it from the DMA device channel list. This prevents the channel-status interrupt handler from traversing the list and dereferencing freed channel memory.