dmaengine: omap-dma: fix dma_pool resource leak in error paths
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7bedaa5537604f34d1d63c5ec7891e559d2a61ed · < 829b00481734dd54e72f755fd6584bce6fbffbb0| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's omap-dma driver leaks a dma_pool resource if either of two registration calls fails during probe. The input does not describe how an attacker could trigger those failures or specify network access, authentication, or user-interaction conditions.
Engineers running Linux kernels with the omap-dma driver should check their installations; affected versions are not specified.