Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: i3c: mipi-i3c-hci: Fix race in DMA ring dequeue The HCI DMA dequeue path (hci_dma_dequeue_xfer()) may be invoked for multiple transfers that timeout around the same time. However, the function is not serialized and can race with itself. When a timeout occurs, hci_dma_dequeue_xfer() stops the ring, processes incomplete transfers, and then restarts the ring. If another timeout triggers a parallel call into the same function, the two instances may interfere with each other - stopping or restarting the ring at unexpected times. Add a mutex so that hci_dma_dequeue_xfer() is serialized with respect to itself.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 73bb6b15f1fd71479ed12b314876f3ce5935b80a; affected 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 16061383a9def977e4be908c7dcede9a8a4227fd; affected 9ad9a52cce2828d932ae9495181e3d6414f72c07 before b684b420a5bb0ea1b0e13abfdb8ce41c5266e62e; affected 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 4faa1e9c67a2229f6749190aedaf88ce0391efd2; affected 9ad9a52cce2828d932ae9495181e3d6414f72c07 before 1dca8aee80eea76d2aae21265de5dd64f6ba0f09 |
| Linux / Linux | affected 5.11; unaffected 0 before 5.11; unaffected 6.6.160 through 6.6.*; unaffected 6.12.114 through 6.12.*; unaffected 6.18.19 through 6.18.*; unaffected 6.19.9 through 6.19.*; unaffected 7.0 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/73bb6b15f1fd71479ed12b314876f3ce5935b80a
- https://git.kernel.org/stable/c/16061383a9def977e4be908c7dcede9a8a4227fd
- https://git.kernel.org/stable/c/b684b420a5bb0ea1b0e13abfdb8ce41c5266e62e
- https://git.kernel.org/stable/c/4faa1e9c67a2229f6749190aedaf88ce0391efd2
- https://git.kernel.org/stable/c/1dca8aee80eea76d2aae21265de5dd64f6ba0f09