aboutsummaryrefslogtreecommitdiff
path: root/drivers/cpufreq/davinci-cpufreq.c
diff options
context:
space:
mode:
authorGravatar Wen Yang <wen.yang99@zte.com.cn> 2019-07-17 11:55:04 +0800
committerGravatar Rafael J. Wysocki <rafael.j.wysocki@intel.com> 2019-07-23 09:49:10 +0200
commite0a12445d1cb186d875410d093a00d215bec6a89 (patch)
treef7c1d0a994545415e0891685123161feb2754df5 /drivers/cpufreq/davinci-cpufreq.c
parentLinus 5.3-rc1 (diff)
downloadlinux-e0a12445d1cb186d875410d093a00d215bec6a89.tar.gz
linux-e0a12445d1cb186d875410d093a00d215bec6a89.tar.bz2
linux-e0a12445d1cb186d875410d093a00d215bec6a89.zip
cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
The cpu variable is still being used in the of_get_property() call after the of_node_put() call, which may result in use-after-free. Fixes: a9acc26b75f6 ("cpufreq/pasemi: fix possible object reference leak") Signed-off-by: Wen Yang <wen.yang99@zte.com.cn> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/davinci-cpufreq.c')
0 files changed, 0 insertions, 0 deletions