i3c: mipi-i3c-hci: Fix out of bounds access in hci_dma_irq_handler
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: Fix out of bounds access in hci_dma_irq_handler
Do not loop over ring headers in hci_dma_irq_handler() that are not allocated and enabled in hci_dma_init(). Otherwise out of bounds access will occur from rings->headers[i] access when i >= number of allocated ring headers.
From the CVE record · Linux
The Linux kernel’s mipi-i3c-hci driver can access ring headers beyond those allocated in hci_dma_irq_handler(). This occurs if the handler loops over ring headers that were not allocated and enabled during initialization. The input does not specify how an attacker could trigger the issue or whether access or user interaction is required.
Engineers running Linux kernels with the mipi-i3c-hci driver should check their versions; affected versions are not specified.