diff options
author | 2019-07-17 11:55:04 +0800 | |
---|---|---|
committer | 2019-07-23 09:49:10 +0200 | |
commit | e0a12445d1cb186d875410d093a00d215bec6a89 (patch) | |
tree | f7c1d0a994545415e0891685123161feb2754df5 /drivers/cpufreq/s3c2412-cpufreq.c | |
parent | Linus 5.3-rc1 (diff) | |
download | linux-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/s3c2412-cpufreq.c')
0 files changed, 0 insertions, 0 deletions