CVE-2026-90585

Renesas RA SCI UART driver: unacknowledged receive-error interrupt causes a permanent interrupt storm and CPU lockup

Published Nov 9, 2026 CVSS 3.1 · 4.6 Medium EPSS < 1% KEV · Not listed
Description
The Renesas RA SCI UART driver's receive-error ISR, uart_ra_sci_eri_isr() in drivers/serial/uart_renesas_ra_sci.c, acknowledged the error condition only when a Zephyr interrupt-driven callback had already been registered. With CONFIG_UART_INTERRUPT_DRIVEN=y and CONFIG_UART_ASYNC_API=n, if data->user_cb is NULL the ISR body is empty: the SCI error flags (SSR.ORER, SSR.FER, SSR.PER) are left set and the ICU event flag R_ICU->IELSR_b[eri_irq].IR is never cleared, so the interrupt re-pends immediately and the ISR is re-entered without end.

The error interrupt is masked at boot by uart_ra_sci_init(), but FSP's R_SCI_UART_Open() unconditionally re-enables it, and uart_ra_sci_configure() - the back end of the public uart_configure() API, enabled by default via CONFIG_UART_USE_RUNTIME_CONFIGURE - performs a Close()/Open() pair without re-masking it. Any runtime uart_configure() therefore leaves the error interrupt live regardless of whether a callback has been set, as does calling uart_irq_err_enable() on its own. An instance used with the polling API, or the window between uart_configure() and uart_irq_callback_user_data_set(), thus runs with the error interrupt unmasked and no callback registered.

The trigger is an ordinary receive line error - overrun, framing, parity, or a break condition - which is fully determined by the device attached to the serial link. A peer able to assert a break or transmit at a mismatched baud rate produces such an error at will, so a single frame is enough to enter the state.

The impact is availability only: the CPU is captured in the re-entering ISR and never returns to thread context, hanging the entire system until an external reset or hardware watchdog fires. There is no memory corruption or information disclosure. Builds using the asynchronous UART API are unaffected, because the fall-through to FSP's sci_uart_eri_isr() clears both the error flags and the pending IRQ.

Analysis

AI-generated

Technical impact

The Renesas RA SCI UART driver contains a flaw in its receive‑error interrupt service routine that fails to clear error status flags when no interrupt‑driven callback is registered. This causes the interrupt to remain pending, repeatedly re‑entering the ISR and trapping the CPU. The vulnerability can only produce a denial‑of‑service condition; there is no memory corruption or information disclosure. It remains limited to systems that use the RA SCI UART driver with interrupt mode enabled and no callback provisioned.

Affected Systems

This issue affects Zephyr RTOS builds running the Renesas RA SCI UART driver when CONFIG_UART_INTERRUPT_DRIVEN is set to "y" and CONFIG_UART_ASYNC_API is "n". Any system that performs a runtime uart_configure() without first registering a UART callback, or that leaves the error interrupt unmasked after boot, is susceptible. The exact product versions are not enumerated, but any build that includes the RA SCI UART driver and lacks the commit that repairs the ISR is potentially impacted.

Risk and Exploitability

The CVSS score of 4.6 reflects a moderate severity, and the EPSS score is not available, indicating that the exploitation probability has not been quantified. The vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed public exploitation. An attacker would need access to the serial interface or the ability to induce a line error (e.g., by sending a break or mismatched baud rate) to trigger the failure. The attack is local or could be remote if a remote device can communicate over the UART, making the availability impact critical for uptime.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update Zephyr to a revision that includes the bug‑fix commit from the provided GitHub reference.
  • If a newer Zephyr release is unavailable, ensure that CONFIG_UART_INTERRUPT_DRIVEN is disabled or that a UART interrupt‑driven callback is registered before any runtime uart_configure() call; alternatively, switch to the asynchronous UART API which automatically clears the error flags.
  • If a patch cannot be applied immediately, configure a hardware watchdog or an equivalent system monitor to trigger a reset when the CPU remains busy for an extended period, preventing the lockup from indefinitely hanging the system.

Generated by OpenCVE AI on November 9, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Zephyrproject
Zephyrproject zephyr
Vendors & Products Zephyrproject
Zephyrproject zephyr
Type Values Removed Values Added
Description The Renesas RA SCI UART driver's receive-error ISR, uart_ra_sci_eri_isr() in drivers/serial/uart_renesas_ra_sci.c, acknowledged the error condition only when a Zephyr interrupt-driven callback had already been registered. With CONFIG_UART_INTERRUPT_DRIVEN=y and CONFIG_UART_ASYNC_API=n, if data->user_cb is NULL the ISR body is empty: the SCI error flags (SSR.ORER, SSR.FER, SSR.PER) are left set and the ICU event flag R_ICU->IELSR_b[eri_irq].IR is never cleared, so the interrupt re-pends immediately and the ISR is re-entered without end. The error interrupt is masked at boot by uart_ra_sci_init(), but FSP's R_SCI_UART_Open() unconditionally re-enables it, and uart_ra_sci_configure() - the back end of the public uart_configure() API, enabled by default via CONFIG_UART_USE_RUNTIME_CONFIGURE - performs a Close()/Open() pair without re-masking it. Any runtime uart_configure() therefore leaves the error interrupt live regardless of whether a callback has been set, as does calling uart_irq_err_enable() on its own. An instance used with the polling API, or the window between uart_configure() and uart_irq_callback_user_data_set(), thus runs with the error interrupt unmasked and no callback registered. The trigger is an ordinary receive line error - overrun, framing, parity, or a break condition - which is fully determined by the device attached to the serial link. A peer able to assert a break or transmit at a mismatched baud rate produces such an error at will, so a single frame is enough to enter the state. The impact is availability only: the CPU is captured in the re-entering ISR and never returns to thread context, hanging the entire system until an external reset or hardware watchdog fires. There is no memory corruption or information disclosure. Builds using the asynchronous UART API are unaffected, because the fall-through to FSP's sci_uart_eri_isr() clears both the error flags and the pending IRQ.
Title Renesas RA SCI UART driver: unacknowledged receive-error interrupt causes a permanent interrupt storm and CPU lockup
Weaknesses CWE-835
References
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses
  • CWE-835

    Loop with Unreachable Exit Condition ('Infinite Loop')

Sources

Status
PUBLISHED
Assigner
zephyr
Published
Updated
Nov 12, 2026, 5:17 PM
Reserved
Sep 12, 2026, 6:04 PM
Status
Awaiting Analysis
Published
Nov 9, 2026, 10:18 PM
Modified
Nov 12, 2026, 6:17 PM