In the Linux kernel, the following vulnerability has been resolved:
cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate()
cpufreq_cpu_get_raw() can return NULL when the target CPU is not present in the policy->cpus mask. scmi_cpufreq_get_rate() does not check for this case, which results in a NULL pointer dereference.
Add NULL check after cpufreq_cpu_get_raw() to prevent this issue.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 4.17 | 5.15.181 |
| linux / linux_kernel | 5.16 | 6.1.136 |
| linux / linux_kernel | 6.2 | 6.6.89 |
| linux / linux_kernel | 6.7 | 6.12.26 |
| linux / linux_kernel | 6.13 | 6.14.5 |
| linux / linux_kernel | 6.15-rc1 | 6.15-rc1.x |
| linux / linux_kernel | 6.15-rc2 | 6.15-rc2.x |
| linux / linux_kernel | 6.15-rc3 | 6.15-rc3.x |
| debian / debian_linux | 11.0 | 11.0.x |