[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025061808-CVE-2022-50113-bdef@gregkh>
Date: Wed, 18 Jun 2025 13:02:58 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50113: ASoc: audio-graph-card2: Fix refcount leak bug in __graph_get_type()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ASoc: audio-graph-card2: Fix refcount leak bug in __graph_get_type()
We should call of_node_put() for the reference before its replacement
as it returned by of_get_parent() which has increased the refcount.
Besides, we should also call of_node_put() before return.
The Linux kernel CVE team has assigned CVE-2022-50113 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.16 with commit c8c74939f791ccbbfff988aec5f929374dbef2a6 and fixed in 5.18.18 with commit 3bb0c0b5f0f866fc3785380e0860dc37ceacf342
Issue introduced in 5.16 with commit c8c74939f791ccbbfff988aec5f929374dbef2a6 and fixed in 5.19.2 with commit 7a63a8c253bf57dfd9fa3ee2a7f1a3727505f947
Issue introduced in 5.16 with commit c8c74939f791ccbbfff988aec5f929374dbef2a6 and fixed in 6.0 with commit eda26893dabfc6da7a1e1ff5f8628ed9faab3ab9
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2022-50113
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
sound/soc/generic/audio-graph-card2.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
https://git.kernel.org/stable/c/3bb0c0b5f0f866fc3785380e0860dc37ceacf342
https://git.kernel.org/stable/c/7a63a8c253bf57dfd9fa3ee2a7f1a3727505f947
https://git.kernel.org/stable/c/eda26893dabfc6da7a1e1ff5f8628ed9faab3ab9
Powered by blists - more mailing lists