dmaengine: stm32: dmamux: fix device leak on route allocation
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ df7e762db5f6c8dbd9e480f1c9ef9851de346657 · < 3ef52d31cce8ba816739085a61efe07b63c6cf27| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: stm32: 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.
From the CVE record · Linux
The Linux kernel's STM32 DMA mux route allocation fails to drop a reference to the DMA mux platform device, causing a device reference leak. The input does not specify how an attacker could trigger it or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels that include the STM32 DMA mux driver should check their versions; affected versions are not specified.