dmaengine: dw-edma: Initialize IRQ data before requesting IRQs
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ e63d79d1ffcd2201a2dbff1d7a1184b8f3ec74cf · < d91fb6c0d10dad32929dc5c6850f89df34e1bfcd| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: dw-edma: Initialize IRQ data before requesting IRQs
dw_edma_irq_request() passes struct dw_edma_irq to request_irq() before dw_edma_channel_setup() fills the back pointer. A shared interrupt can therefore enter the handler with dw_irq->dw still NULL, leading to a NULL pointer dereference.
Set the back pointer before installing each handler.
From the CVE record · Linux
The Linux kernel's dw-edma driver requests an IRQ before initializing data used by its handler. If a shared interrupt arrives during that window, the handler can dereference a NULL pointer. The input does not establish an attacker route, authentication requirement, or need for user interaction.
Engineers running Linux kernels that include the dw-edma driver should check whether their kernel is affected; affected versions were not provided.