> > 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: a9acc26b75f ("cpufreq/pasemi: fix possible object reference leak") > > Signed-off-by: Wen Yang <wen.yan...@zte.com.cn> > > Cc: "Rafael J. Wysocki" <r...@rjwysocki.net> > > Cc: Viresh Kumar <viresh.ku...@linaro.org> > > Cc: linuxppc-dev@lists.ozlabs.org > > Cc: linux...@vger.kernel.org > > Cc: linux-ker...@vger.kernel.org > > --- > > drivers/cpufreq/pasemi-cpufreq.c | 10 ++++++---- > > 1 file changed, 6 insertions(+), 4 deletions(-) > > I will suggest some changes here.
Hello viresh, thank you for your comments. We will make changes as soon as possible. -- Thanks and regards, Wen