Bug 2589625 (CVE-2026-143058) - CVE-2026-143058 kernel: kernel: Use-after-free via improper IRQ domain cleanup in Broadcom STB GPIO driver
Summary: CVE-2026-143058 kernel: kernel: Use-after-free via improper IRQ domain cleanu...
Keywords:
Status: NEW
Alias: CVE-2026-143058
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-12-03 09:25 UTC by OSIDB Bzimport
Modified: 2026-12-03 13:02 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-12-03 09:25:54 UTC
In the Linux kernel, the following vulnerability has been resolved:

gpio: brcmstb: fix UAF after IRQ domain setup failure

When devm_request_irq() fails in brcmstb_gpio_irq_setup(), the error
path removes the IRQ domain but leaves priv->irq_domain non-NULL.

The probe error path subsequently calls brcmstb_gpio_remove(), which
checks priv->irq_domain and attempts to access the already-freed
domain through irq_find_mapping(). It also attempts to remove the
domain again, resulting in a use-after-free and potentially further
memory corruption.

Set priv->irq_domain to NULL after removing it so that the common
cleanup path skips the already-freed IRQ domain.

This issue was found by our static analysis tool under development.


Note You need to log in before you can comment on or make changes to this bug.