Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50572

ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link()

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: audio-graph-card: fix refcount leak of cpu_ep in __graph_for_each_link() The of_get_next_child() returns a node with refcount incremented, and decrements the refcount of prev. So in the error path of the while loop, of_node_put() needs be called for cpu_ep.

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

  • fce9b90c1ab7e915553c57353355700c79b39c86 to < ed1376f771404917c2ec3ebc617431ec01146134affected
  • fce9b90c1ab7e915553c57353355700c79b39c86 to < 06c9d468c06806dab752eb8e72addbf3792c1023affected
  • fce9b90c1ab7e915553c57353355700c79b39c86 to < 85eb5c952b7fe2d2059beaa4a4dd26688b25547baffected
  • fce9b90c1ab7e915553c57353355700c79b39c86 to < 49dad92af6892f46851af989ef3aa7cd7316c389affected
  • fce9b90c1ab7e915553c57353355700c79b39c86 to < 4cc8431ec77a43ea106d8bde0860c61cfdda1cd0affected
  • fce9b90c1ab7e915553c57353355700c79b39c86 to < 8ab2d12c726f0fde0692fa5d81d8019b3dcd62d0affected

Linux Linux

Default version status: affected

  • 5.1affected
  • 0 to < 5.1unaffected
  • 5.4.229 to ≤ 5.4.*unaffected
  • 5.10.163 to ≤ 5.10.*unaffected
  • 5.15.86 to ≤ 5.15.*unaffected
  • 6.0.16 to ≤ 6.0.*unaffected
  • 6.1.2 to ≤ 6.1.*unaffected
  • 6.2 to ≤ *unaffected

References