What’s Vulnerable › Vulnerabilities

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

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

How to fix

Upgrade to a fixed version: Linux kernel 6.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-50572 or the next vulnerability affects your stack