CVE-2026-72475: dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: dma-axi-dmac: Properly free struct axi_dmac_desc
Use axi_dmac_free_desc() to free fully the descriptor at fail path when call axi_dmac_alloc_desc() in axi_dmac_prep_peripheral_dma_vec().
The Linux kernel CVE team has assigned CVE-2026-72475 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit 74609e5686701ed8e8adc3082d15f009e327286d and fixed in 6.12.97 with commit 36e9cbbfc09ef792918e6a276dd7e2dbca7f31ce Issue introduced in 6.11 with commit 74609e5686701ed8e8adc3082d15f009e327286d and fixed in 6.18.40 with commit 9f1ef67c041ef592c13603957ba08b6f21010004 Issue introduced in 6.11 with commit 74609e5686701ed8e8adc3082d15f009e327286d and fixed in 7.1.5 with commit f055829151eed5a9ec4af98a6c1ce75dbaf2e372 Issue introduced in 6.11 with commit 74609e5686701ed8e8adc3082d15f009e327286d and fixed in 7.2-rc1 with commit 4910ce1b3b35687bb2a5e742c4bfbea3c647c980
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-72475
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/dma/dma-axi-dmac.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/36e9cbbfc09ef792918e6a276dd7e2dbca7f31ce https://git.kernel.org/stable/c/9f1ef67c041ef592c13603957ba08b6f21010004 https://git.kernel.org/stable/c/f055829151eed5a9ec4af98a6c1ce75dbaf2e372 https://git.kernel.org/stable/c/4910ce1b3b35687bb2a5e742c4bfbea3c647c980