Skip to content
Heist/ feed
Back to feed
UnratedFix available

cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost set_boost is a per-policy function call, hence a driver wide lock is unnecessary. Also this mutex_acquire can collide with the mutex_acquire from the mode-switch path in status_store(), which can lead to a deadlock. So, remove it.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.31, 6.14.9
CVEs
CVE-2025-38038
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 00:34 UTC · Revision 1

Source evidence

cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost

core-osv · Original source

Published 18 Jun 2025, 09:33 UTC

In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost set_boost is a per-policy function call, hence a driver wide lock is unnecessary. Also this mutex_acquire can collide with the mutex_acquire from the mode-switch path in status_store(), which can lead to a deadlock. So, remove it.

osv:CVE-2025-38038

Kernel

Fixed versions: 6.12.31, 6.14.9

Complete source record
{
  "id": "a5c3a93856b2680faf4642317490c2c2b56d99cce1e7d0d520947d5bd24e6107",
  "url": "https://osv.dev/vulnerability/CVE-2025-38038",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost set_boost is a per-policy function call, hence a driver wide lock is unnecessary. Also this mutex_acquire can collide with the mutex_acquire from the mode-switch path in status_store(), which can lead to a deadlock. So, remove it.",
    "evidence": "osv:CVE-2025-38038",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.12.31",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.14.9",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2025-38038",
      "aliases": [
        "CVE-2025-38038"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ec437d71db77a181227bf6d0ac9d4a80e58ecf0f"
                },
                {
                  "fixed": "61e931ee145eeab8196e585ff4334870b130b744"
                },
                {
                  "fixed": "cd347d071713234586762d79c5a691785e9be418"
                },
                {
                  "fixed": "db1cafc77aaaf871509da06f4a864e9af6d6791f"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38038.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.17.0"
                },
                {
                  "fixed": "6.12.31"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.14.9"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38038.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:45.720414131Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/61e931ee145eeab8196e585ff4334870b130b744",
        "https://git.kernel.org/stable/c/cd347d071713234586762d79c5a691785e9be418",
        "https://git.kernel.org/stable/c/db1cafc77aaaf871509da06f4a864e9af6d6791f",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38038.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-38038",
        "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/38xxx/CVE-2025-38038.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-38038",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 513524,
  "published_at": "2025-06-18T09:33:24.178+00:00"
}