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

serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()

brcmuart_handle_irq() starts priv->hrt to work around a receive-timeout
quirk of the 8250 core when hardware flow control is enabled; the timer
callback brcmuart_hrtimer_func() dereferences priv.

brcmuart_remove() cancels the hrtimer before it unregisters the port, so
a receive-timeout interrupt that arrives in between re-arms the timer.
After devm frees priv, the callback runs on freed memory.

Unregister the port before cancelling the hrtimer.
serial8250_unregister_port() shuts the port down and frees its IRQ, so
brcmuart_handle_irq() can no longer restart the timer, and the final
hrtimer_cancel() drains any timer that was armed before or during the
unregister.

This issue was found by an in-house static analysis tool.
Published: 2026-10-18
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Kernel memory corruption
Action: Apply patch
AI Analysis

Impact

The flaw lies in the brcmuart driver for BCM7271 UART chips, where a use‑after‑free condition occurs when brcmuart_remove cancels the hrtimer before unregistering the port, allowing a receive‑timeout interrupt to arrive after the timer has been cancelled but before the device is freed. The hrtimer callback then dereferences freed memory, corrupting kernel memory. This bug can crash the kernel or be leveraged by a local attacker to achieve kernel‑level privilege escalation.

Affected Systems

All Linux kernel installations that include the brcmuart driver for BCM7271 chips and have not applied the accompanying patch. The issue is present in any kernel where the brcmuart_remove function cancels the hrtimer before unregistering the port. No specific kernel version is listed, so any affected device using this driver should consider the vulnerability.

Risk and Exploitability

The CVSS score is 4.1 and the EPSS score is < 1%, indicating a low probability of exploitation. The issue is not listed in the CISA KEV catalog. The likely attack requires local privileged access or control of the UART device to trigger a receive‑timeout interrupt between the cancellation of the hrtimer and the removal of the port. While remote exploitation is unlikely, local exploitation could lead to a kernel crash or privilege escalation.

Generated by OpenCVE AI on October 20, 2026 at 19:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the brcmuart patch.
  • If an upgrade is not immediately feasible, disable hardware flow control on the affected UART devices to prevent the timer that can trigger the use‑after‑free.
  • Apply any vendor‑issued temporary workarounds that prevent the driver from registering UART interrupts until it is fully removed, if such a workaround is provided.

Generated by OpenCVE AI on October 20, 2026 at 19:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
History

Fri, 30 Oct 2026 12:45:00 +0000


Wed, 21 Oct 2026 13:15:00 +0000


Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 18 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: serial: 8250_bcm7271: fix use-after-free in brcmuart_remove() brcmuart_handle_irq() starts priv->hrt to work around a receive-timeout quirk of the 8250 core when hardware flow control is enabled; the timer callback brcmuart_hrtimer_func() dereferences priv. brcmuart_remove() cancels the hrtimer before it unregisters the port, so a receive-timeout interrupt that arrives in between re-arms the timer. After devm frees priv, the callback runs on freed memory. Unregister the port before cancelling the hrtimer. serial8250_unregister_port() shuts the port down and frees its IRQ, so brcmuart_handle_irq() can no longer restart the timer, and the final hrtimer_cancel() drains any timer that was armed before or during the unregister. This issue was found by an in-house static analysis tool.
Title serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()
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-10-30T12:39:18.369Z

Reserved: 2026-09-25T10:25:14.367Z

Link: CVE-2026-98748

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:28.557

Modified: 2026-10-30T13:21:23.413

Link: CVE-2026-98748

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-10-18T15:47:33Z

Links: CVE-2026-98748 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T19:30:07Z

Weaknesses