CVE-2025-38038

cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost

State
Published
Severity
Not scored
Published
Jun 18, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before 61e931ee145eeab8196e585ff4334870b130b744Affected
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before cd347d071713234586762d79c5a691785e9be418Affected
  • ec437d71db77a181227bf6d0ac9d4a80e58ecf0f to before db1cafc77aaaf871509da06f4a864e9af6d6791fAffected
LinuxLinux
  • 5.17Affected
  • before 5.17Not affected
  • 6.12.31 through 6.12.*Not affected
  • 6.14.9 through 6.14.*Not affected
  • 6.15 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.