CVE-2024-53230

cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()

State
Published
Severity
5.5 Medium
Published
Dec 27, 2024
Updated
May 11, 2026
Reserved
Nov 19, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae to before 1975b481f644f8f841d9c188e3c214fce187f18bAffected
  • 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae to before f05ef81db63889f6f14eb77fd140dac6cedb6f7fAffected
  • 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae to before afd22d9839359829776abb55cc9bc4946e888704Affected
  • 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae to before 6be57617a38b3f33266acecdb3c063c1c079aaf7Affected
  • 740fcdc2c20ecf855b36b919d7fa1b872b5a7eae to before 1a1374bb8c5926674973d849feed500bc61ad535Affected
LinuxLinux
  • 5.19Affected
  • before 5.19Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.11.11 through 6.11.*Not affected
  • 6.12.2 through 6.12.*Not affected
  • 6.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.