CVE-2024-50009Published Oct 21, 2024 · Oct 21Updated Nov 1
cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
Linux
Medium5.5Fix available
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 |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: amd-pstate: add check for cpufreq_cpu_get's return value
cpufreq_cpu_get may return NULL. To avoid NULL-dereference check it and return in case of error.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel’s amd-pstate cpufreq code can dereference a NULL pointer if cpufreq_cpu_get returns NULL. The input does not describe how an attacker could trigger this condition or specify network access, authentication, or user interaction requirements.
Engineers running the Linux kernel should check their installations; affected versions are not specified.