VYPR
Unrated severityNVD Advisory· Published Oct 22, 2025· Updated Apr 15, 2026

CVE-2022-50572

CVE-2022-50572

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

In the Linux kernel, ASoC audio-graph-card has a refcount leak of cpu_ep in __graph_for_each_link(), leading to a memory leak.

Vulnerability

A refcount leak vulnerability exists in the Linux kernel's ASoC audio-graph-card driver. In the function __graph_for_each_link(), the of_get_next_child() call returns a device node with its reference count incremented. However, in the error path of the while loop, of_node_put() is not called for cpu_ep, causing the reference count to remain elevated and the node to never be freed [1][2][3].

Exploitation

This vulnerability can be triggered by a local attacker with the ability to load or manipulate Device Tree overlays that cause the error path to be taken in __graph_for_each_link(). No special privileges are required beyond the ability to trigger the driver's probing with a malformed or missing graph link [1][3].

Impact

An attacker can cause a memory leak in the kernel by repeatedly triggering the refcount leak, potentially exhausting kernel memory and leading to a denial of service (system crash or hang). The leak is small per occurrence but can accumulate over time [1][2].

Mitigation

The vulnerability is fixed by applying the upstream kernel patches referenced in [1], [2], and [3]. Users should update their kernel to a version that includes these commits. No workaround is known.

AI Insight generated on May 19, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

1

Patches

6

Vulnerability mechanics

Generated on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

6

News mentions

0

No linked articles in our index yet.