# CVE-2025-38038: cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-06-18T09:33:24.178Z
- Modified: 2026-06-17T09:15:55.790Z
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 5.17 before 6.12.31; from 6.13 before 6.14.9

## References

- <https://git.kernel.org/stable/c/61e931ee145eeab8196e585ff4334870b130b744> (patch)
- <https://git.kernel.org/stable/c/cd347d071713234586762d79c5a691785e9be418> (patch)
- <https://git.kernel.org/stable/c/db1cafc77aaaf871509da06f4a864e9af6d6791f> (patch)

## Sources

- CVE List: [CVE-2025-38038](https://www.cve.org/CVERecord?id=CVE-2025-38038), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38038](https://nvd.nist.gov/vuln/detail/CVE-2025-38038), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38038 · Whole record: https://cve.day/CVE-2025-38038.json · Rebuilt by cve.day 2026-11-25T22:58:59.352Z
