[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122414-CVE-2022-50713-24cc@gregkh>
Date: Wed, 24 Dec 2025 13:26:12 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50713: clk: visconti: Fix memory leak in visconti_register_pll()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
clk: visconti: Fix memory leak in visconti_register_pll()
@pll->rate_table has allocated memory by kmemdup(), if clk_hw_register()
fails, it should be freed, otherwise it will cause memory leak issue,
this patch fixes it.
The Linux kernel CVE team has assigned CVE-2022-50713 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.0.16 with commit 70af9bf13be1716eac452c8a29ce6fe6b957a5db
Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.1.2 with commit f0f1982ddfb418bf7bf05dadebae5c6869a41d41
Issue introduced in 5.17 with commit b4cbe606dc3674b25cb661e7cd1a1c6ddaaafaaa and fixed in 6.2 with commit b55226f8553d255f5002c751c7c6ba9291f34bf2
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-50713
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:
drivers/clk/visconti/pll.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/70af9bf13be1716eac452c8a29ce6fe6b957a5db
https://git.kernel.org/stable/c/f0f1982ddfb418bf7bf05dadebae5c6869a41d41
https://git.kernel.org/stable/c/b55226f8553d255f5002c751c7c6ba9291f34bf2
Powered by blists - more mailing lists