CVE-2026-139712: dmaengine: dw-axi-dmac: Fix LLI dump out-of-bounds access
dmaengine: dw-axi-dmac: Fix LLI dump out-of-bounds access
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.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
In axi_chan_list_dump_lli(), use the transaction-local nr_hw_descs count when walking a transaction’s hw_desc[] array instead of the channel-wide descs_allocated count.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Linux kernel systems using the dw-axi-dmac DMA engine driver are exposed when multiple transactions have allocated linked-list items (LLIs). The affected code is in the driver's DMA error handling path.
What must occur for the out-of-bounds read to be reached?
A DMA error must cause the driver to dump LLIs for a transaction while the channel-wide descs_allocated count exceeds that transaction's local hw_desc[] allocation. This can happen when LLIs have been allocated for multiple transactions.
How can I verify that the fix is present?
Check whether axi_chan_list_dump_lli() uses the transaction descriptor's nr_hw_descs value to bound iteration over hw_desc[]. The vulnerable behavior uses the channel-wide descs_allocated count instead.