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

Fri, 27 Dec 2024 14:00:00 +0000

Type Values Removed Values Added
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().
Title cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-12-27T13:50:18.238Z

Updated: 2024-12-27T13:50:18.238Z

Reserved: 2024-11-19T17:17:25.025Z

Link: CVE-2024-53230

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2024-12-27T14:15:31.290

Modified: 2024-12-27T14:15:31.290

Link: CVE-2024-53230

cve-icon Redhat

No data.