ASoC: audio-graph-card2: Fix use-after-free in audio_graph2_link_c2c()

State
Published
Severity
Not Scored
Published
Nov 19, 2026
Updated
Nov 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

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.

ProductVersions
Linux Linux5f281c3e82b1203c40cf6ead009ffb5b09db056b to before fd0dd0ee82ef62b8b4bda1ffceb361946f403404 Affected5f281c3e82b1203c40cf6ead009ffb5b09db056b to before 85db2c35fd93bc6604e4d7abe4701d6587bc15a3 Affected5f281c3e82b1203c40cf6ead009ffb5b09db056b to before 5ea495bccfd746b063bc6702064f167467717b41 Affected
Linux Linux6.14 Affectedbefore 6.14 Not Affected6.18.61 through 6.18.* Not Affected7.3.2 through 7.3.* Not Affected7.4-rc1 and later Not Affected

Weaknesses

The record names no weakness.

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.