← Back to CVE Explorer

CVE-2026-92492

Full vulnerability record from the local CVENow database.

Description

In the Linux kernel, the following vulnerability has been resolved: cpufreq/amd-pstate: handle missing policy in dynamic EPP callbacks cpufreq_cpu_get() returns NULL when no cpufreq policy is associated with the requested CPU, for example because the CPU is offline or the policy has already been torn down. Both amd_pstate_power_supply_notifier() and amd_pstate_profile_set() acquire a policy via cpufreq_cpu_get() and then pass that pointer to amd_pstate_get_balanced_epp() and amd_pstate_set_epp(), which dereference it unconditionally. A racing CPU hotplug or driver teardown can therefore lead to a NULL pointer dereference on either of these dynamic EPP paths. The third cpufreq_cpu_get() caller in this file, amd_pstate_verify(), already handles the NULL case. Bring the two new callers in line with that pattern: return NOTIFY_OK from the power-supply notifier (matching the other "nothing to do" exits) and -ENODEV from amd_pstate_profile_set() (the usual cpufreq error for a missing CPU policy). Found by code inspection; not tested on hardware.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-17 17:17:51.340000
Last modified
2026-10-19 09:19:39.477000
View original CVE JSON
{
  "id": "CVE-2026-92492",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-17T17:17:51.340",
  "lastModified": "2026-10-19T09:19:39.477",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ncpufreq/amd-pstate: handle missing policy in dynamic EPP callbacks\n\ncpufreq_cpu_get() returns NULL when no cpufreq policy is associated with\nthe requested CPU, for example because the CPU is offline or the policy\nhas already been torn down.  Both amd_pstate_power_supply_notifier() and\namd_pstate_profile_set() acquire a policy via cpufreq_cpu_get() and then\npass that pointer to amd_pstate_get_balanced_epp() and\namd_pstate_set_epp(), which dereference it unconditionally.  A racing\nCPU hotplug or driver teardown can therefore lead to a NULL pointer\ndereference on either of these dynamic EPP paths.\n\nThe third cpufreq_cpu_get() caller in this file, amd_pstate_verify(),\nalready handles the NULL case.  Bring the two new callers in line with\nthat pattern: return NOTIFY_OK from the power-supply notifier (matching\nthe other \"nothing to do\" exits) and -ENODEV from amd_pstate_profile_set()\n(the usual cpufreq error for a missing CPU policy).\n\nFound by code inspection; not tested on hardware."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/cpufreq/amd-pstate.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "471d6659925aa0dcb4ab2520fa5ee3f49dfeab22",
              "lessThan": "70c8c8b50d80f681f50ddcc66a9400dd87508913",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e30ca6dd5345c5b8ba05f346a8e81105352fe571",
              "lessThan": "f4ade8d224756ab69f108204dde6777bac4664e4",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "e30ca6dd5345c5b8ba05f346a8e81105352fe571",
              "lessThan": "39c0cf62fc7851a17782e7efe8dfb2948739c681",
              "versionType": "git",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/cpufreq/amd-pstate.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "7.1",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "7.1",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.6",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/39c0cf62fc7851a17782e7efe8dfb2948739c681",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/70c8c8b50d80f681f50ddcc66a9400dd87508913",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f4ade8d224756ab69f108204dde6777bac4664e4",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}