[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJKOXPdGAsc=XpJXVRg+oaa1o1PXkJJ8JDAnkNkJuzJrfE_OJA@mail.gmail.com>
Date: Tue, 16 Jul 2019 11:06:13 +0200
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Wen Yang <wen.yang99@....com.cn>
Cc: sbkim73@...sung.com, s.nawrocki@...sung.com, lgirdwood@...il.com,
broonie@...nel.org, perex@...ex.cz, tiwai@...e.com,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
xue.zhihong@....com.cn, wang.yi59@....com.cn,
cheng.shengyu@....com.cn
Subject: Re: [PATCH 1/2] ASoC: samsung: odroid: fix an use-after-free issue
for codec
On Sat, 13 Jul 2019 at 05:48, Wen Yang <wen.yang99@....com.cn> wrote:
>
> The codec variable is still being used after the of_node_put() call,
> which may result in use-after-free.
>
> Fixes: bc3cf17b575a ("ASoC: samsung: odroid: Add support for secondary CPU DAI")
> Signed-off-by: Wen Yang <wen.yang99@....com.cn>
> Cc: Krzysztof Kozlowski <krzk@...nel.org>
> Cc: Sangbeom Kim <sbkim73@...sung.com>
> Cc: Sylwester Nawrocki <s.nawrocki@...sung.com>
> Cc: Liam Girdwood <lgirdwood@...il.com>
> Cc: Mark Brown <broonie@...nel.org>
> Cc: Jaroslav Kysela <perex@...ex.cz>
> Cc: Takashi Iwai <tiwai@...e.com>
> Cc: alsa-devel@...a-project.org
> Cc: linux-kernel@...r.kernel.org
> ---
> sound/soc/samsung/odroid.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
Best regards,
Krzysztof
Powered by blists - more mailing lists