5.5medium
cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before 61e931ee145eeab8196e585ff4334870b130b744, from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before cd347d071713234586762d79c5a691785e9be418, from ec437d71db77a181227bf6d0ac9d4a80e58ecf0f before db1cafc77aaaf871509da06f4a864e9af6d6791f, 5.17 Not affected: before 5.17, from 6.12.31 up to 6.12.*, from 6.14.9 up to 6.14.*, from 6.15 up to * | CVE List |
| linux linux_kernel | from 5.17 before 6.12.31, from 6.13 before 6.14.9 | NVD |
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cpufreq: amd-pstate: Eliminar driver_lock innecesario en set_boost. set_boost es una llamada a función por política, por lo que no es necesario un bloqueo a nivel de controlador. Además, este mutex_acquire puede colisionar con el mutex_acquire de la ruta de cambio de modo en status_store(), lo que puede provocar un interbloqueo. Por lo tanto, elimínelo.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-38038 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2025-38038 changed 2026-06-17 | Public domain |