CVE-2025-71189: dmaengine: dw: dmamux: fix OF node leak on route allocation failure
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: dw: dmamux: fix OF node leak on route allocation failure
Make sure to drop the reference taken to the DMA master OF node also on late route allocation failures.
The Linux kernel CVE team has assigned CVE-2025-71189 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.19 with commit 134d9c52fca26d2d199516e915da00f0cc6adc73 and fixed in 6.6.122 with commit db7c79c1bbfb1b0184e78a17ac2bd0f2bc3134d1 Issue introduced in 5.19 with commit 134d9c52fca26d2d199516e915da00f0cc6adc73 and fixed in 6.12.67 with commit 8f7a391211381ed2f6802032c78c7820d166bc49 Issue introduced in 5.19 with commit 134d9c52fca26d2d199516e915da00f0cc6adc73 and fixed in 6.18.7 with commit eabe40f8a53c29f531e92778ea243e379f4f7978 Issue introduced in 5.19 with commit 134d9c52fca26d2d199516e915da00f0cc6adc73 and fixed in 6.19-rc6 with commit ec25e60f9f95464aa11411db31d0906b3fb7b9f2
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-2025-71189
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/dw/rzn1-dmamux.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/db7c79c1bbfb1b0184e78a17ac2bd0f2bc3134d1 https://git.kernel.org/stable/c/8f7a391211381ed2f6802032c78c7820d166bc49 https://git.kernel.org/stable/c/eabe40f8a53c29f531e92778ea243e379f4f7978 https://git.kernel.org/stable/c/ec25e60f9f95464aa11411db31d0906b3fb7b9f2