CVE-2026-139130: ASoC: SOF: Intel: hda: Stop the controller before freeing its DMA buffers
ASoC: SOF: Intel: hda: Stop the controller before freeing its DMA buffers
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 - Compensating control
Call hda_dsp_ctrl_stop_chip() before freeing the CORB/RIRB DMA buffers in the removal and error paths.
Event History
Frequently Asked Questions
When can the controller continue accessing freed memory?
This can occur after a probe failure that happens after command DMA has started, including a failure caused by missing firmware. It can also occur during normal device removal, because resuming the device restarts command DMA before the associated buffers are freed.
What system state makes the probe-failure case especially dangerous?
After the failed probe, the device remains bound with bus mastering enabled and its DMA engines still pointing to freed memory. Unsolicited responses remain enabled, allowing the controller to continue writing RIRB entries into the freed page.
Why did this behavior change for later code paths?
Previously, hda_init_caps() dropped initial references to non-alternate links, and dropping the last reference stopped command DMA. A change that keeps non-alternate links powered at probe on ACE2+ means a later probe failure no longer necessarily stops the DMA engine.