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

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.44%, higher than 73% of CVEs (2026-11-30)
- Published: 2024-06-19T13:35:38.334Z
- Modified: 2026-06-17T07:40:36.767Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from a28b2bfc099c6b9caa6ef697660408e076a32019 before 9a185cc5a79ba408e1c73375706630662304f618; from a28b2bfc099c6b9caa6ef697660408e076a32019 before 769c4f355b7962895205b86ad35617873feef9a5; from a28b2bfc099c6b9caa6ef697660408e076a32019 before f84b9b25d045e67a7eee5e73f21278c8ab06713c; from a28b2bfc099c6b9caa6ef697660408e076a32019 before b18daa4ec727c0266de5bfc78e818d168cc4aedf; from a28b2bfc099c6b9caa6ef697660408e076a32019 before dfec15222529d22b15e5b0d63572a9e39570cab4; from a28b2bfc099c6b9caa6ef697660408e076a32019 before cf7de25878a1f4508c69dc9f6819c21ba177dbfe; 5.11 (not affected: before 5.11; from 5.15.161 up to 5.15.*; from 6.1.93 up to 6.1.*; from 6.6.33 up to 6.6.*; from 6.8.12 up to 6.8.*; from 6.9.3 up to 6.9.*; from 6.10 up to *)
- linux linux_kernel: from a28b2bfc099c before 9a185cc5a79b; from a28b2bfc099c before 769c4f355b79; from a28b2bfc099c before f84b9b25d045; from a28b2bfc099c before b18daa4ec727; from a28b2bfc099c before dfec15222529; 5.11; from 5.11 before 5.15.161; from 5.16 before 6.1.93; from 6.2 before 6.6.33; from 6.7 before 6.8.12; from 6.9 before 6.9.3 (not affected: before 5.11; from 5.15.161 up to 5.16; from 6.1.93 up to 6.2; from 6.6.33 up to 6.7; from 6.8.12 up to 6.9; from 6.9.3 up to 6.10; 6.10-rc1)
- linux acrn: from a28b2bfc099c before cf7de25878a1

## References

- <https://git.kernel.org/stable/c/9a185cc5a79ba408e1c73375706630662304f618> (patch)
- <https://git.kernel.org/stable/c/769c4f355b7962895205b86ad35617873feef9a5> (patch)
- <https://git.kernel.org/stable/c/f84b9b25d045e67a7eee5e73f21278c8ab06713c> (patch)
- <https://git.kernel.org/stable/c/b18daa4ec727c0266de5bfc78e818d168cc4aedf> (patch)
- <https://git.kernel.org/stable/c/dfec15222529d22b15e5b0d63572a9e39570cab4> (patch)
- <https://git.kernel.org/stable/c/cf7de25878a1f4508c69dc9f6819c21ba177dbfe> (patch)

## Sources

- CVE List: [CVE-2024-38573](https://www.cve.org/CVERecord?id=CVE-2024-38573), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-38573](https://nvd.nist.gov/vuln/detail/CVE-2024-38573), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-38573 · Whole record: https://cve.day/CVE-2024-38573.json · Rebuilt by cve.day 2026-11-25T22:58:42.022Z
