Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2026-99504

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 5f281c3e82b1203c40cf6ead009ffb5b09db056b to < fd0dd0ee82ef62b8b4bda1ffceb361946f403404affected
  • 5f281c3e82b1203c40cf6ead009ffb5b09db056b to < 85db2c35fd93bc6604e4d7abe4701d6587bc15a3affected
  • 5f281c3e82b1203c40cf6ead009ffb5b09db056b to < 5ea495bccfd746b063bc6702064f167467717b41affected

Linux Linux

Default version status: affected

  • 6.14affected
  • 0 to < 6.14unaffected
  • 6.18.61 to ≤ 6.18.*unaffected
  • 7.3.2 to ≤ 7.3.*unaffected
  • 7.4-rc1 to ≤ *unaffected

References