0.0
NA
CVE-2026-143058
gpio: brcmstb: fix UAF after IRQ domain setup failure
Description

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.

INFO

Published Date :

Dec. 3, 2026, 10:17 a.m.

Last Modified :

Dec. 3, 2026, 10:17 a.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-143058 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Fix use-after-free by nullifying irq_domain after removal in probe error path.
  • Set priv->irq_domain to NULL after IRQ domain removal.
  • Ensure the common cleanup path skips the freed IRQ domain.
  • Apply the provided patch for the Linux kernel.
  • Update the Linux kernel to the fixed version.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-143058 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-143058 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-143058 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-143058 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Dec. 03, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/143xxx/CVE-2026-143058.json">CVE-2026-143058</a>
    Added Reference https://git.kernel.org/stable/c/1526045b4fa863a72b16bc2e3ac9350ca13a53c9
    Added Reference https://git.kernel.org/stable/c/2d175ac3b6e76ba5fdf18fedb54bf4f87cb33be8
    Added Reference https://git.kernel.org/stable/c/40a6f3ffed2051a88ae5eab772a43464e216f000
    Added Reference https://git.kernel.org/stable/c/8c70068d8fecfd5f4d9a0487edcdcbc17c81c0e8
    Added Reference https://git.kernel.org/stable/c/ae57126e5e8fd2883ff64bccc442a59b227ef804
    Added Reference https://git.kernel.org/stable/c/baa14758afb3e2828de1f76511edc1de50216f39
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.