What’s Vulnerable › Vulnerabilities

CVE-2024-53231: cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.120, 6.11.11, 6.12.2, 6.6.64. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-53231 or the next vulnerability affects your stack