CVE-2024-53231Published Dec 27, 2024 · Dec 27Updated Oct 28
cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()
cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference.
From the CVE record · Linux
The Linux kernel’s CPPC cpufreq code may dereference a null pointer when cpufreq_cpu_get_raw() is called for a CPU outside the policy’s CPU mask. The input does not describe how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Engineers running the Linux kernel should check their versions; affected versions are not specified in the input.