Linux
i3c: mipi-i3c-hci: Correct RING_CTRL_ABORT handling in DMA dequeue
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 9ad9a52cce2828d932ae9495181e3d6414f72c07, < 377e75da122ffce7cec551f43fa884d57f2f8e63
- >= 9ad9a52cce2828d932ae9495181e3d6414f72c07, < 04b2853fdbb2ec9d03ece45da3c830396647120f
- >= 9ad9a52cce2828d932ae9495181e3d6414f72c07, < 55a0b47a372245f7667e0a4ba5c6f2a4c7a889a6
- >= 9ad9a52cce2828d932ae9495181e3d6414f72c07, < 003df94bcc9227e8e930abd03ac7f63ac10033dc
- >= 9ad9a52cce2828d932ae9495181e3d6414f72c07, < 5549611888f5ca2db5e8e692b57f30626ddf9898
- >= 9ad9a52cce2828d932ae9495181e3d6414f72c07, < b795e68bf3073d67bebbb5a44d93f49efc5b8cc7
Fixed in 377e75da122ffce7cec551f43fa884d57f2f8e63, 04b2853fdbb2ec9d03ece45da3c830396647120f, 55a0b47a372245f7667e0a4ba5c6f2a4c7a889a6, 003df94bcc9227e8e930abd03ac7f63ac10033dc, 5549611888f5ca2db5e8e692b57f30626ddf9898, b795e68bf3073d67bebbb5a44d93f49efc5b8cc7
- 5.11
Fixed in 0, 6.1.191, 6.6.160, 6.12.114, 6.18.19, 6.19.9, 7.0
Mitigation
Upgrade Linux to 377e75da122ffce7cec551f43fa884d57f2f8e63 or 04b2853fdbb2ec9d03ece45da3c830396647120f or 55a0b47a372245f7667e0a4ba5c6f2a4c7a889a6 or 003df94bcc9227e8e930abd03ac7f63ac10033dc or 5549611888f5ca2db5e8e692b57f30626ddf9898 or b795e68bf3073d67bebbb5a44d93f49efc5b8cc7 or later.
Upgrade Linux to 0 or 6.1.191 or 6.6.160 or 6.12.114 or 6.18.19 or 6.19.9 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.