diff options
author | 2025-04-08 23:03:54 +0800 | |
---|---|---|
committer | 2025-04-10 10:09:03 +0530 | |
commit | 73b24dc731731edf762f9454552cb3a5b7224949 (patch) | |
tree | 543039f97a966d8b3d3eb8c2702e34654aa659c9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cpufreq: scmi: Fix null-ptr-deref in scmi_cpufreq_get_rate() (diff) | |
download | linux-rng-73b24dc731731edf762f9454552cb3a5b7224949.tar.xz linux-rng-73b24dc731731edf762f9454552cb3a5b7224949.zip |
cpufreq: scpi: Fix null-ptr-deref in scpi_cpufreq_get_rate()
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.
Fixes: 343a8d17fa8d ("cpufreq: scpi: remove arm_big_little dependency")
Signed-off-by: Henry Martin <bsdhenrymartin@gmail.com>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions