{"api_version":"1","generated_at":"2026-12-01T13:43:07+00:00","cve":"CVE-2026-139659","urls":{"html":"https://cve.report/CVE-2026-139659","api":"https://cve.report/api/cve/CVE-2026-139659.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139659","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139659"},"summary":{"title":"i3c: mipi-i3c-hci: Stop rings gracefully when suspending","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:49","updated_at":"2026-11-30 14:19:49"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9","name":"https://git.kernel.org/stable/c/9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/daa154dea176fa5f95bcc5a989b9b09a06dd8341","name":"https://git.kernel.org/stable/c/daa154dea176fa5f95bcc5a989b9b09a06dd8341","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139659","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139659","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8169587204431ce23df9522c2e859b5238934c42 daa154dea176fa5f95bcc5a989b9b09a06dd8341 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 8169587204431ce23df9522c2e859b5238934c42 9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/i3c/master/mipi-i3c-hci/dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"daa154dea176fa5f95bcc5a989b9b09a06dd8341","status":"affected","version":"8169587204431ce23df9522c2e859b5238934c42","versionType":"git"},{"lessThan":"9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9","status":"affected","version":"8169587204431ce23df9522c2e859b5238934c42","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/i3c/master/mipi-i3c-hci/dma.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.0"},{"lessThan":"7.0","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"7.0","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.0","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:47.894Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/daa154dea176fa5f95bcc5a989b9b09a06dd8341"},{"url":"https://git.kernel.org/stable/c/9796ccba1254f6bd3b7e6b650ad28ffc56daf6e9"}],"title":"i3c: mipi-i3c-hci: Stop rings gracefully when suspending","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139659","datePublished":"2026-11-30T13:36:47.894Z","dateReserved":"2026-11-30T13:22:15.946Z","dateUpdated":"2026-11-30T13:36:47.894Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:49","lastModifiedDate":"2026-11-30 14:19:49","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139659","Ordinal":"1","Title":"i3c: mipi-i3c-hci: Stop rings gracefully when suspending","CVE":"CVE-2026-139659","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139659","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"i3c: mipi-i3c-hci: Stop rings gracefully when suspending"}]}}}