Linux kernel use-after-free in audio-graph-card2 link setup
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.617.3.27.4-rc1In the Linux kernel, the following vulnerability has been resolved:
ASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c()
of_graph_get_next_port() consumes the reference of its prev argument. port0 is only borrowed from the caller's iterator, so the call drops a reference the function does not own, and port0 is dereferenced again afterwards. Pass an extra reference, as graph_count_c2c() does, so the reference the callee consumes is the one taken here.
From the CVE record · Linux
The Linux kernel's audio-graph-card2 component has a use-after-free in audio_graph2_link_c2c() caused by incorrect reference handling. The input does not specify how an attacker could trigger it, what they could achieve, or whether authentication or user interaction is required.
Engineers running Linux kernels with the audio-graph-card2 component should check their deployments; affected versions are not specified.