← CVE Intelligence

CVE-2022-50572

ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected fce9b90c1ab7e915553c57353355700c79b39c86 before ed1376f771404917c2ec3ebc617431ec01146134; affected fce9b90c1ab7e915553c57353355700c79b39c86 before 06c9d468c06806dab752eb8e72addbf3792c1023; affected fce9b90c1ab7e915553c57353355700c79b39c86 before 85eb5c952b7fe2d2059beaa4a4dd26688b25547b; affected fce9b90c1ab7e915553c57353355700c79b39c86 before 49dad92af6892f46851af989ef3aa7cd7316c389; affected fce9b90c1ab7e915553c57353355700c79b39c86 before 4cc8431ec77a43ea106d8bde0860c61cfdda1cd0; affected fce9b90c1ab7e915553c57353355700c79b39c86 before 8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0
Linux / Linuxaffected 5.1; unaffected 0 before 5.1; unaffected 5.4.229 through 5.4.*; unaffected 5.10.163 through 5.10.*; unaffected 5.15.86 through 5.15.*; unaffected 6.0.16 through 6.0.*; unaffected 6.1.2 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References