CVE-2026-139522: dmaengine: plx_dma: fix NULL pointer deref in plx_dma_isr()
In the Linux kernel, the following vulnerability has been resolved:
dmaengine: plxdma: fix NULL pointer deref in plxdmaisr()
plxdmacreate() registered the interrupt handler with requestirq() before initializing plxdev->bar. If the device raised an interrupt in that window, plxdmaisr() would dereference the still-NULL bar.
Move the bar assignment ahead of requestirq() so everything the handler can touch is initialized before it can run.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
In plx_dma_create(), assign and initialize plxdev->bar before calling request_irq() so the interrupt handler cannot run while plxdev->bar is NULL.
Event History
Frequently Asked Questions
Under what condition can this issue be triggered?
The affected PLX DMA device must raise an interrupt during the initialization window after its interrupt handler is registered but before the driver's bar pointer is initialized.
What is the likely impact of a successful trigger?
The interrupt handler dereferences a NULL bar pointer, which can cause a kernel NULL-pointer dereference.
What change addresses the race?
Initialize plxdev->bar before calling request_irq(), ensuring the interrupt handler cannot run with that pointer still NULL.