{"id":"CVE-2026-98748","title":"serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_bcm7271: fix use-after-free in brcmuart_remove()\n\nbrcmuart_handle_irq() starts priv->hrt to work around a receive-timeout\nquirk of the 8250 core when hardw…","severity":"medium","cvss":4.1,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H","cvssSource":"vendor","cwe":["CWE-416"],"vendor":"Linux","product":"Linux","affected":["Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < dd81650bec58ac70e5dfde2ec390acc1f0d1ed76","Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e","Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < e32440fa536af96bdbc61d933a7c3a920b965edc","Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < 0794ba5332754866b2f1c0cca668775be3ffcf0a","Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < 189b9dc8c96ec9486482f27c1372b04a7152175e","Linux 5.13"],"published":"2026-10-18","updated":"2026-10-21","sourceUpdated":"2026-10-21T12:56:23.396Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-98748","references":[{"url":"https://git.kernel.org/stable/c/dd81650bec58ac70e5dfde2ec390acc1f0d1ed76"},{"url":"https://git.kernel.org/stable/c/f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e"},{"url":"https://git.kernel.org/stable/c/e32440fa536af96bdbc61d933a7c3a920b965edc"},{"url":"https://git.kernel.org/stable/c/0794ba5332754866b2f1c0cca668775be3ffcf0a"},{"url":"https://git.kernel.org/stable/c/189b9dc8c96ec9486482f27c1372b04a7152175e"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98748.json"},{"url":"https://access.redhat.com/security/cve/CVE-2026-98748"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2555145"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98748"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98748"}],"tags":["cve.org","csaf","vex","red-hat"],"epss":0.00168,"epssPercentile":0.05984,"ingestedAt":"2026-10-18T16:47:32.500Z","slug":"CVE-2026-98748","body":"## Overview\n\nIn the Linux kernel, the following vulnerability has been resolved:\n\nserial: 8250_bcm7271: fix use-after-free in brcmuart_remove()\n\nbrcmuart_handle_irq() starts priv->hrt to work around a receive-timeout\nquirk of the 8250 core when hardware flow control is enabled; the timer\ncallback brcmuart_hrtimer_func() dereferences priv.\n\nbrcmuart_remove() cancels the hrtimer before it unregisters the port, so\na receive-timeout interrupt that arrives in between re-arms the timer.\nAfter devm frees priv, the callback runs on freed memory.\n\nUnregister the port before cancelling the hrtimer.\nserial8250_unregister_port() shuts the port down and frees its IRQ, so\nbrcmuart_handle_irq() can no longer restart the timer, and the final\nhrtimer_cancel() drains any timer that was armed before or during the\nunregister.\n\nThis issue was found by an in-house static analysis tool.\n\n## Affected\n\n- `Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < dd81650bec58ac70e5dfde2ec390acc1f0d1ed76`\n- `Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e`\n- `Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < e32440fa536af96bdbc61d933a7c3a920b965edc`\n- `Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < 0794ba5332754866b2f1c0cca668775be3ffcf0a`\n- `Linux >= 41a469482de257ea8db43cf74b6311bd055de030 < 189b9dc8c96ec9486482f27c1372b04a7152175e`\n- `Linux 5.13`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10 · no fix planned: Red Hat Enterprise Linux 10 · updated 2026-10-20 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-98748.json)","depth":"sunlit","depthScore":23,"depthScoreParts":{"impact":22.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[{"seq":225700,"id":"CVE-2026-98748","ts":1792498366274,"field":"cvss","old":null,"new":"4.1"},{"seq":225699,"id":"CVE-2026-98748","ts":1792498366274,"field":"severity","old":"none","new":"medium"}]}