i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i3c: mipi-i3c-hci: Mask ring interrupts before ring stop request
Bus cleanup path in DMA mode may trigger a RING_OP_STAT interrupt when the ring is being stopped. Depending on timing between ring stop request completion, interrupt handler removal and code execution this may lead to a NULL pointer dereference in hci_dma_irq_handler() if it gets to run after the io_data pointer is set to NULL in hci_dma_cleanup().
Prevent this my masking the ring interrupts before ring stop request.
From the CVE record · Linux
The Linux kernel’s mipi-i3c-hci driver can dereference a NULL pointer during DMA bus cleanup if a ring interrupt handler runs after its I/O data pointer is cleared. The input does not describe an attacker path, authentication requirement, or user interaction.
Engineers running Linux kernels with the mipi-i3c-hci driver should check their versions; affected versions are not specified.