CVE-2025-38038

published 18 Jun 2025 · updated 11 May 2026

cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost

7.0HighCVSS 7.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 61e931ee145eeab8196e585ff4334870b130b744, Kernel cd347d071713234586762d79c5a691785e9be418 and Kernel db1cafc77aaaf871509da06f4a864e9af6d6791f.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.17, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <61e931ee145eeab8196e585ff4334870b130b744, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <cd347d071713234586762d79c5a691785e9be418, >=ec437d71db77a181227bf6d0ac9d4a80e58ecf0f <db1cafc77aaaf871509da06f4a864e9af6d6791f61e931ee145eeab8196e585ff4334870b130b744, cd347d071713234586762d79c5a691785e9be418, db1cafc77aaaf871509da06f4a864e9af6d6791f

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38038 severity on Zeptric[![CVE-2025-38038](https://zeptric.io/badge/cve/CVE-2025-38038.svg)](https://zeptric.io/cve/CVE-2025-38038)