cpufreq: amd-pstate: Remove unnecessary driver_lock in set_boost
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.316.14.96.15In 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.
From the CVE record · Linux
The Linux kernel’s amd-pstate set_boost function takes an unnecessary driver-wide lock. This lock can collide with a lock taken during a mode switch in status_store(), causing a deadlock. The input does not specify an attacker, access requirements, or user interaction.
Engineers running the Linux kernel with amd-pstate should check their systems; affected versions are not specified.