[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <19977f2dbe6d25d7b38bdca4628bd1dded1142d9.camel@linux.ibm.com>
Date: Wed, 13 Jan 2021 10:16:30 -0500
From: Mimi Zohar <zohar@...ux.ibm.com>
To: Dinghao Liu <dinghao.liu@....edu.cn>, kjlu@....edu
Cc: James Morris <jmorris@...ei.org>,
"Serge E. Hallyn" <serge@...lyn.com>,
Dmitry Kasatkin <dmitry.kasatkin@...ia.com>,
linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] [v2] evm: Fix memleak in init_desc
Hi Dinghao,
On Sun, 2021-01-10 at 16:02 +0800, Dinghao Liu wrote:
> When kmalloc() fails, tmp_tfm allocated by
> crypto_alloc_shash() has not been freed, which
> leads to memleak.
>
> Fixes: d46eb3699502b ("evm: crypto hash replaced by shash")
> Signed-off-by: Dinghao Liu <dinghao.liu@....edu.cn>
This patch is now queued, with an updated patch description, in next-
integrity-testing.
thanks,
Mimi
Powered by blists - more mailing lists