CVE-2026-99504
ASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c()
UnscoredFix available
- CVSS
- —
- EPSS
- 0.20% (p10)
- Published
- 2026-11-19
- Age
- 15d old
- Modified
- 2026-11-19
- Product
- Linux Linux
Description
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.
Fixed in
5ea495bccfd746b063bc6702064f167467717b41 · 85db2c35fd93bc6604e4d7abe4701d6587bc15a3 · fd0dd0ee82ef62b8b4bda1ffceb361946f403404
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=5f281c3e82b1203c40cf6ead009ffb5b09db056b, <5ea495bccfd746b063bc6702064f167467717b41 | 5ea495bccfd746b063bc6702064f167467717b41 |
| vendor | Linux | >=5f281c3e82b1203c40cf6ead009ffb5b09db056b, <85db2c35fd93bc6604e4d7abe4701d6587bc15a3 | 85db2c35fd93bc6604e4d7abe4701d6587bc15a3 |
| vendor | Linux | >=5f281c3e82b1203c40cf6ead009ffb5b09db056b, <fd0dd0ee82ef62b8b4bda1ffceb361946f403404 | fd0dd0ee82ef62b8b4bda1ffceb361946f403404 |