In the Linux kernel, the following vulnerability has been resolved:
ASoC: audio-graph-card: fix refcount leak of cpuep in _graphforeach_link()
The ofgetnextchild() returns a node with refcount incremented, and decrements the refcount of prev. So in the error path of the while loop, ofnodeput() needs be called for cpuep.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50572.json"
}