CVE-2026-98748

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

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.

Key facts

Published
18 Oct 2026
Last changed
30 Oct 2026
Assigned by
Linux
EPSS
0.172% likely to be exploited in the next 30 days, higher than 6.73% of CVEs (scores for 18 Nov 2026)

Historical context and remediation

This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.

No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.

No explicit remediation statement is available on this page yet. Consult the original record and vendor references before choosing a fix.

Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.

Read the original CVE record.

Affected products

VendorProductVersions
LinuxLinux
  • Default status: unaffected
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding 134d239558f2ac2602fad2392ec3e6d8d76af7d8 (affected)
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding dad9fb86829ee96bbc6315d7209ceb24820ef889 (affected)
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding dd81650bec58ac70e5dfde2ec390acc1f0d1ed76 (affected)
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e (affected)
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding e32440fa536af96bdbc61d933a7c3a920b965edc (affected)
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding 0794ba5332754866b2f1c0cca668775be3ffcf0a (affected)
  • 41a469482de257ea8db43cf74b6311bd055de030 up to but excluding 189b9dc8c96ec9486482f27c1372b04a7152175e (affected)
LinuxLinux
  • Default status: affected
  • 5.13 (affected)
  • 0 up to but excluding 5.13 (unaffected)
  • 5.15.224 up to and including 5.15.* (unaffected)
  • 6.1.191 up to and including 6.1.* (unaffected)
  • 6.6.160 up to and including 6.6.* (unaffected)
  • 6.12.113 up to and including 6.12.* (unaffected)
  • 6.18.56 up to and including 6.18.* (unaffected)
  • 7.2.10 up to and including 7.2.* (unaffected)
  • 7.3 up to and including * (unaffected)

Timeline

  1. 18 Oct 2026 Published

References