Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
PendingCVE-2026-139659

i3c: mipi-i3c-hci: Stop rings gracefully when suspending

Published 30/11/2026 · Updated 30/11/2026 · 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 products and versions

Linux Linux8169587204431ce23df9522c2e859b5238934c42 – < daa154dea176fa5f95bcc5a989b9b09a06dd8341 · 8169587204431ce23df9522c2e859b5238934c42 – < 9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9Fixed in: daa154dea176fa5f95bcc5a989b9b09a06dd8341 · 9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9
Linux Linux7.0Fixed in: 7.3.6 · 7.4-rc1

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.