5.5medium
cpufreq: CPPC: Fix possible null-ptr-deref for cppc_get_cpu_cost()
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.24% (higher than 15% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| 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 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: cpufreq: CPPC: Se corrige la posible desreferenciación de puntero nulo para cppc_get_cpu_cost(). cpufreq_cpu_get_raw() puede devolver NULL si la CPU no está en la máscara de CPU policy->cpus y provocará una desreferenciación de puntero nulo, así que verifique NULL para cppc_get_cpu_cost().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53230 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-53230 changed 2026-06-17 | Public domain |