# CVE-2024-53230: cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/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): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-12-27T13:50:18.238Z
- Modified: 2026-06-17T08:08:39.233Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before 1975b481f644f8f841d9c188e3c214fce187f18b; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before f05ef81db63889f6f14eb77fd140dac6cedb6f7f; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before afd22d9839359829776abb55cc9bc4946e888704; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before 6be57617a38b3f33266acecdb3c063c1c079aaf7; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before 1a1374bb8c5926674973d849feed500bc61ad535; 5.19 (not affected: before 5.19; from 6.1.120 up to 6.1.*; from 6.6.64 up to 6.6.*; from 6.11.11 up to 6.11.*; from 6.12.2 up to 6.12.*; from 6.13 up to *)
- linux linux_kernel: from 5.19 before 6.1.120; from 6.2 before 6.6.64; from 6.7 before 6.11.11; from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/1975b481f644f8f841d9c188e3c214fce187f18b> (patch)
- <https://git.kernel.org/stable/c/f05ef81db63889f6f14eb77fd140dac6cedb6f7f> (patch)
- <https://git.kernel.org/stable/c/afd22d9839359829776abb55cc9bc4946e888704> (patch)
- <https://git.kernel.org/stable/c/6be57617a38b3f33266acecdb3c063c1c079aaf7> (patch)
- <https://git.kernel.org/stable/c/1a1374bb8c5926674973d849feed500bc61ad535> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

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

---

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