CVE-2026-105416
JSON

4.2medium

UART RX interrupt storm denial of service in ESP32 serial driver async API

Severity
4.2medium CVSS:3.1 by zephyr
Published
Last changed
Assigned by
zephyr

Description

The ESP32 UART driver (drivers/serial/uart_esp32.c) arms the UART_INTR_RXFIFO_FULL and UART_INTR_RXFIFO_TOUT interrupts with a FIFO threshold of one byte when asynchronous reception is started via uart_rx_enable(). Neither asynchronous stop point masked these interrupts again. These are uart_esp32_dma_rx_done() when a buffer completes with no successor supplied, and uart_esp32_async_rx_disable(). In addition, the RX timeout work could run after the buffer was released and report UART_RX_RDY with a NULL buffer. Once the DMA receive channel has stopped, nothing drains the UART RX FIFO. A single byte sent by the remote UART peer keeps the level-triggered RXFIFO-full condition asserted. uart_esp32_isr() clears the status without reading the FIFO and is re-entered continuously. In-tree users such as the async Modbus serial transport (which calls uart_rx_disable() around every transmission), the async shell UART backend (which stops RX when its buffers are exhausted) and the async modem UART backend (on close) all reach this state during normal operation. A peer can also force buffer exhaustion by flooding the line. The resulting interrupt storm starves the system timer and all threads, hanging the device until a watchdog or manual reset. A device on the UART link (for example another node on an RS-485 bus or an external modem/sensor) can therefore cause a persistent denial of service. Only ESP32 SoCs using the UART asynchronous (DMA) API are affected; the interrupt-driven and polling APIs are not.

Affected

Product or packageVersionsReported by
zephyrfrom 3.3.0 before 4.3.2, from 4.4.0 before 4.5.0CVE List

Classification

References

Sources

SourceRecordLicence
CVE ListCVE-2026-105416 changed 2026-12-01CVE Terms of Use
NVDCVE-2026-105416 changed 2026-12-01Public domain