{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-143058",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-12-03T03:10:28.345Z",
        "datePublished": "2026-12-03T09:18:35.870Z",
        "dateUpdated": "2026-12-03T09:18:35.870Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-12-03T09:18:35.870Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ngpio: brcmstb: fix UAF after IRQ domain setup failure\n\nWhen devm_request_irq() fails in brcmstb_gpio_irq_setup(), the error\npath removes the IRQ domain but leaves priv->irq_domain non-NULL.\n\nThe probe error path subsequently calls brcmstb_gpio_remove(), which\nchecks priv->irq_domain and attempts to access the already-freed\ndomain through irq_find_mapping(). It also attempts to remove the\ndomain again, resulting in a use-after-free and potentially further\nmemory corruption.\n\nSet priv->irq_domain to NULL after removing it so that the common\ncleanup path skips the already-freed IRQ domain.\n\nThis issue was found by our static analysis tool under development."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpio/gpio-brcmstb.c"
                    ],
                    "versions": [
                        {
                            "version": "0ba31dc201deb4f47277d7ff676b45da31c530e4",
                            "lessThan": "ae57126e5e8fd2883ff64bccc442a59b227ef804",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0ba31dc201deb4f47277d7ff676b45da31c530e4",
                            "lessThan": "8c70068d8fecfd5f4d9a0487edcdcbc17c81c0e8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0ba31dc201deb4f47277d7ff676b45da31c530e4",
                            "lessThan": "40a6f3ffed2051a88ae5eab772a43464e216f000",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0ba31dc201deb4f47277d7ff676b45da31c530e4",
                            "lessThan": "2d175ac3b6e76ba5fdf18fedb54bf4f87cb33be8",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0ba31dc201deb4f47277d7ff676b45da31c530e4",
                            "lessThan": "1526045b4fa863a72b16bc2e3ac9350ca13a53c9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "0ba31dc201deb4f47277d7ff676b45da31c530e4",
                            "lessThan": "baa14758afb3e2828de1f76511edc1de50216f39",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpio/gpio-brcmstb.c"
                    ],
                    "versions": [
                        {
                            "version": "4.15",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "4.15",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.276",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.227",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.120",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.66",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.3.7",
                            "lessThanOrEqual": "7.3.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.4-rc3",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "5.10.276"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "5.15.227"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "6.12.120"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "6.18.66"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "7.3.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "4.15",
                                    "versionEndExcluding": "7.4-rc3"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/ae57126e5e8fd2883ff64bccc442a59b227ef804"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8c70068d8fecfd5f4d9a0487edcdcbc17c81c0e8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/40a6f3ffed2051a88ae5eab772a43464e216f000"
                },
                {
                    "url": "https://git.kernel.org/stable/c/2d175ac3b6e76ba5fdf18fedb54bf4f87cb33be8"
                },
                {
                    "url": "https://git.kernel.org/stable/c/1526045b4fa863a72b16bc2e3ac9350ca13a53c9"
                },
                {
                    "url": "https://git.kernel.org/stable/c/baa14758afb3e2828de1f76511edc1de50216f39"
                }
            ],
            "title": "gpio: brcmstb: fix UAF after IRQ domain setup failure",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}