Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-139659

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

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 8169587204431ce23df9522c2e859b5238934c42 to < daa154dea176fa5f95bcc5a989b9b09a06dd8341affected
  • 8169587204431ce23df9522c2e859b5238934c42 to < 9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9affected

Linux Linux

Default version status: affected

  • 7.0affected
  • 0 to < 7.0unaffected
  • 7.3.6 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References