ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ fce9b90c1ab7e915553c57353355700c79b39c86 · < 8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's audio-graph-card component leaks a reference to cpu_ep on an error path in __graph_for_each_link(). The input does not specify what an attacker could do or whether exploitation requires network access, authentication, or user interaction.
Engineers running the Linux kernel should check whether their version includes the audio-graph-card fix; affected versions are not specified.