# CVE-2023-53664: OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2025-10-07T15:21:23.127Z
- Modified: 2026-10-28T20:10:00.163Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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)

(As written by CVE List.)

## Affected

- Linux Linux: from 84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707 before 25130b27e0352acb83e91c467853eb9afad3b644; from 84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707 before 7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5; 6.5 (not affected: before 6.5; from 6.5.3 up to 6.5.*; from 6.6 up to *)
- linux linux_kernel: from 6.5 before 6.5.3

## References

- <https://git.kernel.org/stable/c/25130b27e0352acb83e91c467853eb9afad3b644> (patch)
- <https://git.kernel.org/stable/c/7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5> (patch)

## Sources

- CVE List: [CVE-2023-53664](https://www.cve.org/CVERecord?id=CVE-2023-53664), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-53664](https://nvd.nist.gov/vuln/detail/CVE-2023-53664), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2023-53664 · Whole record: https://cve.day/CVE-2023-53664.json · Rebuilt by cve.day 2026-11-25T22:58:34.992Z
