ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
In the Linux kernel, the following vulnerability has been resolved: ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() The of_get_next_child() returns a node with refcount incremented, and decrements the refcount of prev. So in the error path of the while loop, of_node_put() needs be called for cpu_ep.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.163, 5.15.86, 5.4.229, 6.0.16, 6.1.2
- CVEs
- CVE-2022-50572
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 18:51 UTC · Revision 1
Source evidence
ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
core-osv · Original sourcePublished 22 Oct 2025, 13:23 UTC
In the Linux kernel, the following vulnerability has been resolved: ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() The of_get_next_child() returns a node with refcount incremented, and decrements the refcount of prev. So in the error path of the while loop, of_node_put() needs be called for cpu_ep.
osv:CVE-2022-50572
Kernel
Fixed versions: 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2
Complete source record
{
"id": "46d5c321305f072ed384d002b6ce3a3547d508bc4f3c390fb529f4f3cfd189b1",
"url": "https://osv.dev/vulnerability/CVE-2022-50572",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() The of_get_next_child() returns a node with refcount incremented, and decrements the refcount of prev. So in the error path of the while loop, of_node_put() needs be called for cpu_ep.",
"evidence": "osv:CVE-2022-50572",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.4.229",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.163",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.86",
"evidence": "/affected/1/ranges"
},
{
"value": "6.0.16",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-50572",
"aliases": [
"CVE-2022-50572"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "fce9b90c1ab7e915553c57353355700c79b39c86"
},
{
"fixed": "ed1376f771404917c2ec3ebc617431ec01146134"
},
{
"fixed": "06c9d468c06806dab752eb8e72addbf3792c1023"
},
{
"fixed": "85eb5c952b7fe2d2059beaa4a4dd26688b25547b"
},
{
"fixed": "49dad92af6892f46851af989ef3aa7cd7316c389"
},
{
"fixed": "4cc8431ec77a43ea106d8bde0860c61cfdda1cd0"
},
{
"fixed": "8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50572.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.1.0"
},
{
"fixed": "5.4.229"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.163"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.86"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.0.16"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.1.0"
},
{
"fixed": "6.1.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50572.json"
}
}
],
"modified": "2026-10-28T02:30:38.420109483Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/06c9d468c06806dab752eb8e72addbf3792c1023",
"https://git.kernel.org/stable/c/49dad92af6892f46851af989ef3aa7cd7316c389",
"https://git.kernel.org/stable/c/4cc8431ec77a43ea106d8bde0860c61cfdda1cd0",
"https://git.kernel.org/stable/c/85eb5c952b7fe2d2059beaa4a4dd26688b25547b",
"https://git.kernel.org/stable/c/8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0",
"https://git.kernel.org/stable/c/ed1376f771404917c2ec3ebc617431ec01146134",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50572.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-50572",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50572.json"
}
},
"related_cves": [
{
"value": "CVE-2022-50572",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 505872,
"published_at": "2025-10-22T13:23:27.813+00:00"
}