Not scored
i3c: mipi-i3c-hci: Stop rings gracefully when suspending
- Severity
- Not scored
- Exploit likelihood
- 0.19% (higher than 8% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: i3c: mipi-i3c-hci: Stop rings gracefully when suspending hci_dma_suspend() tore the rings down with a single write of zero to RH_RING_CONTROL, clearing the RS and ENABLE fields together and without waiting for the ring to stop. I3C HCI v1.1 section 6.1.2 separates those steps: clear RS for all running Ring Bundles, and only then clear ENABLE for all enabled Ring Bundles. The ring registers were also written outside hci->lock, while the interrupt handler, which takes that lock, could still be running on another CPU. i3c_hci_sync_irq_inactive() was called only afterwards. Finally, an IBI can still be sitting in the IBI Status Ring when suspend runs. Clearing HC_CONTROL.BUS_ENABLE is deferred: per the description of that field, if a disable request occurs while receiving an IBI, the actual disabling does not occur until reception of the IBI is complete. Instead, clear RS under hci->lock, wait for RING_STATUS_RUNNING to clear, and make the interrupt handler inactive. Only then disable the ring interrupt signals, drain anything left in the IBI ring, and clear ENABLE.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 8169587204431ce23df9522c2e859b5238934c42 before daa154dea176fa5f95bcc5a989b9b09a06dd8341, from 8169587204431ce23df9522c2e859b5238934c42 before 9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9, 7.0 Not affected: before 7.0, from 7.3.6 up to 7.3.*, from 7.4-rc1 up to * | CVE List |
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-139659 changed 2026-11-30 | CVE Terms of Use |
| NVD | CVE-2026-139659 changed 2026-11-30 | Public domain |