CVE-2026-105416: UART RX interrupt storm denial of service in ESP32 serial driver async API
The ESP32 UART driver (drivers/serial/uartesp32.c) arms the UARTINTRRXFIFOFULL and UARTINTRRXFIFOTOUT interrupts with a FIFO threshold of one byte when asynchronous reception is started via uartrxenable(). Neither asynchronous stop point masked these interrupts again. These are uartesp32dmarxdone() when a buffer completes with no successor supplied, and uartesp32asyncrxdisable(). In addition, the RX timeout work could run after the buffer was released and report UARTRXRDY 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. uartesp32isr() clears the status without reading the FIFO and is re-entered continuously. In-tree users such as the async Modbus serial transport (which calls uartrxdisable() 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 Software
Event History
Frequently Asked Questions
Which deployments are realistically exposed?
Deployments using the ESP32 UART driver with asynchronous reception enabled through uart_rx_enable() are exposed when receive processing stops while the remote UART peer can still send data. In-tree async Modbus transport, async shell UART backend, and async modem UART backend can reach the affected state during normal operation.
What does an attacker need to trigger the denial of service?
The attacker needs the ability to send data over the affected UART connection after DMA reception has stopped or buffers are exhausted. A single byte can sustain the level-triggered interrupt condition; flooding the line can also force buffer exhaustion.
Is a special configuration required?
The issue depends on use of the asynchronous UART receive API, not merely use of UART in general. The affected state occurs when uart_rx_disable() is called or when a receive buffer completes without a successor buffer.
How can I tell whether a device has entered the affected state?
The system experiences a continuous UART interrupt storm that starves the system timer and all threads after DMA reception stops and data remains in the UART RX FIFO. The timeout path may also report UART_RX_RDY with a NULL buffer after the buffer has been released.
What mitigation is available if patching cannot happen immediately?
Avoid stopping asynchronous UART reception while the remote peer can transmit, and ensure a successor receive buffer is supplied before the current buffer completes. Limiting or preventing untrusted UART peers from sending data can reduce the ability to trigger the condition.