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 < fd0dd0ee82ef62b8b4bda1ffceb361946f403404affected5f281c3e82b1203c40cf6ead009ffb5b09db056b to < 85db2c35fd93bc6604e4d7abe4701d6587bc15a3affected5f281c3e82b1203c40cf6ead009ffb5b09db056b to < 5ea495bccfd746b063bc6702064f167467717b41affected
Linux Linux
Default version status: affected
6.14affected0 to < 6.14unaffected6.18.61 to ≤ 6.18.*unaffected7.3.2 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected