diff options
| author | Wen Yang <wen.yang99@zte.com.cn> | 2019-07-17 11:55:04 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-08-25 10:52:47 +0200 |
| commit | e1c7e4efbbf873fcb9000dfd5f506a501d034cdc (patch) | |
| tree | a4de0423748369b044541d86f88c8e009fa1a3c1 /include | |
| parent | dad7a5085fe967cf7b9be9f1d7d3fe8a82920250 (diff) | |
cpufreq/pasemi: fix use-after-free in pas_cpufreq_cpu_init()
[ Upstream commit e0a12445d1cb186d875410d093a00d215bec6a89 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
