CVE-2023-53664

OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()

State
Published
Severity
Not scored
Published
Oct 7, 2025
Updated
May 11, 2026
Reserved
Oct 7, 2025

Read the record on cve.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)

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707 to before 25130b27e0352acb83e91c467853eb9afad3b644Affected
  • 84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707 to before 7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.5.3 through 6.5.*Not affected
  • 6.6 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.