[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100703-CVE-2023-53664-a38d@gregkh>
Date: Tue, 7 Oct 2025 17:21:23 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-53664: OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()
"opp" pointer is dereferenced before the IS_ERR_OR_NULL() check. Fix it by
removing the dereference to cache opp_table and dereference it directly
where opp_table is used.
This fixes the following smatch warning:
drivers/opp/core.c:232 dev_pm_opp_get_required_pstate() warn: variable
dereferenced before IS_ERR check 'opp' (see line 230)
The Linux kernel CVE team has assigned CVE-2023-53664 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.5 with commit 84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707 and fixed in 6.5.3 with commit 25130b27e0352acb83e91c467853eb9afad3b644
Issue introduced in 6.5 with commit 84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707 and fixed in 6.6 with commit 7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5
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-2023-53664
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/opp/core.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/25130b27e0352acb83e91c467853eb9afad3b644
https://git.kernel.org/stable/c/7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5
Powered by blists - more mailing lists