Description
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.
Product status
9ad9a52cce2828d932ae9495181e3d6414f72c07 (git) before 003df94bcc9227e8e930abd03ac7f63ac10033dc
9ad9a52cce2828d932ae9495181e3d6414f72c07 (git) before 5549611888f5ca2db5e8e692b57f30626ddf9898
9ad9a52cce2828d932ae9495181e3d6414f72c07 (git) before b795e68bf3073d67bebbb5a44d93f49efc5b8cc7
5.11
Any version before 5.11
6.18.19 (semver)
6.19.9 (semver)
7.0 (original_commit_for_fix)
References
git.kernel.org/...c/003df94bcc9227e8e930abd03ac7f63ac10033dc
git.kernel.org/...c/5549611888f5ca2db5e8e692b57f30626ddf9898
git.kernel.org/...c/b795e68bf3073d67bebbb5a44d93f49efc5b8cc7