Skip to main content

Zephyr RTOS CVE-2026-90585

| EUVDEUVD-2026-120486 MEDIUM
Loop with Unreachable Exit Condition (Infinite Loop) (CWE-835)
2026-11-09 zephyr
4.6
CVSS 3.1 · Vendor: zephyr
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Access target device UART serial link
  2. Delivery
    Assert break or mismatched-baud frame
  3. Exploit
    Trigger receive line error (ORER/FER/PER)
  4. Execution
    ERI ISR leaves flags and IELSR.IR set
  5. Persist
    Interrupt re-pends and re-enters endlessly
  6. Impact
    CPU locked, system hangs (DoS)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Loop termination conditions
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerable state requires CONFIG_UART_INTERRUPT_DRIVEN=y with CONFIG_UART_ASYNC_API=n and data->user_cb == NULL, with the receive-error (ERI) interrupt unmasked. Although uart_ra_sci_init() masks ERI at boot, it is left live by any runtime uart_configure() call (the error interrupt is re-enabled by FSP's R_SCI_UART_Open() during the Close()/Open() pair, and CONFIG_UART_USE_RUNTIME_CONFIGURE defaults to y) or by calling uart_irq_err_enable() directly - this covers polling-API instances and the window between uart_configure() and uart_irq_callback_user_data_set(). The attacker must have access to the attached serial link to force an overrun, framing, parity, or break error (e.g. asserting a break or transmitting at a mismatched baud rate); a single frame suffices. Limiting factors: physical/wire access to the UART (AV:P), a vulnerable version (>=4.0.0 <4.3.2 or >=4.4.0 <4.5.0), the interrupt-driven-without-async build, and the no-callback-but-ERI-enabled runtime state. Builds using the asynchronous UART API are unaffected because FSP's sci_uart_eri_isr() clears the error flags and pending IRQ.

Impact

All signals point to a moderate, bounded availability issue rather than an urgent priority. The input CVSS of 4.6 (CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) is driven entirely by A:H (full CPU lockup) while AV:P ties exploitation to an attacker with access to the physical serial link attached to the device. No EPSS score, no CISA KEV listing, and no proof-of-concept or exploit reference are present in the data, so this is 'no public exploit identified at time of analysis'. The SSVC/priority signal supplied is the vuln.today 'this_month' decision label, which is consistent with a non-emergency, patch-on-normal-cadence posture. The impact is availability only: the description and GHSA explicitly state there is no memory corruption and no information disclosure, so the input Tags 'Buffer Overflow' and 'Information Disclosure' contradict the authoritative vendor advisory and should not be treated as real signals (CWE is CWE-835, infinite loop). Net assessment: a real but targeted DoS requiring wire-level access to the UART and a specific vulnerable build/runtime configuration, not a widely-scannable remote issue - a genuine but low-urgency fix for exposed Renesas RA deployments.

Exploit ScenarioDerived

An attacker (or a misbehaving device) with access to the serial link of a vulnerable Renesas RA Zephyr instance asserts a break condition or transmits at a mismatched baud rate, producing a receive line error. If the error interrupt is unmasked with no callback registered (e.g. a polling-API instance, or after a runtime uart_configure()), the ERI ISR never acknowledges the condition and re-pends endlessly, hanging the CPU until a reset or watchdog fires. No public exploit code is identified; a single malformed frame is sufficient and, consistent with AV:P/AC:L, no special timing or complexity is required beyond physical/wire access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

A receive-error interrupt in the Renesas RA SCI UART driver can capture the CPU indefinitely, hanging the whole Zephyr system until an external reset or hardware watchdog fires. Only builds with CONFIG_UART_INTERRUPT_DRIVEN=y and CONFIG_UART_ASYNC_API=n are exposed, and only when the ERI interrupt is unmasked while no interrupt-driven callback is registered - a state reached by any runtime uart_configure() call (which re-runs FSP's R_SCI_UART_Open() and re-enables ERI) or by uart_irq_err_enable() on its own. A single ordinary line error - break, overrun, framing or parity - from a peer with access to the serial link is enough, and because the driver never clears the SCI error flags or the ICU event pending bit in that configuration, the ISR re-enters forever; impact is availability only, with no memory corruption or information disclosure, and no public exploit was identified at time of analysis. Fixed versions 4.3.2 and 4.5.0 are available from the vendor.

RemediationAI

Vendor-released patch: fixed in Zephyr 4.3.2 and 4.5.0, from commit acfc8ca181600e8ca3a13f94c96e7da89e1e86ce on main (PR #118003) with backports merged on v4.4-branch (PR #119099) and v4.3-branch (PR #119100); upgrade to 4.3.2 or 4.5.0 respectively per advisory https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-p99p-qqr7-mqcx. The commit makes uart_ra_sci_eri_isr() call uart_ra_sci_err_check() and clear R_ICU->IELSR_b[eri_irq].IR unconditionally before the callback branch, which closes the re-entry loop. Where an upgrade cannot be applied immediately, the exposure is limited to configurations that leave ERI live without a registered callback, so keep the receive-error interrupt masked until a callback is installed: avoid runtime uart_configure() calls on an affected SCI UART instance, or re-assert irq_disable() on the ERI interrupt after any such call, since FSP's R_SCI_UART_Open() re-enables it during the Close()/Open() pair; avoid calling uart_irq_err_enable() on its own and register the interrupt-driven callback via uart_irq_callback_user_data_set() before enabling ERI. The trade-off is that error interrupts remain masked, so overrun/framing/parity/break events must be detected via the polling API or the error-check path instead of an ISR callback. Builds that enable CONFIG_UART_ASYNC_API are unaffected because the fall-through to FSP's sci_uart_eri_isr() clears the error flags and the pending IRQ, though upgrading remains the complete fix.

Affected VersionsENISA

Zephyr 4.0.0 <4.3.2
Zephyr 4.4.0 <4.5.0

Affected Packages

euvd zephyr fix: 4.3.2, 4.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-835 loop with unreachable exit condition located in drivers/serial/uart_renesas_ra_sci.c, introduced with the driver's first commit (7060672c3748b80c10611ad63ecd3f22454d9cef, merged 2024-08-19). The driver pairs Zephyr's UART subsystem with Renesas FSP's R_SCI_UART layer: FSP's R_SCI_UART_Open() enables the receiver and the ERI IRQ via R_BSP_IrqEnable(), while Zephyr's uart_ra_sci_init() deliberately calls irq_disable(eri_irq) after Open, so ERI is masked at boot by design. The pre-fix uart_ra_sci_eri_isr() only acknowledged the hardware condition - calling uart_ra_sci_err_check() (which reads and clears SSR.ORER/PER/FER in both FIFO and non-FIFO paths) and clearing R_ICU->IELSR_b[eri_irq].IR - inside the branch guarded by data->user_cb != NULL. With CONFIG_UART_INTERRUPT_DRIVEN=y, CONFIG_UART_ASYNC_API=n and a NULL callback, the ISR body was empty, so the error flags stayed set and the IELSR pending bit was never cleared, causing immediate re-pending and unbounded re-entry. The unmasked-with-no-callback state is reachable through ordinary APIs: uart_ra_sci_configure(), the back end of uart_configure() and enabled by default because CONFIG_UART_USE_RUNTIME_CONFIGURE defaults to y in drivers/serial/Kconfig, performs R_SCI_UART_Close() plus R_SCI_UART_Open() without the compensating irq_disable(); uart_ra_sci_irq_err_enable() is a bare NVIC_EnableIRQ() with no callback prerequisite; and uart_ra_sci_irq_callback_set() stores user_cb independently of interrupt enabling. Builds using the asynchronous UART API are unaffected because execution falls through to FSP's sci_uart_eri_isr(), which clears both the SSR error bits and the pending IRQ via R_BSP_IrqStatusClear(). The fix moves uart_ra_sci_err_check() and the IELSR.IR clear ahead of the callback branch so acknowledgement is unconditional, matching uart_ra_sci_rxi_isr(), which already cleared its IELSR.IR at the out: label. Note that generic feed tags (buffer overflow, information disclosure) do not match the vendor advisory, which restricts the impact to availability.

Know when Zephyr gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (zephyr) PRIMARY 4.6 MEDIUM
AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 4.6 MEDIUM

Trigger requires asserting an error on the attached serial link (physical/wire access, AV:P), no auth or interaction, and the only impact is a full CPU-lockup DoS (A:H, C/I:N).

3.1 AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:P/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (zephyr).

CVSS VectorVendor: zephyr

Attack Vector
Physical
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche Renesas RA SCI UART driver requiring a specific build/runtime config
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

23
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +23
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Zephyr

View all
CVE-2023-4260 CRITICAL POC
10.0 Sep 27

Potential off-by-one buffer overflow vulnerability in the Zephyr fuse file system. Rated critical severity (CVSS 10.0),

CVE-2026-1678 CRITICAL POC
9.8 Mar 05

An out-of-bounds write in the Zephyr RTOS DNS resolver (dns_unpack_name()) lets a crafted DNS response corrupt memory on

CVE-2023-5055 CRITICAL POC
9.8 Nov 21

Possible variant of CVE-2021-3434 in function le_ecred_reconf_req. Rated critical severity (CVSS 9.8), this vulnerabilit

CVE-2023-4257 CRITICAL POC
9.8 Oct 13

Unchecked user input length in /subsys/net/l2/wifi/wifi_shell.c can cause buffer overflows. Rated critical severity (CVS

CVE-2023-3725 CRITICAL POC
9.8 Oct 06

Potential buffer overflow vulnerability in the Zephyr CAN bus subsystem. Rated critical severity (CVSS 9.8), this vulner

CVE-2021-3323 CRITICAL POC
9.8 Oct 12

Integer Underflow in 6LoWPAN IPHC Header Uncompression in Zephyr. Rated critical severity (CVSS 9.8), this vulnerability

CVE-2021-3625 CRITICAL POC
9.8 Oct 05

Buffer overflow in Zephyr USB DFU DNLOAD. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable

CVE-2021-3319 CRITICAL POC
9.8 Oct 05

DOS: Incorrect 802154 Frame Validation for Omitted Source / Dest Addresses. Rated critical severity (CVSS 9.8), this vul

CVE-2018-1000800 CRITICAL POC
9.8 Sep 06

zephyr-rtos version 1.12.0 contains a NULL base pointer reference vulnerability in sys_ring_buf_put(), sys_ring_buf_get(

CVE-2023-4264 CRITICAL POC
9.6 Sep 27

Potential buffer overflow vulnerabilities n the Zephyr Bluetooth subsystem. Rated critical severity (CVSS 9.6), this vul

CVE-2024-1638 CRITICAL POC
9.1 Feb 19

The documentation specifies that the BT_GATT_PERM_READ_LESC and BT_GATT_PERM_WRITE_LESC defines for a Bluetooth characte

CVE-2023-5753 HIGH POC
8.8 Oct 25

Potential buffer overflows in the Bluetooth subsystem due to asserts being disabled in /subsys/bluetooth/host/hci_core.c

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy