Skip to contentSkip to conversation

CVE-2026-23033: dmaengine: omap-dma: fix dma_pool resource leak in error paths

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: omap-dma: fix dma_pool resource leak in error paths

The dma_pool created by dma_pool_create() is not destroyed when dma_async_device_register() or of_dma_controller_register() fails, causing a resource leak in the probe error paths.

Add dma_pool_destroy() in both error paths to properly release the allocated dma_pool resource.

The Linux kernel CVE team has assigned CVE-2026-23033 to this issue.

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

	Issue introduced in 3.6 with commit 7bedaa5537604f34d1d63c5ec7891e559d2a61ed and fixed in 6.6.122 with commit 88a9483f093bbb9263dcf21bc7fdb5132e5de88d
	Issue introduced in 3.6 with commit 7bedaa5537604f34d1d63c5ec7891e559d2a61ed and fixed in 6.12.67 with commit 4b93712e96be17029bd22787f2e39feb0e73272c
	Issue introduced in 3.6 with commit 7bedaa5537604f34d1d63c5ec7891e559d2a61ed and fixed in 6.18.7 with commit 829b00481734dd54e72f755fd6584bce6fbffbb0
	Issue introduced in 3.6 with commit 7bedaa5537604f34d1d63c5ec7891e559d2a61ed and fixed in 6.19-rc6 with commit 2e1136acf8a8887c29f52e35a77b537309af321f

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

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/ti/omap-dma.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/88a9483f093bbb9263dcf21bc7fdb5132e5de88d
	https://git.kernel.org/stable/c/4b93712e96be17029bd22787f2e39feb0e73272c
	https://git.kernel.org/stable/c/829b00481734dd54e72f755fd6584bce6fbffbb0
	https://git.kernel.org/stable/c/2e1136acf8a8887c29f52e35a77b537309af321f