dmaengine: at_hdmac: fix device leak on of_dma_xlate()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ bbe89c8e3d598129b728d1388c3ad9abe4e8e261 · < f3c23b7e941349505c3d40de2cc0acd93d9ac057| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: at_hdmac: fix device leak on of_dma_xlate()
Make sure to drop the reference taken when looking up the DMA platform device during of_dma_xlate() when releasing channel resources.
Note that commit 3832b78b3ec2 ("dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()") fixed the leak in a couple of error paths but the reference is still leaking on successful allocation.
From the CVE record · Linux
The Linux kernel’s at_hdmac DMA driver leaks a device reference when of_dma_xlate() successfully allocates a channel. The input does not specify how an attacker could trigger this or whether access or user interaction is required.
Engineers running the Linux kernel with the at_hdmac DMA driver should check their kernel; affected versions are not specified.