# CVE-2022-50572: ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-10-22T13:23:27.813Z
- Modified: 2026-06-17T05:23:48.897Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from fce9b90c1ab7e915553c57353355700c79b39c86 before ed1376f771404917c2ec3ebc617431ec01146134; from fce9b90c1ab7e915553c57353355700c79b39c86 before 06c9d468c06806dab752eb8e72addbf3792c1023; from fce9b90c1ab7e915553c57353355700c79b39c86 before 85eb5c952b7fe2d2059beaa4a4dd26688b25547b; from fce9b90c1ab7e915553c57353355700c79b39c86 before 49dad92af6892f46851af989ef3aa7cd7316c389; from fce9b90c1ab7e915553c57353355700c79b39c86 before 4cc8431ec77a43ea106d8bde0860c61cfdda1cd0; from fce9b90c1ab7e915553c57353355700c79b39c86 before 8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0; 5.1 (not affected: before 5.1; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.86 up to 5.15.*; from 6.0.16 up to 6.0.*; from 6.1.2 up to 6.1.*; from 6.2 up to *)

## References

- <https://git.kernel.org/stable/c/ed1376f771404917c2ec3ebc617431ec01146134>
- <https://git.kernel.org/stable/c/06c9d468c06806dab752eb8e72addbf3792c1023>
- <https://git.kernel.org/stable/c/85eb5c952b7fe2d2059beaa4a4dd26688b25547b>
- <https://git.kernel.org/stable/c/49dad92af6892f46851af989ef3aa7cd7316c389>
- <https://git.kernel.org/stable/c/4cc8431ec77a43ea106d8bde0860c61cfdda1cd0>
- <https://git.kernel.org/stable/c/8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0>

## Sources

- CVE List: [CVE-2022-50572](https://www.cve.org/CVERecord?id=CVE-2022-50572), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2022-50572](https://nvd.nist.gov/vuln/detail/CVE-2022-50572), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-50572 · Whole record: https://cve.day/CVE-2022-50572.json · Rebuilt by cve.day 2026-11-25T22:58:21.278Z
