CVE-2024-53230Published Dec 27, 2024 · Dec 27Updated Oct 28
cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
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 cppc_get_cpu_cost()
cpufreq_cpu_get_raw() may return NULL if the cpu is not in policy->cpus cpu mask and it will cause null pointer dereference, so check NULL for cppc_get_cpu_cost().
From the CVE record · Linux
The Linux kernel's CPPC cpufreq code can dereference a NULL pointer in cppc_get_cpu_cost() when a CPU is not in the policy's CPU mask. The input does not specify whether an attacker can 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.