CVE-2026-143058

Source
https://cve.org/CVERecord?id=CVE-2026-143058
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143058.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-143058
Downstream
Published
2026-12-03T09:18:35Z
Modified
2026-12-03T11:01:13Z
Summary
gpio: brcmstb: fix UAF after IRQ domain setup failure
Details

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.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143058.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0ba31dc201deb4f47277d7ff676b45da31c530e4
Fixed
ae57126e5e8fd2883ff64bccc442a59b227ef804
Fixed
8c70068d8fecfd5f4d9a0487edcdcbc17c81c0e8
Fixed
40a6f3ffed2051a88ae5eab772a43464e216f000
Fixed
2d175ac3b6e76ba5fdf18fedb54bf4f87cb33be8
Fixed
1526045b4fa863a72b16bc2e3ac9350ca13a53c9
Show 1 more event Show fewer events
Fixed
baa14758afb3e2828de1f76511edc1de50216f39

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143058.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.15.0
Fixed
5.10.276
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.227
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.12.120
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.66
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143058.json"