CVE-2022-49242
Linux kernel: ASoC mxs Refcount Leak Vulnerability
Description
In the Linux kernel, the following vulnerability has been resolved: ASoC: mxs: Fix error handling in mxs_sgtl5000_probe This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. For example, when codec_np is NULL, saif_np[0] and saif_np[1] are not NULL, it will cause leaks. of_node_put() will check if the node pointer is NULL, so we can call it directly to release the refcount of regular pointers.
INFO
Published Date :
Feb. 26, 2025, 7:01 a.m.
Last Modified :
March 17, 2025, 7:58 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-49242
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-49242
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-49242
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Mar. 17, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-Other Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.189 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.33 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.17 up to (excluding) 5.17.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.15 up to (excluding) 4.19.238 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.110 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 5.16.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.5 up to (excluding) 4.9.311 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.14.276 Added Reference Type kernel.org: https://git.kernel.org/stable/c/44acdaf7acb60054d872bed18ce0e7db8ce900ce Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/67e12f1cb2f97468c12b59e21975eaa0f332e7d2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/6ae0a4d8fec551ec581d620f0eb1fe31f755551c Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/790d2628e3fcc819d8f5572eb5615113fb2e727a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/86b6cf989437e694fd0a15782b5a513853a739e0 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8d880226c86f37624e2a5f3c6d92ac0ec3375f96 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/d2923b48d99fe663cb93d8b481c93299fcd68656 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f16ad2c0e22687f80e5981c67374023f51c204b9 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/f8d38056bcd220ea6f0802a5586d1a12ebcce849 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Feb. 26, 2025
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: ASoC: mxs: Fix error handling in mxs_sgtl5000_probe This function only calls of_node_put() in the regular path. And it will cause refcount leak in error paths. For example, when codec_np is NULL, saif_np[0] and saif_np[1] are not NULL, it will cause leaks. of_node_put() will check if the node pointer is NULL, so we can call it directly to release the refcount of regular pointers. Added Reference https://git.kernel.org/stable/c/44acdaf7acb60054d872bed18ce0e7db8ce900ce Added Reference https://git.kernel.org/stable/c/67e12f1cb2f97468c12b59e21975eaa0f332e7d2 Added Reference https://git.kernel.org/stable/c/6ae0a4d8fec551ec581d620f0eb1fe31f755551c Added Reference https://git.kernel.org/stable/c/790d2628e3fcc819d8f5572eb5615113fb2e727a Added Reference https://git.kernel.org/stable/c/86b6cf989437e694fd0a15782b5a513853a739e0 Added Reference https://git.kernel.org/stable/c/8d880226c86f37624e2a5f3c6d92ac0ec3375f96 Added Reference https://git.kernel.org/stable/c/d2923b48d99fe663cb93d8b481c93299fcd68656 Added Reference https://git.kernel.org/stable/c/f16ad2c0e22687f80e5981c67374023f51c204b9 Added Reference https://git.kernel.org/stable/c/f8d38056bcd220ea6f0802a5586d1a12ebcce849
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-49242
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-49242
weaknesses.