← CVE Intelligence

CVE-2024-38573

cppc_cpufreq: Fix possible null pointer dereference PUBLISHED

Description (CNA)

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

Vendor / productVersions
Linux / Linuxaffected a28b2bfc099c6b9caa6ef697660408e076a32019 before 9a185cc5a79ba408e1c73375706630662304f618; affected a28b2bfc099c6b9caa6ef697660408e076a32019 before 769c4f355b7962895205b86ad35617873feef9a5; affected a28b2bfc099c6b9caa6ef697660408e076a32019 before f84b9b25d045e67a7eee5e73f21278c8ab06713c; affected a28b2bfc099c6b9caa6ef697660408e076a32019 before b18daa4ec727c0266de5bfc78e818d168cc4aedf; affected a28b2bfc099c6b9caa6ef697660408e076a32019 before dfec15222529d22b15e5b0d63572a9e39570cab4; affected a28b2bfc099c6b9caa6ef697660408e076a32019 before cf7de25878a1f4508c69dc9f6819c21ba177dbfe
Linux / Linuxaffected 5.11; unaffected 0 before 5.11; unaffected 5.15.161 through 5.15.*; unaffected 6.1.93 through 6.1.*; unaffected 6.6.33 through 6.6.*; unaffected 6.8.12 through 6.8.*; unaffected 6.9.3 through 6.9.*; unaffected 6.10 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

CVE

No English description supplied.