All reports
Low

kernel: cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-53230

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-24

Description

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().