What’s Vulnerable › Vulnerabilities
CVE-2022-50572: ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
- Severity: unknown
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-10-22 · updated 2026-06-17
Description
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.
Affected products
- Linux kernel: 5.1 — fixed in 6.2
How to fix
Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.
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
Get alerted when CVE-2022-50572 or the next vulnerability affects your stack