UART RX interrupt storm denial of service in ESP32 serial driver async API
- CVE-2026-105416
- EUVD-2026-140216
Description
Show the whole descriptionHide the whole 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.
Text from the CVE.org record.
Recommendation
zephyrproject zephyr
- If you run a version from 4.4.0 to before 4.5.0update to 4.5.0 or laterMinor version change: check the release notes
- If you run a version from 3.3.0 to before 4.3.2update to 4.3.2 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
zephyrproject zephyr
Affected versions Fixed in from 4.4.0 to before 4.5.0 4.5.0 from 3.3.0 to before 4.3.2 4.3.2
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.