{"id":"CVE-2026-139659","aliases":["CVE-2026-139659"],"related":[],"kind":"vulnerability","state":"published","title":"i3c: mipi-i3c-hci: Stop rings gracefully when suspending","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: mipi-i3c-hci: Stop rings gracefully when suspending\n\nhci_dma_suspend() tore the rings down with a single write of zero to\nRH_RING_CONTROL, clearing the RS and ENABLE fields together and without\nwaiting for the ring to stop.  I3C HCI v1.1 section 6.1.2 separates those\nsteps: clear RS for all running Ring Bundles, and only then clear ENABLE\nfor all enabled Ring Bundles.\n\nThe ring registers were also written outside hci->lock, while the\ninterrupt handler, which takes that lock, could still be running on\nanother CPU.  i3c_hci_sync_irq_inactive() was called only afterwards.\n\nFinally, an IBI can still be sitting in the IBI Status Ring when suspend\nruns.  Clearing HC_CONTROL.BUS_ENABLE is deferred: per the description of\nthat field, if a disable request occurs while receiving an IBI, the\nactual disabling does not occur until reception of the IBI is complete.\n\nInstead, clear RS under hci->lock, wait for RING_STATUS_RUNNING to clear,\nand make the interrupt handler inactive.  Only then disable the ring\ninterrupt signals, drain anything left in the IBI ring, and clear ENABLE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: mipi-i3c-hci: Stop rings gracefully when suspending\n\nhci_dma_suspend() tore the rings down with a single write of zero to\nRH_RING_CONTROL, clearing the RS and ENABLE fields together and without\nwaiting for the ring to stop.  I3C HCI v1.1 section 6.1.2 separates those\nsteps: clear RS for all running Ring Bundles, and only then clear ENABLE\nfor all enabled Ring Bundles.\n\nThe ring registers were also written outside hci->lock, while the\ninterrupt handler, which takes that lock, could still be running on\nanother CPU.  i3c_hci_sync_irq_inactive() was called only afterwards.\n\nFinally, an IBI can still be sitting in the IBI Status Ring when suspend\nruns.  Clearing HC_CONTROL.BUS_ENABLE is deferred: per the description of\nthat field, if a disable request occurs while receiving an IBI, the\nactual disabling does not occur until reception of the IBI is complete.\n\nInstead, clear RS under hci->lock, wait for RING_STATUS_RUNNING to clear,\nand make the interrupt handler inactive.  Only then disable the ring\ninterrupt signals, drain anything left in the IBI ring, and clear ENABLE.","source":"cvelist"}],"published":"2026-11-30T13:36:47.894Z","modified":"2026-11-30T14:19:49.910Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8169587204431ce23df9522c2e859b5238934c42","fixed":"daa154dea176fa5f95bcc5a989b9b09a06dd8341","status":"affected"},{"type":"git","introduced":"8169587204431ce23df9522c2e859b5238934c42","fixed":"9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.0","status":"unaffected"},{"type":"semver","introduced":"7.3.6","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/daa154dea176fa5f95bcc5a989b9b09a06dd8341","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-139659","url":"https://www.cve.org/CVERecord?id=CVE-2026-139659","licence":"CVE Terms of Use","modified":"2026-11-30T13:36:47.894Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-139659","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139659","licence":"Public domain","modified":"2026-11-30T14:19:49.910Z"}],"updatedAt":"2026-11-30T14:33:17.864Z","epss":{"score":0.00189,"percentile":0.0896,"date":"2026-12-01T12:00:22.000Z"}}