CVE-2025-38038
kernel: Linux kernel: Denial of Service in amd-pstate cpufreq driver via deadlock
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · June 18, 2025
Updated · June 30, 2026
Description
A flaw was found in the Linux kernel. A local user could trigger a deadlock in the cpufreq: amd-pstate driver. This occurs when a lock intended for per-policy function calls conflicts with another lock during a mode-switch operation. This vulnerability can lead to a system hang, resulting in a Denial of Service (DoS).
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
To mitigate this issue, the amd-pstate kernel module can be prevented from loading. This may impact CPU frequency scaling and power management on systems with AMD processors.
To blacklist the module, create a file named /etc/modprobe.d/blacklist-amd-pstate.conf with the following content:
blacklist amd-pstate
After creating the file, regenerate the initramfs and reboot the system for the changes to take effect.
dracut -f -v
A system reboot is required for the blacklist to be fully applied.
CVSS / CWE
CVSS 3.1 · 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE-833 · Deadlock