unscored
CVE-2026-99504
In 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_po…
Impact
In 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.
Affected products · Linux
| Product | Affected versions |
|---|---|
| Linux | from 5f281c3e82b1203c40cf6ead009ffb5b09db056b before fd0dd0ee82ef62b8b4bda1ffceb361946f403404 from 5f281c3e82b1203c40cf6ead009ffb5b09db056b before 85db2c35fd93bc6604e4d7abe4701d6587bc15a3 from 5f281c3e82b1203c40cf6ead009ffb5b09db056b before 5ea495bccfd746b063bc6702064f167467717b41 Versions 6.14, patch: 6.18.61, patch: 0 |
References
- NVD record
- CVE.org record
- GitHub advisory
- https://git.kernel.org/stable/c/fd0dd0ee82ef62b8b4bda1ffceb361946f403404
- https://git.kernel.org/stable/c/85db2c35fd93bc6604e4d7abe4701d6587bc15a3
- https://git.kernel.org/stable/c/5ea495bccfd746b063bc6702064f167467717b41
- https://github.com/advisories/GHSA-xjjr-fvxc-j652
- https://nvd.nist.gov/vuln/detail/CVE-2026-99504