{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50572",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-10-22T13:20:23.761Z",
        "datePublished": "2025-10-22T13:23:27.813Z",
        "dateUpdated": "2026-05-11T19:22:00.929Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-05-11T19:22:00.929Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()\n\nThe of_get_next_child() returns a node with refcount incremented, and\ndecrements the refcount of prev. So in the error path of the while loop,\nof_node_put() needs be called for cpu_ep."
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/generic/audio-graph-card.c"
                    ],
                    "versions": [
                        {
                            "version": "fce9b90c1ab7e915553c57353355700c79b39c86",
                            "lessThan": "ed1376f771404917c2ec3ebc617431ec01146134",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fce9b90c1ab7e915553c57353355700c79b39c86",
                            "lessThan": "06c9d468c06806dab752eb8e72addbf3792c1023",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fce9b90c1ab7e915553c57353355700c79b39c86",
                            "lessThan": "85eb5c952b7fe2d2059beaa4a4dd26688b25547b",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fce9b90c1ab7e915553c57353355700c79b39c86",
                            "lessThan": "49dad92af6892f46851af989ef3aa7cd7316c389",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fce9b90c1ab7e915553c57353355700c79b39c86",
                            "lessThan": "4cc8431ec77a43ea106d8bde0860c61cfdda1cd0",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "fce9b90c1ab7e915553c57353355700c79b39c86",
                            "lessThan": "8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "sound/soc/generic/audio-graph-card.c"
                    ],
                    "versions": [
                        {
                            "version": "5.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "5.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.4.229",
                            "lessThanOrEqual": "5.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.10.163",
                            "lessThanOrEqual": "5.10.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "5.15.86",
                            "lessThanOrEqual": "5.15.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.0.16",
                            "lessThanOrEqual": "6.0.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.2",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.2",
                            "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": "5.1",
                                    "versionEndExcluding": "5.4.229"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1",
                                    "versionEndExcluding": "5.10.163"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1",
                                    "versionEndExcluding": "5.15.86"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1",
                                    "versionEndExcluding": "6.0.16"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1",
                                    "versionEndExcluding": "6.1.2"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "5.1",
                                    "versionEndExcluding": "6.2"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/ed1376f771404917c2ec3ebc617431ec01146134"
                },
                {
                    "url": "https://git.kernel.org/stable/c/06c9d468c06806dab752eb8e72addbf3792c1023"
                },
                {
                    "url": "https://git.kernel.org/stable/c/85eb5c952b7fe2d2059beaa4a4dd26688b25547b"
                },
                {
                    "url": "https://git.kernel.org/stable/c/49dad92af6892f46851af989ef3aa7cd7316c389"
                },
                {
                    "url": "https://git.kernel.org/stable/c/4cc8431ec77a43ea106d8bde0860c61cfdda1cd0"
                },
                {
                    "url": "https://git.kernel.org/stable/c/8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0"
                }
            ],
            "title": "ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}