{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50191",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-06-18T10:57:27.427Z",
        "datePublished": "2025-06-18T11:03:36.928Z",
        "dateUpdated": "2026-05-11T19:14:33.123Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:14:33.123Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: of: Fix refcount leak bug in of_get_regulation_constraints()\n\nWe should call the of_node_put() for the reference returned by\nof_get_child_by_name() which has increased the refcount."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/regulator/of_regulator.c"
                    ],
                    "versions": [
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "a23098cc32860272dc6c3200ff20c34c65b7b694",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "b9ca8585c766616563cf3c062c6878f61f83cf00",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "35f9e861d9b9434903a8ede37a3561f78985826d",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "332e555dca074c4eb2084898021c3676423814c3",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "c9df8ff290097aabd5c9200f7f729b0813d37b19",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "11ecb4f8735b0230d54a82c18b21ea778b695d61",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "fc7b19f547bc9e622060a0a9a39da2330aa21c53",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "40e20d68bb3fb1ce2704c886d597918988d3321d",
                            "lessThan": "66efb665cd5ad69b27dca8571bf89fc6b9c628a4",
                            "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/regulator/of_regulator.c"
                    ],
                    "versions": [
                        {
                            "version": "3.19",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "3.19",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.14.291",
                            "lessThanOrEqual": "4.14.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "4.19.256",
                            "lessThanOrEqual": "4.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.211",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.137",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.61",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.18.18",
                            "lessThanOrEqual": "5.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.19.2",
                            "lessThanOrEqual": "5.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0",
                            "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": "3.19",
                                    "versionEndExcluding": "4.14.291"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "4.19.256"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.4.211"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.10.137"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.15.61"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.18.18"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "5.19.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "3.19",
                                    "versionEndExcluding": "6.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/a23098cc32860272dc6c3200ff20c34c65b7b694"
                },
                {
                    "url": "https://git.kernel.org/stable/c/b9ca8585c766616563cf3c062c6878f61f83cf00"
                },
                {
                    "url": "https://git.kernel.org/stable/c/35f9e861d9b9434903a8ede37a3561f78985826d"
                },
                {
                    "url": "https://git.kernel.org/stable/c/332e555dca074c4eb2084898021c3676423814c3"
                },
                {
                    "url": "https://git.kernel.org/stable/c/c9df8ff290097aabd5c9200f7f729b0813d37b19"
                },
                {
                    "url": "https://git.kernel.org/stable/c/11ecb4f8735b0230d54a82c18b21ea778b695d61"
                },
                {
                    "url": "https://git.kernel.org/stable/c/fc7b19f547bc9e622060a0a9a39da2330aa21c53"
                },
                {
                    "url": "https://git.kernel.org/stable/c/66efb665cd5ad69b27dca8571bf89fc6b9c628a4"
                }
            ],
            "title": "regulator: of: Fix refcount leak bug in of_get_regulation_constraints()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}