{"api_version":"1","generated_at":"2026-10-20T15:39:05+00:00","cve":"CVE-2026-98748","urls":{"html":"https://cve.report/CVE-2026-98748","api":"https://cve.report/api/cve/CVE-2026-98748.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-98748","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98748"},"summary":{"title":"serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-10-18 16:17:28","updated_at":"2026-10-19 10:19:38"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/e32440fa536af96bdbc61d933a7c3a920b965edc","name":"https://git.kernel.org/stable/c/e32440fa536af96bdbc61d933a7c3a920b965edc","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e","name":"https://git.kernel.org/stable/c/f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0794ba5332754866b2f1c0cca668775be3ffcf0a","name":"https://git.kernel.org/stable/c/0794ba5332754866b2f1c0cca668775be3ffcf0a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/189b9dc8c96ec9486482f27c1372b04a7152175e","name":"https://git.kernel.org/stable/c/189b9dc8c96ec9486482f27c1372b04a7152175e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-98748","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98748","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 41a469482de257ea8db43cf74b6311bd055de030 f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 41a469482de257ea8db43cf74b6311bd055de030 e32440fa536af96bdbc61d933a7c3a920b965edc git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 41a469482de257ea8db43cf74b6311bd055de030 0794ba5332754866b2f1c0cca668775be3ffcf0a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 41a469482de257ea8db43cf74b6311bd055de030 189b9dc8c96ec9486482f27c1372b04a7152175e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.113 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.56 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.10 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/tty/serial/8250/8250_bcm7271.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"f5ce06e648d775cc1ccf66f4f594bb8b559a7d8e","status":"affected","version":"41a469482de257ea8db43cf74b6311bd055de030","versionType":"git"},{"lessThan":"e32440fa536af96bdbc61d933a7c3a920b965edc","status":"affected","version":"41a469482de257ea8db43cf74b6311bd055de030","versionType":"git"},{"lessThan":"0794ba5332754866b2f1c0cca668775be3ffcf0a","status":"affected","version":"41a469482de257ea8db43cf74b6311bd055de030","versionType":"git"},{"lessThan":"189b9dc8c96ec9486482f27c1372b04a7152175e","status":"affected","version":"41a469482de257ea8db43cf74b6311bd055de030","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/tty/serial/8250/8250_bcm7271.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.13"},{"lessThan":"5.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.113","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.56","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.10","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.113","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.56","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.10","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3","versionStartIncluding":"5.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"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."}],"providerMetadata":{"dateUpdated":"2026-10-19T09:25:00.686Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"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"}],"title":"serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-98748","datePublished":"2026-10-18T15:47:33.446Z","dateReserved":"2026-09-25T10:25:14.367Z","dateUpdated":"2026-10-19T09:25:00.686Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-18 16:17:28","lastModifiedDate":"2026-10-19 10:19:38","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"98748","Ordinal":"1","Title":"serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()","CVE":"CVE-2026-98748","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"98748","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"serial: 8250_bcm7271: fix use-after-free in brcmuart_remove()"}]}}}