Skip to content
Commit 8cbd468b authored by Yangtao Li's avatar Yangtao Li Committed by Rafael J. Wysocki
Browse files

cpufreq: scmi: Fix use-after-free in scmi_cpufreq_exit()



This issue was detected with the help of Coccinelle. So
change the order of function calls to fix it.

Fixes: 1690d8bb (cpufreq: scpi/scmi: Fix freeing of dynamic OPPs)

Signed-off-by: default avatarYangtao Li <tiny.windzz@gmail.com>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Acked-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Cc: 4.20+ <stable@vger.kernel.org> # 4.20+
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent a3b22b9f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment