What’s Vulnerable › Vulnerabilities

CVE-2024-38573: cppc_cpufreq: Fix possible null pointer dereference

Description

In the Linux kernel, the following vulnerability has been resolved: cppc_cpufreq: Fix possible null pointer dereference cppc_cpufreq_get_rate() and hisi_cppc_cpufreq_get_rate() can be called from different places with various parameters. So cpufreq_cpu_get() can return null as 'policy' in some circumstances. Fix this bug by adding null return check. Found by Linux Verification Center (linuxtesting.org) with SVACE.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.161, 6.1.93, 6.6.33, 6.8.12. Check the vendor advisory for mitigations.

References

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