Skip to contentSkip to conversation

CVE-2025-71188: dmaengine: lpc18xx-dmamux: fix device leak on route allocation

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Jan 31

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

dmaengine: lpc18xx-dmamux: fix device leak on route allocation

Make sure to drop the reference taken when looking up the DMA mux platform device during route allocation.

Note that holding a reference to a device does not prevent its driver data from going away so there is no point in keeping the reference.

The Linux kernel CVE team has assigned CVE-2025-71188 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 4.3 with commit e5f4ae84be7421010780984bdc121eac15997327 and fixed in 6.6.122 with commit 9fba97baa520c9446df51a64708daf27c5a7ed32
	Issue introduced in 4.3 with commit e5f4ae84be7421010780984bdc121eac15997327 and fixed in 6.12.67 with commit 992eb8055a6e5dbb808672d20d68e60d5a89b12b
	Issue introduced in 4.3 with commit e5f4ae84be7421010780984bdc121eac15997327 and fixed in 6.18.7 with commit 1e47d80f6720f0224efd19bcf081d39637569c10
	Issue introduced in 4.3 with commit e5f4ae84be7421010780984bdc121eac15997327 and fixed in 6.19-rc6 with commit d4d63059dee7e7cae0c4d9a532ed558bc90efb55

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-71188

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/lpc18xx-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/9fba97baa520c9446df51a64708daf27c5a7ed32
	https://git.kernel.org/stable/c/992eb8055a6e5dbb808672d20d68e60d5a89b12b
	https://git.kernel.org/stable/c/1e47d80f6720f0224efd19bcf081d39637569c10
	https://git.kernel.org/stable/c/d4d63059dee7e7cae0c4d9a532ed558bc90efb55