i3c: mipi-i3c-hci: Correct RING_CTRL_ABORT handling in DMA dequeue
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 9ad9a52cce2828d932ae9495181e3d6414f72c07 · < b795e68bf3073d67bebbb5a44d93f49efc5b8cc7| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
i3c: mipi-i3c-hci: Correct RING_CTRL_ABORT handling in DMA dequeue
The logic used to abort the DMA ring contains several flaws:
1. The driver unconditionally issues a ring abort even when the ring has already stopped. 2. The completion used to wait for abort completion is never re-initialized, resulting in incorrect wait behavior. 3. The abort sequence unintentionally clears RING_CTRL_ENABLE, which resets hardware ring pointers and disrupts the controller state. 4. If the ring is already stopped, the abort operation should be considered successful without attempting further action.
Fix the abort handling by checking whether the ring is running before issuing an abort, re-initializing the completion when needed, ensuring that RING_CTRL_ENABLE remains asserted during abort, and treating an already stopped ring as a successful condition.
From the CVE record · Linux
The Linux kernel’s mipi-i3c-hci driver mishandles DMA ring aborts, which can reset hardware ring pointers and disrupt controller state. The input does not specify how an attacker could trigger this issue or whether access or user interaction is required.
Engineers running Linux systems that use the mipi-i3c-hci driver should check their kernel versions; affected versions are not specified.