CVE-2026-98748
Full vulnerability record from the local CVENow database.
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.
View original CVE JSON
{
"id": "CVE-2026-98748",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-10-18T16:17:28.557",
"lastModified": "2026-10-30T13:21:23.413",
"vulnStatus": "Received",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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 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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"drivers/tty/serial/8250/8250_bcm7271.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "134d239558f2ac2602fad2392ec3e6d8d76af7d8",
"versionType": "git",
"status": "affected"
},
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "dad9fb86829ee96bbc6315d7209ceb24820ef889",
"versionType": "git",
"status": "affected"
},
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "dd81650bec58ac70e5dfde2ec390acc1f0d1ed76",
"versionType": "git",
"status": "affected"
},
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e",
"versionType": "git",
"status": "affected"
},
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "e32440fa536af96bdbc61d933a7c3a920b965edc",
"versionType": "git",
"status": "affected"
},
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "0794ba5332754866b2f1c0cca668775be3ffcf0a",
"versionType": "git",
"status": "affected"
},
{
"version": "41a469482de257ea8db43cf74b6311bd055de030",
"lessThan": "189b9dc8c96ec9486482f27c1372b04a7152175e",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"drivers/tty/serial/8250/8250_bcm7271.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.13",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.13",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "5.15.224",
"lessThanOrEqual": "5.15.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.1.191",
"lessThanOrEqual": "6.1.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.6.160",
"lessThanOrEqual": "6.6.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.12.113",
"lessThanOrEqual": "6.12.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "6.18.56",
"lessThanOrEqual": "6.18.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.2.10",
"lessThanOrEqual": "7.2.*",
"versionType": "semver",
"status": "unaffected"
},
{
"version": "7.3",
"lessThanOrEqual": "*",
"versionType": "original_commit_for_fix",
"status": "unaffected"
}
]
}
]
}
],
"metrics": {},
"references": [
{
"url": "https://git.kernel.org/stable/c/0794ba5332754866b2f1c0cca668775be3ffcf0a",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/134d239558f2ac2602fad2392ec3e6d8d76af7d8",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/189b9dc8c96ec9486482f27c1372b04a7152175e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dad9fb86829ee96bbc6315d7209ceb24820ef889",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dd81650bec58ac70e5dfde2ec390acc1f0d1ed76",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e32440fa536af96bdbc61d933a7c3a920b965edc",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}