{"id":"CVE-2026-139659","summary":"i3c: mipi-i3c-hci: Stop rings gracefully when suspending","details":"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-\u003elock, 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-\u003elock, 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.","modified":"2026-12-01T21:02:39.081889908Z","published":"2026-11-30T13:36:47.894Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139659.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/daa154dea176fa5f95bcc5a989b9b09a06dd8341"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139659.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139659"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"8169587204431ce23df9522c2e859b5238934c42"},{"fixed":"daa154dea176fa5f95bcc5a989b9b09a06dd8341"},{"fixed":"9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139659.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"7.0.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139659.json"}}],"schema_version":"1.9.2"}