Skip to content
Heist/ feed
Back to feed
UnratedFix available

OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()

Type: advisorySources: OSV

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)

Products
Kernel
Affected versions
Not specified
Fixed versions
6.5.3
CVEs
CVE-2023-53664
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:57 UTC · Revision 1

Source evidence

OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()

core-osv · Original source

Published 7 Oct 2025, 15:21 UTC

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)

osv:CVE-2023-53664

Kernel

Fixed versions: 6.5.3

Complete source record
{
  "id": "2c5a9543934949f47fa1f992f7c9467a7f97580516c9a4948ad7be988ddcc8a9",
  "url": "https://osv.dev/vulnerability/CVE-2023-53664",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "OPP: Fix potential null ptr dereference in dev_pm_opp_get_required_pstate()",
    "summary": "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)",
    "evidence": "osv:CVE-2023-53664",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.5.3",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53664",
      "aliases": [
        "CVE-2023-53664"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "84cb7ff35fcf7c0b552f553a3f2db9c3e92fc707"
                },
                {
                  "fixed": "25130b27e0352acb83e91c467853eb9afad3b644"
                },
                {
                  "fixed": "7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53664.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.5.0"
                },
                {
                  "fixed": "6.5.3"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53664.json"
          }
        }
      ],
      "modified": "2026-10-30T02:30:59.173633631Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/25130b27e0352acb83e91c467853eb9afad3b644",
        "https://git.kernel.org/stable/c/7ddd8deb1c3c0363a7e14fafb5df26e2089a69a5",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53664.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53664",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53664.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53664",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 502219,
  "published_at": "2025-10-07T15:21:23.127+00:00"
}