serial: 8250_bcm7271: fix use-after-free in brcmuart_remove() (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.17 % · percentile 7 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
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.
References
- https://git.kernel.org/stable/c/134d239558f2ac2602fad2392ec3e6d8d76af7d8
- https://git.kernel.org/stable/c/dad9fb86829ee96bbc6315d7209ceb24820ef889
- https://git.kernel.org/stable/c/dd81650bec58ac70e5dfde2ec390acc1f0d1ed76
- https://git.kernel.org/stable/c/f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e
- https://git.kernel.org/stable/c/e32440fa536af96bdbc61d933a7c3a920b965edc
- https://git.kernel.org/stable/c/0794ba5332754866b2f1c0cca668775be3ffcf0a
- https://git.kernel.org/stable/c/189b9dc8c96ec9486482f27c1372b04a7152175e
European references
- ENISA EUVD · EUVD-2026-103833
- GCVE · GCVE-0-2026-98748
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1593 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1535 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1470 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < 134d239558f2ac2602fad2392ec3e6d8d76af7d8 affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < dad9fb86829ee96bbc6315d7209ceb24820ef889 affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < dd81650bec58ac70e5dfde2ec390acc1f0d1ed76 affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < e32440fa536af96bdbc61d933a7c3a920b965edc affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < 0794ba5332754866b2f1c0cca668775be3ffcf0a affected : ≥ 41a469482de257ea8db43cf74b6311bd055de030 < 189b9dc8c96ec9486482f27c1372b04a7152175e Other versions : unaffected |
| Linux · Linux | affected : 5.13 unaffected : ≥ 0 < 5.13 unaffected : ≥ 5.15.224 ≤ 5.15.* unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.113 ≤ 6.12.* unaffected : ≥ 6.18.56 ≤ 6.18.* unaffected : ≥ 7.2.10 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |