CVE-2026-139659

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

Published Nov 30, 2026 CVSS n/a EPSS n/a KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The kernel driver for the I3C MIPI host controller fails to properly retire ring buffers during the suspend sequence. At suspension it clears the ring control registers in a single operation without releasing the ring running state first and without holding the required hardware lock, violating the I3C v1.1 specification. This race condition can leave the hardware in an inconsistent state, potentially keeping interrupt lines active, leaving IBI (interrupt‑by‑interrupt) entries in the status ring, and causing the driver to continue signalling interrupts after the device should be idle. Summarily, the flaw can cause the kernel or the device to crash, hang or exhibit undefined behaviour, effectively leading to a denial‑of‑service scenario.

Affected Systems

All variants of the Linux kernel that include the i3c mipi‑i3c‑hci driver are affected; the flaw is present at the driver level and therefore applies to all Linux distributions that ship that component. No specific kernel version range is provided in the advisory, so the issue should be considered present in all releases until the fix is applied.

Risk and Exploitability

The bug is a local kernel flaw that requires the attacker to trigger a suspend of the affected I3C device, which would normally be performed by the operating system during power management transitions. Because the manipulation occurs in kernel mode and the stack trace indicates locking issues, it is unlikely to be remotely exploitable from user space. The EPSS score is not available and CISA’s KEV catalog does not list this vulnerability. With a CVSS score unspecified, the primary risk is technical instability rather than a traditional attacker‑driven exploitation, but the denial‑of_service impact persists. Consequently, monitoring is not sufficient; remediation is required to prevent system outages.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the latest Linux kernel release or backported patch that fixes the I3C HCI ring suspension logic
  • If an immediate kernel update is not possible, temporarily disable the i3c mipi‑i3c‑hci driver or block I3C power management to avoid invoking the faulty suspend path
  • Reboot the system after the patch or driver disable to flush any stale ring state and ensure device re‑initialization

Generated by OpenCVE AI on December 1, 2026 at 00:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-362
Type Values Removed Values Added
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.
Title i3c: mipi-i3c-hci: Stop rings gracefully when suspending
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Nov 30, 2026, 1:36 PM
Reserved
Nov 30, 2026, 1:22 PM
Status
Received
Published
Nov 30, 2026, 2:19 PM
Modified
Nov 30, 2026, 2:19 PM