Description
In the Linux kernel, the following vulnerability has been resolved:

serial: 8250_of: clear stuck empty-FIFO RX-timeout on LPC32xx

The NXP LPC32xx UART (PORT_LPC3220) can latch an RX character-timeout
interrupt while the RX FIFO is empty: IIR reports UART_IIR_RX_TIMEOUT
(0x0c) but LSR.DR is clear. A character timeout is only cleared by
reading RHR, but serial8250_rx_chars() reads RHR only when LSR.DR is
set, so nothing ever clears the condition. The interrupt is
level-triggered and re-fires immediately, so on a single-core ARM926
the resulting interrupt storm livelocks the CPU.

It is reproducible when userspace repeatedly opens the front-panel port
(ttyS1): serial8250_do_set_termios() re-enables interrupts on unlock and
the handler then spins forever with iir=0xcc lsr=0x60 ier=0x05, tripping
the soft-lockup detector in serial8250_handle_irq_locked().

LPC32xx has no dedicated 8250 glue driver, it's driven by the generic
8250_of. Add a hardware specific handle_irq for PORT_LPC3220, wired up
in of_platform_serial_setup() the same way fsl8250_handle_irq is
installed. The handler follows dw8250_handle_irq(): on an RX timeout
with an empty FIFO (LSR.DR and LSR.BI clear) it does one throwaway RHR
read to clear the condition, then calls serial8250_handle_irq_locked().
No real received data is ever discarded, and it is a no-op on healthy
UARTs which never report a timeout with DR clear.

This is the same class of bug already worked around in other 8250 drivers;
see commit 424d79183af0 ("serial: 8250_dw: Avoid "too much work" from bogus rx timeout interrupt")
which reports the identical iir=0xcc/lsr=0x60. See also
UART_RX_TIMEOUT_QUIRK in 8250_omap, and the note in 8250_bcm7271.
Published: 2026-08-22
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An error in the Linux kernel's generic 8250 driver causes a stuck RX‑timeout interrupt on NXP LPC32xx UART hardware. When the FIFO is empty, the interrupt remains set but the driver does not clear it because the driver only reads the FIFO when data is present. This leads to a continuous interrupt storm that locks up the single‑core CPU, rendering the system unresponsive. The flaw is a logic error that allows an attacker to trigger a denial‑of‑service by repeatedly opening the UART device or continuously forcing the DMA to generate the timeout condition.

Affected Systems

Linux kernel builds that include the generic 8250_of driver and run on NXP LPC32xx family devices such as the PORT_LPC3220. The issue is not present in board‑specific 8250 drivers that already implement a custom interrupt handler. Systems that expose the UART to userspace, for example by providing a /dev/ttyS1 console, are directly affected.

Risk and Exploitability

The vulnerability is not currently listed in the Adaptive Threat Intelligence EPSS database, and it lacks a CEAs CVSS score in the CVE record. However, the described behaviour—continuous CPU hogging and a soft‑lockup—indicates a high impact denial‑of‑service. The attack vector is local; it requires the ability to open the serial port or otherwise trigger the timeout interrupt, which is typically available to any user on the system. Since the KEV catalog does not list the vulnerability, no publicly known exploits are available as of this analysis, but the flaw could be leveraged by an attacker with any privilege level to lock the host.

Generated by OpenCVE AI on August 22, 2026 at 16:57 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the commit sequence cited (e.g., 1423415471274abda87024967d7fe2206ceee0ea and 3ce24bc4d115336218e59b7e286fd3a79f4fc4c6) which adds a hardware‑specific handle_irq for PORT_LPC3220.
  • If a kernel upgrade is not immediately possible, disable user access to the affected UART device (removing /dev/ttyS1 or unbinding the driver) to prevent the timeout interrupt from being triggered.
  • As a temporary mitigative measure, avoid repetitive opening of the UART console and apply any platform‑specific device tree tweaks that disable RX‑timeout interrupts until the driver patch is applied.

Generated by OpenCVE AI on August 22, 2026 at 16:57 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-770

Sat, 22 Aug 2026 15:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: serial: 8250_of: clear stuck empty-FIFO RX-timeout on LPC32xx The NXP LPC32xx UART (PORT_LPC3220) can latch an RX character-timeout interrupt while the RX FIFO is empty: IIR reports UART_IIR_RX_TIMEOUT (0x0c) but LSR.DR is clear. A character timeout is only cleared by reading RHR, but serial8250_rx_chars() reads RHR only when LSR.DR is set, so nothing ever clears the condition. The interrupt is level-triggered and re-fires immediately, so on a single-core ARM926 the resulting interrupt storm livelocks the CPU. It is reproducible when userspace repeatedly opens the front-panel port (ttyS1): serial8250_do_set_termios() re-enables interrupts on unlock and the handler then spins forever with iir=0xcc lsr=0x60 ier=0x05, tripping the soft-lockup detector in serial8250_handle_irq_locked(). LPC32xx has no dedicated 8250 glue driver, it's driven by the generic 8250_of. Add a hardware specific handle_irq for PORT_LPC3220, wired up in of_platform_serial_setup() the same way fsl8250_handle_irq is installed. The handler follows dw8250_handle_irq(): on an RX timeout with an empty FIFO (LSR.DR and LSR.BI clear) it does one throwaway RHR read to clear the condition, then calls serial8250_handle_irq_locked(). No real received data is ever discarded, and it is a no-op on healthy UARTs which never report a timeout with DR clear. This is the same class of bug already worked around in other 8250 drivers; see commit 424d79183af0 ("serial: 8250_dw: Avoid "too much work" from bogus rx timeout interrupt") which reports the identical iir=0xcc/lsr=0x60. See also UART_RX_TIMEOUT_QUIRK in 8250_omap, and the note in 8250_bcm7271.
Title serial: 8250_of: clear stuck empty-FIFO RX-timeout on LPC32xx
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-22T15:32:28.521Z

Reserved: 2026-08-15T05:44:03.923Z

Link: CVE-2026-74653

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:38.827

Modified: 2026-08-22T16:16:38.827

Link: CVE-2026-74653

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T17:00:10Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling