[PATCH] cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
Markus Elfring
Markus.Elfring at web.de
Mon Apr 7 02:06:08 PDT 2025
> cpufreq_cpu_get_raw() can return NULL when the target CPU is not present
> in the policy->cpus mask. scpi_cpufreq_get_rate() does not check for
> this case, which results in a NULL pointer dereference.
See also once more:
https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.15-rc1#n94
Can any other summary phrase variant become more desirable accordingly?
Regards,
Markus
More information about the linux-arm-kernel
mailing list