Skip to contentSkip to conversation

CVE-2026-97481: serial: 8250: fix possible ISR soft lockup

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 24

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

serial: 8250: fix possible ISR soft lockup

There are rare cases in which the host gets stuck in the ISR because it is flooded with messages during the startup phase.

The reason for the soft lockup in the ISR is the missing FIFO error IRQ (FIFOE) handling. Not handling it and reporting IRQ_HANDLED triggers the IRQ immediately again.

Fix this by adding a check for the FIFOE status and clearing the FIFO if no data is ready (DR).

This behavior was observed on an AM62L device which uses the OMAP 8250 driver. Fix it for all 8250 drivers, since the OMAP driver's special IRQ setup handling may trigger this behavior more frequently, but it is not ensured that other 8250 drivers aren't affected.

The Linux kernel CVE team has assigned CVE-2026-97481 to this issue.

Affected and fixed versions
===========================

	Fixed in 6.12.111 with commit 2881b2e6da02daea1eb8254247ba8fd20c9d3348
	Fixed in 6.18.53 with commit 4295c58990b7a84e8349a2226db692e252825b60
	Fixed in 7.2 with commit 0c6bf45e5a345cc3b9ffbeaf9083ecac3c2293eb

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-97481

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:

	drivers/tty/serial/8250/8250_port.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/2881b2e6da02daea1eb8254247ba8fd20c9d3348
	https://git.kernel.org/stable/c/4295c58990b7a84e8349a2226db692e252825b60
	https://git.kernel.org/stable/c/0c6bf45e5a345cc3b9ffbeaf9083ecac3c2293eb