# CVE-2024-53231: cpufreq: CPPC: Fix possible null-ptr-deref for cpufreq_cpu_get_raw()

- 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.899Z
- Modified: 2026-06-17T08:08:39.400Z
- 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 cpufreq_cpu_get_raw()

cpufreq_cpu_get_raw() may return NULL if the cpu is not in
policy->cpus cpu mask and it will cause null pointer dereference.

(As written by CVE List.)

## Affected

- Linux Linux: from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before a357b63fd21e4b2791008c2175ba7a8c235ebce1; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before e07570a8f2cfc51260c6266cb8e1bd4777a610d6; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before e9b39f1924b76abc18881e4ce899fb232dd23d12; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before 65fe2f7fdafe2698a343661800434b3f2e51041e; from 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae before a78e7207564258db6e373e86294a85f9d646d35a; 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/a357b63fd21e4b2791008c2175ba7a8c235ebce1> (patch)
- <https://git.kernel.org/stable/c/e07570a8f2cfc51260c6266cb8e1bd4777a610d6> (patch)
- <https://git.kernel.org/stable/c/e9b39f1924b76abc18881e4ce899fb232dd23d12> (patch)
- <https://git.kernel.org/stable/c/65fe2f7fdafe2698a343661800434b3f2e51041e> (patch)
- <https://git.kernel.org/stable/c/a78e7207564258db6e373e86294a85f9d646d35a> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Sources

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

---

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