Skip to content
Heist/ feed
Back to feed
UnratedFix available

cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.237, 5.15.181, 5.4.293, 6.1.136, 6.12.26, 6.14.5, 6.6.89
CVEs
CVE-2025-37829
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:29 UTC · Revision 1

Source evidence

cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()

core-osv · Original source

Published 8 May 2025, 06:26 UTC

In the Linux kernel, the following vulnerability has been resolved: cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.

osv:CVE-2025-37829

Kernel

Fixed versions: 5.4.293, 5.10.237, 5.15.181, 6.1.136, 6.6.89, 6.12.26, 6.14.5

Complete source record
{
  "id": "1d4b15506c71768039861df6a95519a0f1c34ba3be79e82bad318cc6e9031a32",
  "url": "https://osv.dev/vulnerability/CVE-2025-37829",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate() cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.",
    "evidence": "osv:CVE-2025-37829",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.4.293",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.237",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.181",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.136",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.89",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.26",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-37829",
      "aliases": [
        "CVE-2025-37829"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "343a8d17fa8d6dd97f408e8fedbcef12073f3774"
                },
                {
                  "fixed": "ad4796f2da495b2cbbd0fccccbcbf63f2aeee613"
                },
                {
                  "fixed": "fdf035d9c5436536ffcfea0ac6adeb5dda3c3a23"
                },
                {
                  "fixed": "8fbaa76690f67a7cbad315f89d607b46e3e06ede"
                },
                {
                  "fixed": "da8ee91e532486055ecf88478d38c2f3dc234182"
                },
                {
                  "fixed": "19e0eaa62e8831f2bc0285fef3bf8faaa7f3e09b"
                },
                {
                  "fixed": "28fbd7b13b4d3074b16db913aedc9d8d37ab41e7"
                },
                {
                  "fixed": "124bddf123311cd1f18bffd63a5d974468d59c67"
                },
                {
                  "fixed": "73b24dc731731edf762f9454552cb3a5b7224949"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37829.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.16.0"
                },
                {
                  "fixed": "5.4.293"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.237"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.181"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.136"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.89"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.26"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-37829.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.079003071Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/124bddf123311cd1f18bffd63a5d974468d59c67",
        "https://git.kernel.org/stable/c/19e0eaa62e8831f2bc0285fef3bf8faaa7f3e09b",
        "https://git.kernel.org/stable/c/28fbd7b13b4d3074b16db913aedc9d8d37ab41e7",
        "https://git.kernel.org/stable/c/73b24dc731731edf762f9454552cb3a5b7224949",
        "https://git.kernel.org/stable/c/8fbaa76690f67a7cbad315f89d607b46e3e06ede",
        "https://git.kernel.org/stable/c/ad4796f2da495b2cbbd0fccccbcbf63f2aeee613",
        "https://git.kernel.org/stable/c/da8ee91e532486055ecf88478d38c2f3dc234182",
        "https://git.kernel.org/stable/c/fdf035d9c5436536ffcfea0ac6adeb5dda3c3a23",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html",
        "https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/37xxx/CVE-2025-37829.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-37829",
        "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/2025/37xxx/CVE-2025-37829.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-37829",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 504052,
  "published_at": "2025-05-08T06:26:21.061+00:00"
}